* {
  font-family: "Figtree", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Figtree", sans-serif;
  color: #333;
  line-height: 1.6;
}


.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s forwards; 
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}





/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  background: url("hero/hero.webp")
    no-repeat center center/cover;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  color: white;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  animation-delay: 0.3s;
}

/* Button */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: white;
  color: black;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
  animation-delay: 0.5s;
}

.btn:hover {
  background: #f1f1f1;
}






/* About Our Yacht Section */
.about {
  padding: 80px 20px;
  text-align: center;
  background: #f9f9f9;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #21262a;
}

.about p {
  text-align: justify; 
  max-width: 600px;
  margin: auto;
  font-size: 1.1rem;
  color: #21262a;
}







/* Our Trip Section */
.about-trip {
  padding: 90px 20px;
  text-align: center;
  background: #f9f9f9;
}

.about-trip h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.about-trip p {
  text-align: justify; 
  max-width: 600px;
  margin: auto;
  font-size: 1.1rem;
  color: white;
}

.bg{
  background: radial-gradient(circle, #00102e, 70%, #00308a);
}







/* Gallery slider*/
.gallery {
  text-align: center;
}

.gallery h2 {
  margin-top: 80px;
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #21262a;
}

.gallery img {
  padding-left: 10px;
  padding-right: 10px;
  width: 90%;
  margin-bottom: 36px;
}

@media (max-width: 480px) {
  .gallery img {
    padding-left: 8px;
    padding-right: 8px;
    width: 100%;
  }
}





/* Gallery grid*/
.gallery-container-grid {
  padding: 50px 20px;
  text-align: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-container-grid h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.gallery-video{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: repeat(6, auto); 
  gap: 4px;
}

.gallery-item.large {
  grid-row: span 2; 
}

.gallery-item.wide {
  grid-column: span 2; 
}

.gallery-item.wide.large {
  grid-column: span 2;
  grid-row: span 2; 
}

/* Overlay */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image */
.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

/* Close button */
.lightbox .close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Arrows */
.lightbox .prev,
.lightbox .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 20px;
}

.lightbox .prev:hover,
.lightbox .next:hover {
  background: rgba(0,0,0,0.7);
}

.lightbox .prev {
  left: 20px;
}

.lightbox .next {
  right: 20px;
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-container-grid {
    max-width: 100%;
    padding: 30px 10px; 
  }

  .gallery-item.wide,
  .gallery-item.large,
  .gallery-item.wide.large {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  .gallery-item {
    display: none;
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(7),
  .gallery-item:nth-child(8),
  .gallery-item:nth-child(10) {
    display: block;
  }
}









/* Booking */
.booking{
  padding-top: 100px;
}
.booking-title{
  display: flex;
  justify-content: center;
}

.booking form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.booking input,
.booking textarea {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  flex: 1;
}

/* Duration: input + "days" */
.duration {
  display: flex;
  align-items: center;
  gap: 10px;
}

.duration input {
  flex: 1;
}

/* Route: two inputs side by side */
.route {
  display: flex;
  gap: 10px;
}

.route input {
  flex: 1;
}
.booking label {
  display: block;
  font-weight: 600;
  margin-bottom: 2px;
  margin-top: 10px;
  font-size: 0.95rem;
  color: #333;
}

.booking input {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  width: 100%;
}

select{
  padding: 12px 15px;
  padding-right: 100px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  width: 100%;
  color: #707070;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

select.filled{
  color: black;
}

.option-black{
  color: black;
}

.dates, .route {
  display: flex;
  gap: 10px;
}

.dates div, .route div {
  flex: 1;
}

@media (max-width: 768px) {
  @media (max-width: 768px) {
  .booking form {
    padding: 0 15px; 
  }

  .dates, .route {
    flex-direction: column;
  }
}
}

.booking button {
  margin-bottom: 48px;
  margin-top: 20px;
  padding: 12px 0;
  font-size: 18px;
  border: none;
  border-radius: 10px;
  background: #001b4c;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.booking button:hover {
  background: #003391;
}

@media (max-width: 768px) {
  .route, .duration {
    flex-direction: column;
  }
}

/* Modal overlay */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

/* Modal content */
.modal-content {
  position: relative;
  background: white;
  padding: 30px 40px;
  border-radius: 15px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  animation: popup 0.3s ease;
}

/* Close button */
.close {
  position: absolute; 
  top: 10px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
}

/* Popup animation */
@keyframes popup {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}







/* Footer */
.site-footer {
  background-color: #020202;
  color: #fff;
  padding: 40px 20px;
  font-size: 0.9rem;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-container {
  display: flex;
  justify-content: center;
  max-width: 1100px;
  margin: auto;
  flex-wrap: wrap; 
  gap: 80px;
}

.footer-company-name {
  flex: 1;
  min-width: 150px;
  text-align: left;
  font-size: 30px;
}

.footer-left, .footer-right {
  flex: 1;
  min-width: 250px;
  text-align: left; 
}

.site-footer hr {
  border: 0;
  border-top: 1px solid #555;
  margin: 20px 0;
}

.site-footer .copyright {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 10px;
  color: #ccc;
}







/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(182, 182, 182, 0.5);
  backdrop-filter: blur(6px);
  padding: 10px 20px;
  display: flex;
  justify-content: center; 
  align-items: center;
  z-index: 1000;
  gap: 40px;
}

/* Logo */
.site-header .logo img {
  max-height: 60px;
  display: block;
}

/* Navigation */
.nav {
  display: flex;
  gap: 25px;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s;
}

.nav a:hover {
  color: #000;
}

/* Burger menu button */
.burger {
  display: none;
  font-size: 36px; 
  cursor: pointer;
  user-select: none;
  position: absolute; 
  right: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    position: absolute;
    font-size: 32px;
    top: 90px;
    right: 0px; 
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    border-radius: 10px;
    display: none;
  }

  .nav.active {
    display: flex;
  }

  .burger {
    display: block;
  }
}