* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

html, body {
  height: 100%;
  background: #eaf6fb;
  margin: 0;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #0b3d2e;   /* dark navy */
  background: #eaf6fb; 
   display: flex;
  flex-direction: column;/
  margin: 0;
  overflow-x: hidden;
}
/* TOP BAR */
.top-bar {
  background: #bfe8f7; /* same as header mo */
  text-align: center;
  color: #0b3d2e;
}

.top-bar .container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

header {
  position: sticky;
  transition: transform 0.3s ease;
  top: 0;
  background: rgba(255, 255, 255, 0.6);
backdrop-filter: blur(10px);
  width: 100%;
  z-index: 999;
}

#home {
  scroll-margin-top: 120px;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
   padding: 20px 40px;
   max-width: 1200px;
  margin: auto;
  width: 100%;
}

nav a,
.mobile-nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #0b3d2e;
  font-weight: bold;

  padding: 6px 12px; /* 🔥 constant */
  border-radius: 20px;
  transition: all 0.3s ease;
}

/* hover */
nav a:hover,
.mobile-nav a:hover {
  background: #0b3d2e;
  color: white;
}

/* active */
nav a.active,
.mobile-nav a.active {
  background: #0b3d2e;
  color: white;
}

.btn {
  background: #0b3d2e;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
}

/* HERO */
.hero {
  height: 100vh;
  position: relative;
  background: #eaf6fb;
}

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

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}

.hero-logo {
  width: 180px;
  margin-top: 20px;
}

/* GALLERY */
.gallery-section h2 {
  font-size: 32px;
  color: #0b3d2e;
  margin-bottom: 10px;
  position: relative;
}

.gallery-section h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #4aaedb;
  display: block;
  margin: 8px auto 0;
  border-radius: 5px;
}

/* RATES */
.rates-section {
  padding: 80px 20px;
  text-align: center;
}

.rates-section h2 {
  font-size: 32px; /* same size as Contact Us */
  color: #0b3d2e;
  margin-bottom: 20px;
  position: relative;
}

/* underline style */
.rates-section h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #4aaedb;
  display: block;
  margin: 8px auto 0;
  border-radius: 5px;
}

.rates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 20px;
}

.rates-box {
  background: white;
  color: #0b3d2e;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border-left: 5px solid #0b3d2e;
}

.rates-box ul {
  list-style: none;
}

.rates-box h3 {
  color: #083024;
}

.rates-box p,
.rates-box li {
  color: #0b3d2e;
}

/* CONTACT */
.contact-section {
  padding: 80px;
  text-align: center;
}

/* FOOTER */
.footer {
  background: #0b3d2e;
  color: white;
  text-align: center;
  padding: 30px 10px;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;   /* 🔥 important */
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  font-size: 14px;
}

/* DEV TEXT */
.footer .dev {
  margin-top: 5px;
  font-size: 14px;
  opacity: 0.8;
}

/* MOBILE */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }
}
.top-bar {
  display: none !important;
}

.contact-section {
  padding-bottom: 120px; /* from 80 → 60 para umangat */
}

.contact-box .btn {
  display: inline-block;
  margin-top: 20px;
  position: relative;
}

.contact-box {
  margin-bottom: 40px;
  margin: 8px 0;
}

.social-links {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.social-links a {
  text-decoration: none;
  color: #0b3d2e;
  font-weight: 500;
  background: #f1f1f1;
  padding: 8px 15px;
  border-radius: 20px;
  transition: 0.3s;
}

.social-links a:hover {
  background: #0b3d2e;
  color: white;
}

.social-links i {
  margin-right: 8px;
}

.gallery-section {
  padding: 40px 20px;
  text-align: center;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  max-width: 1200px;
  margin: auto;
}

.gallery-item {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* AESTHETIC (CROPPED) */
.gallery-item.amenities,
.gallery-item.rooms,
.gallery-item.lounge {
  height: 250px;
  object-fit: cover;
}

/* GUESTS (NO CROP) */
.gallery-item.guest {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item.hide {
  display: none;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0 30px;
  flex-wrap: wrap;
}

.filter-buttons button {
  padding: 8px 18px;
  border: none;
  border-radius: 50px;
  background: white;
  color: #0b3d2e;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* HOVER EFFECT */
.filter-buttons button:hover {
  background: #4aaedb;
  color: white;
  transform: translateY(-2px);
}

/* ACTIVE BUTTON */
.filter-buttons .active {
  background: #0b3d2e;
  color: white;
}

.contact-section h2 {
  font-size: 32px;
  color: #0b3d2e;
  margin-bottom: 20px;
  position: relative;
}

/* underline design */
.contact-section h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #4aaedb;
  display: block;
  margin: 8px auto 0;
  border-radius: 5px;
}

#lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

#lightbox span {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* ACTIVE NAV LINK */
/* ACTIVE NAV LINK (DESKTOP ONLY STYLE) */
nav a.active {
  color: white;
  background: #0b3d2e;
  padding: 6px 12px;
  border-radius: 20px;
}

/* MOBILE NAV ACTIVE (SEPARATE para hindi masira layout) */
.mobile-nav a.active {
  color: white;
  background: #0b3d2e;
  border-radius: 20px;
}

/* =========================
   MOBILE NAV (BASE)
========================= */
.mobile-nav {
  display: none;
}

/* =========================
   📱 MOBILE ONLY
========================= */
@media (max-width: 768px) {

  /* TOP BAR */
  .top-bar .container {
    flex-direction: column;
    gap: 5px;
    align-items: center;
  }

  .top-bar {
    padding: 8px 5px;
  }

  .top-bar span {
    font-size: 13px;
  }

  /* HERO */
  .overlay h1 {
    display: none;
  }

  .overlay p {
    margin-top: 5px;
  }

  /* HEADER */
  header nav {
    display: none;
  }

  .logo {
    display: none;
  }

  .nav {
    justify-content: center;
    align-items: center;
    padding: 12px 0;
  }

  header .btn {
    display: block;
    margin: 0 auto;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 14px;
    background: #0b3d2e;
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  }

  header {
    padding-bottom: 0;
  }

  /* MOBILE NAV */
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 50px;
    padding: 12px 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    gap: 25px;
    z-index: 9999;
  }

  .mobile-nav a {
    text-decoration: none;
    color: #0b3d2e;
    font-weight: 600;
    font-size: 13px;
  }

  /* spacing para di matakpan */
  body {
    padding-bottom: 110px;
  }
}

/* =========================
   💻 DESKTOP ONLY
========================= */
@media (min-width: 769px) {
  .mobile-nav {
    display: none !important;
  }

  /* 🔥 REMOVE TOP BAR SA DESKTOP */
  .top-bar {
    display: none;
  }
}
