/* =========================================================
   Venkateshwara Lodge, Coonoor | Light theme
   ========================================================= */
:root {
  --brick: #b5482b;
  --brick-dark: #8a2f1a;
  --green: #2f6b4f;
  --cream: #fbf6ee;
  --sand: #f3e9d8;
  --ink: #2b2a28;
  --muted: #6c675f;
  --white: #ffffff;
  --line: #eadfcb;
  --wa: #25d366;
  --shadow: 0 10px 30px rgba(80, 50, 20, .10);
  --shadow-lg: 0 18px 45px rgba(80, 50, 20, .18);
  --radius: 16px;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.section { padding: 90px 0; }
.section.alt { background: var(--white); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section-head h2, .about-text h2, .booking-info h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.section-head p { color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: #f6e3b4; margin-bottom: 14px;
}
.eyebrow.dark { color: var(--brick); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 28px; border-radius: 50px; border: 2px solid transparent;
  font-family: var(--font-body); font-size: .95rem; font-weight: 500; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-primary { background: var(--brick); color: #fff; }
.btn-primary:hover { background: var(--brick-dark); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--brick-dark); }
.btn-outline { background: transparent; color: var(--brick); border-color: var(--brick); }
.btn-outline:hover { background: var(--brick); color: #fff; }
.btn-light { background: #fff; color: var(--brick-dark); }
.btn-light:hover { background: var(--sand); }
.btn-whatsapp { background: var(--wa); color: #073d1c; font-weight: 600; }
.btn-whatsapp:hover { background: #1ebe5a; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255,255,255,0);
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 14px 0;
}
.navbar.scrolled { background: rgba(255,255,255,.96); box-shadow: 0 4px 20px rgba(80,50,20,.10); backdrop-filter: blur(8px); padding: 8px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; line-height: 1.1; transition: color .3s; }
.brand span { display: flex; flex-direction: column; }
.brand small { font-family: var(--font-body); font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.navbar.scrolled .brand { color: var(--brick-dark); }
.brand img { transition: transform .4s ease; }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { position: relative; color: #fff; font-size: .92rem; font-weight: 500; padding: 4px 0; transition: color .3s; }
.navbar.scrolled .nav-links a { color: var(--ink); }
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: #f6c76a; transition: width .3s ease;
}
.navbar.scrolled .nav-links a:not(.nav-cta)::after { background: var(--brick); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-links .nav-cta { background: var(--brick); color: #fff !important; padding: 9px 22px; border-radius: 50px; transition: background .25s, transform .25s; }
.nav-links .nav-cta:hover { background: var(--brick-dark); transform: translateY(-2px); }

.menu-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; height: 2px; background: #fff; margin: 6px 0; border-radius: 2px; transition: transform .3s, opacity .3s, background .3s; }
.navbar.scrolled .menu-toggle span { background: var(--ink); }
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: url('../images/exterior.jpg') center 22% / cover no-repeat;
  color: #fff; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: inherit; transform: scale(1);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(40,20,10,.55) 0%, rgba(40,20,10,.25) 40%, rgba(40,20,10,.70) 100%),
    linear-gradient(90deg, rgba(138,47,26,.55) 0%, rgba(0,0,0,0) 65%);
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero-content { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 90px; max-width: 880px; margin-left: max(20px, calc((100% - 1180px) / 2)); }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 700; margin-bottom: .4em; text-shadow: 0 4px 24px rgba(0,0,0,.35); }
.hero h1 span { color: #f6c76a; }
.hero-sub { font-size: 1.12rem; max-width: 560px; opacity: .95; margin-bottom: 1.8em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2em; }
.hero-rating { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); padding: 8px 18px; border-radius: 50px; font-size: .92rem; }
.stars { color: #f6c76a; letter-spacing: 2px; }
.stars.dim, .dim { opacity: .35; }
.scroll-down { display: none; position: absolute; z-index: 2; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.8); border-radius: 20px; transform: translateX(-50%); }
.scroll-down span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Quick strip ---------- */
.quick-strip { position: relative; z-index: 5; margin-top: -48px; }
.strip-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 22px 30px;
}
.strip-inner div { display: flex; flex-direction: column; }
.strip-inner strong { font-weight: 600; }
.strip-inner span { color: var(--muted); font-size: .85rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.about-images { position: relative; padding-bottom: 60px; }
.about-img-main { width: 85%; border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; object-fit: cover; transition: transform .5s ease; }
.about-img-small { position: absolute; right: 0; bottom: 0; width: 52%; border-radius: var(--radius); border: 6px solid var(--cream); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; transition: transform .5s ease; }
.about-images:hover .about-img-main { transform: scale(1.02) rotate(-.6deg); }
.about-images:hover .about-img-small { transform: scale(1.05) rotate(.8deg); }
.badge-exp { position: absolute; left: -10px; bottom: 24px; background: var(--brick); color: #fff; padding: 16px 20px; border-radius: 14px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; animation: floaty 4s ease-in-out infinite; }
.badge-exp strong { font-family: var(--font-head); font-size: 1.7rem; }
.badge-exp span { font-size: .75rem; line-height: 1.3; opacity: .92; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.about-text p { color: var(--muted); }
.tick-list { margin: 1.2em 0 1.8em; }
.tick-list li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.tick-list li::before { content: '✓'; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: rgba(47,107,79,.14); color: var(--green); font-size: .78rem; font-weight: 700; display: grid; place-items: center; }

/* ---------- Rooms ---------- */
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.room-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease; }
.room-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.room-img { aspect-ratio: 4/3; overflow: hidden; }
.room-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.room-card:hover .room-img img { transform: scale(1.08); }
.room-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.room-body h3 { font-size: 1.3rem; }
.room-body p { color: var(--muted); font-size: .92rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chips li { background: var(--sand); color: var(--brick-dark); font-size: .75rem; font-weight: 500; padding: 4px 12px; border-radius: 50px; }
.room-body .btn { margin-top: auto; }

/* ---------- Amenities ---------- */
.amenity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.amenity { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; text-align: center; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.amenity:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--brick); }
.amenity .ico { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 16px; font-size: 1.9rem; background: var(--sand); border-radius: 50%; transition: transform .4s ease, background .3s ease; }
.amenity:hover .ico { transform: rotateY(360deg); background: #f6dcc0; }
.amenity h3 { font-size: 1.15rem; }
.amenity p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 16px; }
.g-item { position: relative; margin: 0; overflow: hidden; border-radius: 14px; cursor: zoom-in; box-shadow: var(--shadow); }
.g-item.g-wide { grid-column: span 2; grid-row: span 2; }
.g-item.g-w2 { grid-column: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .4s ease; }
.g-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(60,25,10,.75)); opacity: 0; transition: opacity .35s ease; }
.g-item figcaption { position: absolute; z-index: 2; left: 18px; bottom: 14px; color: #fff; font-weight: 500; transform: translateY(14px); opacity: 0; transition: transform .35s ease, opacity .35s ease; }
.g-item:hover img { transform: scale(1.1); }
.g-item:hover::after { opacity: 1; }
.g-item:hover figcaption { transform: translateY(0); opacity: 1; }

/* ---------- Explore ---------- */
.explore-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.explore-card { background: #fff; border-left: 5px solid var(--green); border-radius: 12px; padding: 22px 24px; box-shadow: var(--shadow); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.explore-card:hover { transform: translateX(8px); border-color: var(--brick); box-shadow: var(--shadow-lg); }
.explore-card h3 { font-size: 1.15rem; margin-bottom: .3em; }
.explore-card p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Rating band ---------- */
.rating-band { background: linear-gradient(120deg, var(--brick) 0%, var(--brick-dark) 100%); color: #fff; padding: 46px 0; }
.rating-inner { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; text-align: left; }
.rating-score { font-family: var(--font-head); font-size: 4.6rem; font-weight: 700; line-height: 1; }
.rating-inner p { margin: 0; max-width: 420px; opacity: .95; }
.stars.big { font-size: 1.6rem; color: #f6c76a; margin-bottom: 4px; }

/* ---------- Booking ---------- */
.booking-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: start; }
.booking-info p { color: var(--muted); }
.booking-form { background: var(--cream); border: 1px solid var(--line); border-radius: 20px; padding: 34px; box-shadow: var(--shadow-lg); }
.field { margin-bottom: 16px; display: flex; flex-direction: column; flex: 1; }
.row { display: flex; gap: 16px; }
.field label { font-size: .82rem; font-weight: 600; margin-bottom: 6px; color: var(--brick-dark); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: .95rem; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
  transition: border-color .25s, box-shadow .25s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #d9c4a1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brick); box-shadow: 0 0 0 4px rgba(181,72,43,.14); }
.form-error { color: #c0392b; font-size: .85rem; min-height: 1.2em; margin-bottom: 10px; }

/* ---------- Location ---------- */
.location-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); min-height: 420px; border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.c-row { display: flex; gap: 14px; margin-bottom: 14px; }
.c-row span { flex: 0 0 40px; height: 40px; display: grid; place-items: center; background: var(--sand); border-radius: 50%; }
.c-row p { margin: 0; font-size: .93rem; color: var(--muted); align-self: center; }
.c-row a { color: var(--brick); font-weight: 500; transition: color .2s; }
.c-row a:hover { color: var(--brick-dark); text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { background: #2a1a12; color: #e8dccb; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; padding-bottom: 46px; }
.brand-footer { color: #fff; margin-bottom: 14px; }
.footer p { color: #c9baa3; font-size: .92rem; }
.footer h4 { font-size: 1.1rem; color: #f6c76a; margin-bottom: 1em; }
.f-col a:not(.brand) { display: block; color: #c9baa3; font-size: .92rem; margin-bottom: 8px; transition: color .25s, padding-left .25s; }
.f-col a:not(.brand):hover { color: #fff; padding-left: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; text-align: center; }
.footer-bottom p { margin: 0; font-size: .85rem; color: #a99a85; }

/* ---------- Floating buttons ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37,211,102,.45); transition: transform .25s ease; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: pulse 2s infinite; }
.wa-float:hover { transform: scale(1.12); }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.to-top { position: fixed; right: 26px; bottom: 94px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--brick); color: #fff; font-size: 1.3rem; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, background .25s, visibility .3s; box-shadow: var(--shadow); }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brick-dark); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(25,12,6,.92); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; padding: 20px; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(92vw, 1000px); max-height: 80vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox p { color: #fff; margin: 14px 0 0; }
.lb-close { position: absolute; top: 18px; right: 24px; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; line-height: 1; transition: transform .25s; }
.lb-close:hover { transform: rotate(90deg); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .about-grid, .booking-grid, .location-grid { grid-template-columns: 1fr; gap: 44px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .f-col:first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: min(320px, 82vw); height: 100vh; background: #fff;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; padding: 40px 34px;
    box-shadow: -10px 0 40px rgba(0,0,0,.18); transition: right .4s ease;
  }
  .nav-links.open { right: 0; }
  .nav-links a, .navbar.scrolled .nav-links a { color: var(--ink); font-size: 1.05rem; }
  .menu-toggle { position: relative; z-index: 120; }
  .menu-toggle.open span { background: var(--ink); }
}
@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero-content { margin-left: 20px; margin-right: 20px; }
  .row { flex-direction: column; gap: 0; }
  .booking-form { padding: 24px 20px; }
  .strip-inner { padding: 20px; }
  .strip-inner .btn { width: 100%; }
  .gallery-grid { grid-auto-rows: 150px; gap: 10px; }
  .rating-inner { text-align: center; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-images { padding-bottom: 40px; }
  .badge-exp { left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
