body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f9f9f9;
}

/*  Hero Section */
.hero {
  margin: 30px auto;  
  height: 60vh;
  width: 90%;
  border-radius: 10px;
  background: url("images/sailboat-9597523_1280.jpg") center/cover no-repeat;
  background-position: center;
  display: flex;
  justify-content: left;
  align-items: center;
  text-align: left;
  color: white;
}
.hero-content{
    margin-left: 22px;
}
.hero-content h1 {
  font-size: 2.5rem;
}
.hero-content p {
  font-size: 1.2rem;
}
.hero-btn {
  display: inline-block;
  margin-top: 10px;
  background: #ff2828;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}
.hero-btn:hover {
  background: #ff2828;
}

/*  Title */
.title {
  text-align: center;
  margin-top: 20px;
  font-size: 28px;
}

/*  Filter Buttons */
.filter-buttons {
  text-align: center;
  margin: 20px 0;
}
.filter-btn {
  padding: 8px 15px;
  border: none;
  margin: 5px;
  cursor: pointer;
  background: #ddd;
  border-radius: 5px;
  transition: 0.3s;
}
.filter-btn.active,
.filter-btn:hover {
  background: #ff2828;
  color: white;
}

/*  Gallery Grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  padding: 20px;
}
.gallery-item {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
.gallery-item img {
  
  width: 100%;
  height: 220px;        
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s;
}
.gallery-item img:hover {
  transform: scale(1.05);
}
.gallery-item.hidden {
  display: none;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}
.lightbox img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
}
.lightbox .close {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

/*  Prev/Next Buttons */
.lightbox .prev,
.lightbox .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
}
.lightbox .prev { left: 40px; }
.lightbox .next { right: 40px; }
