/* ============================================================
   PALM RESORT — styles.css
   Design System & Full Layout
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: clip; }
body {
  font-family: 'Poppins', sans-serif;
  color: #222222;
  background-color: #F7F6F2;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- CSS Variables --- */
:root {
  --green-dark:  #1F3D2B;
  --green-mid:   #3E7D4E;
  --green-light: #5a9e6a;
  --gold:        #C9A65A;
  --gold-hover:  #b8923e;
  --cream:       #F7F6F2;
  --cream-dark:  #eeeae2;
  --charcoal:    #222222;
  --text-muted:  #666;
  --white:       #ffffff;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --shadow-sm:   0 2px 12px rgba(31,61,43,0.08);
  --shadow-md:   0 8px 32px rgba(31,61,43,0.14);
  --shadow-lg:   0 20px 60px rgba(31,61,43,0.18);
  --transition:  all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Container --- */
.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: #1a1a1a;
  box-shadow: 0 4px 20px rgba(201,166,90,0.35);
}
.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,166,90,0.45);
}

.btn-green {
  background: var(--green-mid);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(62,125,78,0.3);
}
.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(31,61,43,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* --- Section Basics --- */
.section { padding: 100px 0; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}
.section-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 2px;
  background: var(--gold);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header .section-desc { margin: 0 auto; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition);
  /* NO backdrop-filter here — it would break position:fixed children (mobile drawer) */
}
.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: -1;
  pointer-events: none;
}
.navbar.scrolled {
  background: rgba(31, 61, 43, 0.97);
  padding: 0.75rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
}
.navbar.scrolled::before { opacity: 1; }

.nav-container {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
}
.logo-palm { font-size: 1.8rem; line-height: 1; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}
.logo-tagline {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gold);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 1.3rem;
  border-radius: 50px;
  margin-left: 0.5rem;
  transition: var(--transition);
}
.nav-cta:hover { background: var(--gold-hover); transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}
.hero-img { display: none; } /* background set via inline style on .hero-bg */

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 35, 20, 0.70) 0%,
    rgba(31, 61, 43, 0.55) 50%,
    rgba(10, 25, 15, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 1.5rem;
  max-width: 820px;
  animation: heroFadeIn 1.2s ease forwards;
}

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

.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  letter-spacing: 0.03em;
}
.badge i { color: var(--gold); }

.hero-subtitle-top {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.35);
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 300;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.75rem;
  font-style: italic;
  font-family: 'Playfair Display', serif;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 1.8s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1; transform: scaleY(1.15); }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--cream); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}
.about-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-badge-float {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-md);
}
.about-badge-float i {
  font-size: 2rem;
  color: var(--gold);
}
.about-badge-float strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1;
}
.about-badge-float span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.about-text {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 0.975rem;
}

.about-highlights {
  margin: 1.75rem 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.about-highlights li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
}
.about-highlights li i { color: var(--green-mid); font-size: 0.9rem; }

/* ============================================================
   MENU
   ============================================================ */
.menu { background: #f0ede5; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  animation-delay: var(--delay, 0s);
}
.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.menu-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.menu-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.menu-card:hover .menu-card-img { transform: scale(1.08); }

.menu-badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  text-transform: uppercase;
}
.menu-badge.nonveg { background: #c0392b; color: #fff; }
.menu-badge.veg    { background: #27ae60; color: #fff; }

.menu-card-body { padding: 1.1rem; }
.menu-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.4rem;
}
.menu-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}
.menu-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-hover);
  letter-spacing: 0.02em;
}

.menu-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ============================================================
   WHY US
   ============================================================ */
.why-us { background: var(--green-dark); }
.why-us .section-eyebrow { color: var(--gold); }
.why-us .section-title   { color: var(--white); }
.why-us .section-desc    { color: rgba(255,255,255,0.65); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}
.why-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-6px);
  border-color: rgba(201,166,90,0.4);
}

.why-icon-wrap {
  width: 70px;
  height: 70px;
  background: rgba(201,166,90,0.15);
  border: 1px solid rgba(201,166,90,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: var(--transition);
}
.why-card:hover .why-icon-wrap {
  background: var(--gold);
}
.why-icon-wrap i {
  font-size: 1.5rem;
  color: var(--gold);
  transition: var(--transition);
}
.why-card:hover .why-icon-wrap i { color: #1a1a1a; }

.why-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.why-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { background: var(--cream-dark); }

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}
.gallery-item.gallery-large {
  grid-column: 1 / 3;
  aspect-ratio: 16 / 9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.gallery-item:hover img { transform: scale(1.1); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,35,20,0.75) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews { background: var(--cream); }

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--green-dark);
  color: var(--white);
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  margin-top: 1.25rem;
}
.rating-stars { color: var(--gold); font-size: 0.85rem; }
.rating-badge strong { font-size: 1.1rem; }
.rating-badge span { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(31,61,43,0.07);
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201,166,90,0.3);
}

.review-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-mid);
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reviewer-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.2rem;
}
.review-stars { color: var(--gold); font-size: 0.75rem; }

.review-text {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1rem;
}
.review-text::before { content: '\201C'; }
.review-text::after  { content: '\201D'; }

.review-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green-mid);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: #f0ede5; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(31,61,43,0.07);
  transition: var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }

.contact-icon {
  font-size: 1.3rem;
  color: var(--gold);
  margin-top: 0.15rem;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}
.contact-card h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }
.contact-card a { color: var(--green-mid); font-weight: 600; }
.contact-card a:hover { color: var(--gold); }

.contact-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 420px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: none;
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--green-dark); }

.footer-top { padding: 5rem 0 3rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.footer-logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 0.85rem;
  font-style: italic;
}
.footer-about {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.65rem;
}
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1a1a;
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.footer-contact-item i {
  color: var(--gold);
  font-size: 0.85rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}
.footer-contact-item span,
.footer-contact-item a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
.footer-contact-item a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* ============================================================
   MOBILE CALL BUTTON
   ============================================================ */
.mobile-call-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  background: var(--green-mid);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 6px 24px rgba(62,125,78,0.45);
  transition: var(--transition);
  transform: translateY(0);
  opacity: 1;
}
.mobile-call-btn:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(31,61,43,0.45);
}
.mobile-call-btn i { font-size: 1rem; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 998;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: #1a1a1a;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: var(--gold-hover); transform: translateY(-3px); }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}
.reveal-up    { transform: translateY(40px); }
.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE — TABLET & MOBILE
   ============================================================ */
@media (max-width: 1024px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .about-grid { gap: 3rem; }
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 320px; }
  .contact-map iframe { min-height: 320px; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }

  /* Nav mobile */
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 80%;
    max-width: 340px;
    background: var(--green-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0.25rem;
    transform: translateX(100%);
    visibility: hidden;                             /* stops off-screen paint bleed */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 0.4s;          /* hide after slide-out finishes */
    z-index: 999;
    box-shadow: -4px 0 40px rgba(0,0,0,0.3);
  }
  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 0s;            /* show immediately on open */
  }
  .nav-link { font-size: 1rem; padding: 0.75rem 1rem; width: 100%; }
  .nav-cta { margin: 1rem 0 0; width: 100%; justify-content: center; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-img { height: 320px; }
  .about-image-wrap { overflow: hidden; border-radius: var(--radius-lg); }
  .about-badge-float { right: 0.75rem; bottom: 0.75rem; }
  .about-highlights { grid-template-columns: 1fr; }

  /* Menu */
  .menu-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.gallery-large { grid-column: 1 / 3; }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Mobile call button always visible */
  .mobile-call-btn { bottom: 1rem; right: 1rem; padding: 0.75rem 1.2rem; }
  .back-to-top { bottom: 4.5rem; right: 1rem; }
}

@media (max-width: 480px) {
  .hero-badges { gap: 0.4rem; }
  .badge { font-size: 0.72rem; padding: 0.35rem 0.75rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; justify-content: center; }
  .menu-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.gallery-large { grid-column: 1; }
  .contact-actions { flex-direction: column; }
  .contact-actions .btn { width: 100%; justify-content: center; }
}
