/* =====================
   RESET & BASE
   ===================== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: #f7f5f2;
  color: #222;
  overflow-x: hidden;
}


/* =====================
   NAVBAR
   ===================== */

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 8%;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  z-index: 1000;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: white;
  text-decoration: none;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.3px;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(255,255,255,0.7);
  transition: width 0.3s;
}

.nav-links a:hover { color: white; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: white; border-bottom: 1px solid rgba(255,255,255,0.6); padding-bottom: 2px; }

/* HAMBURGER BUTTON */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE MENU OVERLAY */

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 900;
}

.nav-overlay.open { display: block; }


/* =====================
   HERO — INDEX PAGE
   ===================== */

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 8%;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.8s ease, transform 8s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.38) 50%,
    rgba(0,0,0,0.62) 100%
  );
  z-index: -1;
}

.hero-content {
  max-width: 580px;
  color: white;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
  opacity: 0;
  animation: slideUp 0.8s ease 0.2s forwards;
}

.hero h1 {
  font-size: 64px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 20px;
  opacity: 0;
  animation: slideUp 1s ease 0.45s forwards;
}

.hero p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 36px;
  opacity: 0;
  animation: slideUp 1s ease 0.7s forwards;
}

.hero .btn {
  opacity: 0;
  animation: slideUp 1s ease 0.95s forwards;
}

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.55);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s ease 2.2s forwards;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.4);
  transform-origin: top;
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%   { transform: scaleY(0); opacity: 0; }
  50%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}


/* =====================
   INNER PAGE HERO
   (gallery / contact / booking)
   ===================== */

.page-hero {
  height: 55vh;
  min-height: 340px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 0 8% 60px;
  position: relative;
  margin-top: 0;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.65) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  color: white;
}

.page-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.1;
}

.page-hero-content p {
  font-size: 16px;
  opacity: 0.82;
  font-weight: 300;
}

/* Page-specific background images */
.gallery-hero { background-image: url('images/PoolSide3.JPG'); }
.contact-hero  { background-image: url('images/CommanArea5.JPG'); }
.booking-hero  { background-image: url('images/Lobby1.JPG'); }


/* =====================
   BUTTON
   ===================== */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  background: #d6a85a;
  color: white;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.25s, box-shadow 0.3s;
  font-family: 'Inter', sans-serif;
}

.btn:hover {
  background: #c4923e;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(214,168,90,0.35);
}


/* =====================
   CONTENT SECTIONS
   ===================== */

.section {
  padding: 100px 8%;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.hidden-section {
  opacity: 0;
  transform: translateY(40px);
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 56px;
  color: #222;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.section img {
  width: 100%;
  border-radius: 18px;
  display: block;
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.section p {
  line-height: 1.8;
  color: #555;
  font-size: 16px;
  font-weight: 300;
}

.gallery-button {
  text-align: center;
  margin-top: 48px;
}


/* =====================
   GALLERY GRID
   ===================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.04);
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

.gallery-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  margin: 60px 0 24px;
  color: #222;
  padding-bottom: 14px;
  border-bottom: 1px solid #e0ddd8;
}

.gallery-title:first-child { margin-top: 0; }


/* =====================
   LIGHTBOX
   ===================== */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 88vw;
  max-height: 88vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 30px;
  color: white;
  font-size: 38px;
  cursor: pointer;
  opacity: 0.7;
  line-height: 1;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 44px;
  cursor: pointer;
  opacity: 0.55;
  user-select: none;
  padding: 0 24px;
  transition: opacity 0.2s;
}
.lightbox-prev { left: 0; }
.lightbox-next { right: 0; }
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; }


/* =====================
   CTA SECTION
   ===================== */

.cta {
  height: 60vh;
  background-image:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url("images/PoolSide6.JPG");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 28px;
  line-height: 1.1;
}


/* =====================
   CONTACT & BOOKING FORMS
   ===================== */

.info-block h2 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  margin-bottom: 16px;
}

.info-block p {
  line-height: 1.8;
  color: #555;
  font-size: 16px;
  font-weight: 300;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 36px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

.contact-detail-icon { font-size: 20px; margin-top: 2px; }

.contact-detail-text strong {
  display: block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 4px;
}

.contact-detail-text span { font-size: 15px; color: #222; }

.form-card {
  background: white;
  border-radius: 20px;
  padding: 44px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}

.form-group { margin-bottom: 18px; }

.form-card label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 8px;
}

.form-card input,
.form-card textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e8e5e0;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #222;
  background: #fafaf8;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-card input:focus,
.form-card textarea:focus {
  border-color: #d6a85a;
  box-shadow: 0 0 0 3px rgba(214,168,90,0.15);
  background: white;
}

.form-card textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}


/* =====================
   FOOTER
   ===================== */

footer {
  background: #1a1a18;
  color: #888;
  padding: 64px 8% 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: white;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
  font-weight: 300;
}

.footer-col h4 {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #777;
  font-size: 14px;
  transition: color 0.25s;
}

.footer-col ul li a:hover { color: #d6a85a; }

.footer-col ul li { color: #777; font-size: 14px; }

.footer-bottom {
  border-top: 1px solid #2a2a28;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #444;
}

.footer-bottom a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom a:hover { color: #d6a85a; }


/* =====================
   ANIMATIONS
   ===================== */

@keyframes slideUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


/* =====================
   RESPONSIVE — TABLET (≤900px)
   ===================== */

@media (max-width: 900px) {

  .hero h1 { font-size: 46px; }

  .grid { grid-template-columns: 1fr; gap: 40px; }

  .gallery { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .form-row { grid-template-columns: 1fr; }

  .cta h2 { font-size: 38px; }

  .page-hero-content h1 { font-size: 40px; }

}


/* =====================
   RESPONSIVE — MOBILE (≤768px)
   ===================== */

@media (max-width: 768px) {

  nav { padding: 18px 5%; }

  /* Show hamburger, hide nav links */
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 70%;
    max-width: 280px;
    background: rgba(20, 18, 16, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    padding: 80px 36px 40px;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    font-size: 18px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
  }

  .nav-links a::after { display: none; }

  .nav-links li:last-child a { border-bottom: none; }

  /* Hero */
  .hero { padding: 0 5%; }
  .hero h1 { font-size: 34px; }
  .hero p  { font-size: 15px; }

  /* Sections */
  .section { padding: 70px 5%; }
  .section-title { font-size: 32px; }
  .section h2 { font-size: 28px; }

  /* Gallery */
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: 230px; }
  .gallery-title { font-size: 22px; }

  /* CTA */
  .cta { height: auto; padding: 80px 5%; background-attachment: scroll; }
  .cta h2 { font-size: 32px; }

  /* Forms */
  .form-card { padding: 28px 18px; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  /* Page hero */
  .page-hero { padding: 0 5% 44px; min-height: 280px; }
  .page-hero-content h1 { font-size: 32px; }
  .page-hero-content p  { font-size: 14px; }

}


/* =====================
   AMENITIES HERO
   ===================== */

.amenities-hero {
  background-image: url('images/PoolSide5.JPG');
}


/* =====================
   AMENITIES PREVIEW — index page
   ===================== */

.amenities-preview-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}

.amenity-preview-card {
  background: white;
  border-radius: 16px;
  padding: 24px 12px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: default;
}

.amenity-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.amenity-preview-more {
  background: #f0ece4;
  border: 1.5px dashed #d6a85a;
}

.amenity-preview-more .amenity-preview-icon {
  font-size: 28px;
  color: #d6a85a;
  font-weight: 700;
}

.amenity-preview-icon {
  font-size: 30px;
  margin-bottom: 10px;
  line-height: 1;
}

.amenity-preview-name {
  font-size: 12px;
  font-weight: 500;
  color: #444;
  line-height: 1.3;
}


/* =====================
   AMENITIES FULL PAGE
   ===================== */

.amenities-popular {
  background: white;
  border-radius: 20px;
  padding: 32px 36px;
  margin-bottom: 56px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.amenities-top-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #d6a85a;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.popular-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.popular-chips span {
  background: #f7f5f2;
  border: 1.5px solid #e8e5e0;
  padding: 9px 18px;
  border-radius: 100px;
  font-size: 13px;
  color: #333;
  font-weight: 500;
}

.amenities-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.amenity-category {
  background: white;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.amenity-category h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0ece4;
}

.amenity-category ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.amenity-category ul li {
  font-size: 14px;
  color: #555;
  font-weight: 300;
  line-height: 1.4;
  padding-left: 18px;
  position: relative;
}

.amenity-category ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #d6a85a;
  font-weight: 600;
  font-size: 12px;
  top: 1px;
}

.tag-extra {
  background: #fff3e0;
  color: #c67c00;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 6px;
  letter-spacing: 0.3px;
  vertical-align: middle;
  white-space: nowrap;
}

.amenities-cta {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.07);
}

.amenities-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
}

.amenities-cta p {
  color: #666;
  font-size: 16px;
  margin-bottom: 28px;
  font-weight: 300;
}


/* =====================
   RESPONSIVE — TABLET
   ===================== */

@media (max-width: 900px) {

  .amenities-preview-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .amenities-categories {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* =====================
   RESPONSIVE — MOBILE
   ===================== */

@media (max-width: 600px) {

  .amenities-preview-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .amenity-preview-card {
    padding: 18px 8px;
  }

  .amenity-preview-icon { font-size: 24px; }
  .amenity-preview-name { font-size: 11px; }

  .amenities-popular { padding: 24px 20px; }

  .popular-chips span { font-size: 12px; padding: 7px 14px; }

  .amenities-categories {
    grid-template-columns: 1fr;
  }

  .amenities-cta h2 { font-size: 26px; }

}


/* =====================
   MAP SECTION
   ===================== */

.map-section {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 50px;
  align-items: start;
}

.map-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.2;
}

.map-info > p {
  color: #888;
  font-size: 13px;
  font-weight: 300;
  margin-bottom: 0;
}

/* Compact contact cards inside map only */
.map-info .contact-details {
  gap: 8px;
  margin-top: 16px;
}

.map-info .contact-detail {
  padding: 10px 14px;
  border-radius: 10px;
  gap: 10px;
}

.map-info .contact-detail-icon {
  font-size: 15px;
  margin-top: 1px;
}

.map-info .contact-detail-text strong {
  font-size: 9px;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.map-info .contact-detail-text span {
  font-size: 13px;
}

.map-info .btn {
  margin-top: 18px;
  padding: 11px 22px;
  font-size: 13px;
}

.map-embed iframe {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  display: block;
}

@media (max-width: 900px) {
  .map-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .map-embed iframe { height: 280px; }
}

@media (max-width: 600px) {
  .map-embed iframe { height: 220px; }
  .map-info h2 { font-size: 26px; }
}


/* =====================
   ROOM TAGS
   ===================== */

.room-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.room-tag {
  background: #f0ece4;
  border: 1px solid #e0d8cc;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  color: #555;
  font-weight: 400;
}

@media (max-width: 600px) {
  .room-tag { font-size: 12px; padding: 6px 12px; }
}
