/* ===========================================================
   Sri NA Residency — static site styles
   Brand gold: #cc9933  | dark: #1c1c1c
   =========================================================== */

:root {
  --gold: #cc9933;
  --gold-dark: #b3801f;
  --ink: #222;
  --muted: #666;
  --dark: #1c1c1c;
  --light: #f7f5f1;
  --white: #fff;
  --shadow: 0 8px 30px rgba(0, 0, 0, .12);
  --radius: 10px;
  --header-h: 84px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: "Roboto Condensed", "Segoe UI", sans-serif; font-weight: 700; line-height: 1.2; }

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-dark); }

img { max-width: 100%; display: block; }

.container { width: min(1160px, 92%); margin-inline: auto; }

.section { padding: 80px 0; }
.section--alt { background: var(--light); }

/* ---------- Section heading ---------- */
.heading { text-align: center; margin-bottom: 48px; }
.heading h2 {
  font-size: clamp(26px, 4vw, 38px);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.heading p { color: var(--muted); margin-top: 8px; }
.heading::after {
  content: ""; display: block; width: 70px; height: 3px;
  background: var(--gold); margin: 16px auto 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--gold); color: #fff;
  padding: 12px 28px; border-radius: 4px;
  font-weight: 600; letter-spacing: .5px;
  text-transform: uppercase; font-size: 14px;
  border: 2px solid var(--gold); cursor: pointer;
  transition: all .25s;
}
.btn:hover { background: transparent; color: var(--gold); }
.btn--ghost { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }

/* ===========================================================
   HEADER / NAV
   =========================================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(28, 28, 28, .92);
  backdrop-filter: blur(6px);
  transition: background .3s, box-shadow .3s;
}
.header.scrolled { background: rgba(28, 28, 28, .98); box-shadow: 0 2px 20px rgba(0,0,0,.3); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__logo img { height: 52px; width: auto; }
.nav__logo span { color: #fff; font-family: "Roboto Condensed", sans-serif; font-weight: 700; font-size: 20px; letter-spacing: .5px; }
.nav__logo span b { color: var(--gold); }

.nav__menu { display: flex; gap: 6px; list-style: none; align-items: center; }
.nav__menu a {
  color: #eee; padding: 10px 16px; font-size: 15px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .5px; border-radius: 4px;
  transition: color .2s, background .2s;
}
.nav__menu a:hover, .nav__menu a.active { color: var(--gold); }
.nav__menu .nav__cta a { background: var(--gold); color: #fff; }
.nav__menu .nav__cta a:hover { background: var(--gold-dark); color: #fff; }

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 6px;
}
.nav__toggle span { display: block; height: 3px; background: #fff; border-radius: 2px; transition: .3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ===========================================================
   HERO SLIDER
   =========================================================== */
.hero { position: relative; height: 100vh; min-height: 560px; overflow: hidden; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease-in-out;
  transform: scale(1.05);
}
.hero__slide.active { opacity: 1; animation: kenburns 7s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.05); } to { transform: scale(1.15); } }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.55));
  display: flex; align-items: center; justify-content: center; text-align: center;
  z-index: 2;
}
.hero__content { color: #fff; max-width: 800px; padding: 0 20px; }
.hero__content small {
  display: inline-block; color: var(--gold); letter-spacing: 4px;
  text-transform: uppercase; font-weight: 600; margin-bottom: 16px; font-size: 14px;
}
.hero__content h1 { font-size: clamp(34px, 7vw, 68px); text-shadow: 0 2px 20px rgba(0,0,0,.5); }
.hero__content p { font-size: clamp(15px, 2vw, 19px); margin: 18px 0 30px; opacity: .95; }
.hero__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hero__dots button {
  width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff;
  background: transparent; cursor: pointer; padding: 0; transition: background .2s;
}
.hero__dots button.active { background: var(--gold); border-color: var(--gold); }

/* ---------- Page banner (inner pages) ---------- */
.banner {
  margin-top: 0; height: 46vh; min-height: 320px; position: relative;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.banner::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.banner__inner { position: relative; color: #fff; z-index: 2; }
.banner__inner h1 { font-size: clamp(30px, 5vw, 50px); text-transform: uppercase; letter-spacing: 1px; }
.banner__inner nav { margin-top: 10px; font-size: 14px; letter-spacing: 1px; opacity: .9; }
.banner__inner nav a { color: var(--gold); }

/* ===========================================================
   INTRO / WELCOME
   =========================================================== */
.intro__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center; }
.intro__text h2 { font-size: 30px; color: var(--gold); margin-bottom: 18px; }
.intro__text p { color: var(--muted); margin-bottom: 16px; text-align: justify; }
.intro__img img { border-radius: var(--radius); box-shadow: var(--shadow); }
.intro__stats { display: flex; gap: 30px; margin-top: 24px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat b { display: block; font-size: 34px; color: var(--gold); font-family: "Roboto Condensed", sans-serif; }
.stat span { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* ===========================================================
   SERVICES (parallax)
   =========================================================== */
.services { position: relative; padding: 90px 0; color: #fff; background-attachment: fixed; background-size: cover; background-position: center; }
.services::before { content: ""; position: absolute; inset: 0; background: rgba(20,20,20,.8); }
.services .container { position: relative; z-index: 2; }
.services .heading h2 { color: #fff; }
.services .heading::after { background: var(--gold); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.service {
  text-align: center; padding: 30px 20px; border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); transition: transform .3s, background .3s, border-color .3s;
}
.service:hover { transform: translateY(-8px); background: rgba(204,153,51,.12); border-color: var(--gold); }
.service__icon {
  width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--gold); color: var(--gold); font-size: 30px;
}
.service h4 { margin-bottom: 8px; font-size: 18px; }
.service p { font-size: 14px; color: #cfcfcf; }

/* ===========================================================
   ROOMS
   =========================================================== */
.rooms__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 30px; }
.room-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s;
}
.room-card:hover { transform: translateY(-6px); }
.room-card__img { position: relative; height: 230px; overflow: hidden; }
.room-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.room-card:hover .room-card__img img { transform: scale(1.08); }
.room-card__tag {
  position: absolute; top: 14px; left: 14px; background: var(--gold); color: #fff;
  padding: 5px 14px; border-radius: 30px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px;
}
.room-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.room-card__body h3 { font-size: 21px; margin-bottom: 8px; }
.room-card__body p { color: var(--muted); font-size: 14px; margin-bottom: 16px; flex: 1; }
.room-card__price { margin-bottom: 16px; }
.room-card__price .ac { color: var(--ink); font-weight: 700; }
.room-card__price .row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed #e3ddd2; font-size: 15px; }
.room-card__price .row span:last-child { color: var(--gold); font-weight: 700; }
.room-card__price small { color: #16a34a; font-weight: 600; }

/* ===========================================================
   FACILITIES
   =========================================================== */
.fac__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.fac__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; margin-top: 10px; }
.fac__lists ul { list-style: none; }
.fac__lists li { padding: 9px 0; border-bottom: 1px solid #eee; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.fac__lists li::before { content: "✓"; color: var(--gold); font-weight: 700; }
.fac__carousel { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; height: 380px; }
.fac__carousel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s; }
.fac__carousel img.active { opacity: 1; }

/* amenities strip */
.amenities { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 20px; margin-top: 60px; }
.amenity { text-align: center; padding: 24px 12px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.amenity .ic { font-size: 30px; color: var(--gold); margin-bottom: 10px; }
.amenity span { font-size: 14px; font-weight: 600; }

/* ===========================================================
   GALLERY
   =========================================================== */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery__grid figure { position: relative; overflow: hidden; border-radius: 8px; cursor: pointer; aspect-ratio: 3/2; }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery__grid figure:hover img { transform: scale(1.1); }
.gallery__grid figure::after {
  content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 26px; background: rgba(204,153,51,.7); opacity: 0; transition: opacity .3s;
}
.gallery__grid figure:hover::after { opacity: 1; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 2000;
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90%; max-height: 85%; border-radius: 6px; box-shadow: 0 10px 50px rgba(0,0,0,.6); }
.lightbox__close, .lightbox__nav { position: absolute; color: #fff; background: none; border: 0; cursor: pointer; font-size: 34px; user-select: none; }
.lightbox__close { top: 24px; right: 34px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 50px; padding: 0 26px; opacity: .8; }
.lightbox__nav:hover { opacity: 1; color: var(--gold); }
.lightbox__prev { left: 10px; } .lightbox__next { right: 10px; }

/* ===========================================================
   CONTACT
   =========================================================== */
.contact__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.contact__form { background: #fff; padding: 34px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact__form h3 { color: var(--gold); margin-bottom: 20px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #ddd; border-radius: 6px;
  font-family: inherit; font-size: 15px; transition: border-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 14px; margin-top: 14px; padding: 10px 14px; border-radius: 6px; display: none; }
.form-note.ok { display: block; background: #e7f6ec; color: #15803d; }

.info-card { background: var(--dark); color: #ddd; padding: 30px; border-radius: var(--radius); margin-bottom: 20px; }
.info-card h3 { color: var(--gold); margin-bottom: 16px; }
.info-card p { font-size: 15px; margin-bottom: 14px; }
.info-card .line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-size: 15px; }
.info-card .line i { color: var(--gold); width: 20px; text-align: center; margin-top: 4px; }
.info-card a { color: #ddd; } .info-card a:hover { color: var(--gold); }

.bank { background: var(--light); border-left: 4px solid var(--gold); padding: 20px 24px; border-radius: 6px; }
.bank h4 { color: var(--gold); margin-bottom: 12px; }
.bank table { width: 100%; font-size: 14px; }
.bank td { padding: 4px 0; } .bank td:first-child { color: var(--muted); width: 42%; }
.bank .disc { display: block; margin-top: 12px; color: #15803d; font-style: italic; font-size: 13px; }

.map-wrap { margin-top: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ===========================================================
   CTA strip
   =========================================================== */
.cta {
  background: var(--gold); color: #fff; text-align: center; padding: 56px 0;
}
.cta h2 { font-size: clamp(24px, 4vw, 34px); margin-bottom: 10px; }
.cta p { margin-bottom: 22px; opacity: .95; }
.cta .btn { background: #fff; color: var(--gold); border-color: #fff; }
.cta .btn:hover { background: var(--dark); color: #fff; border-color: var(--dark); }

/* ===========================================================
   FOOTER
   =========================================================== */
.footer { background: #161616; color: #b9b9b9; padding: 60px 0 0; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 40px; padding-bottom: 40px; }
.footer h4 { color: #fff; margin-bottom: 18px; font-size: 18px; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--gold); }
.footer__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__logo img { height: 48px; }
.footer__logo span { color: #fff; font-family: "Roboto Condensed", sans-serif; font-weight: 700; font-size: 19px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: #b9b9b9; }
.footer ul a:hover { color: var(--gold); padding-left: 4px; }
.footer .line { display: flex; gap: 10px; margin-bottom: 12px; }
.footer .line i { color: var(--gold); margin-top: 4px; }
.footer__bottom { border-top: 1px solid #2a2a2a; padding: 20px 0; text-align: center; font-size: 13px; color: #888; }
.footer__bottom a { color: var(--gold); }

/* ===========================================================
   Scroll-reveal + back-to-top
   =========================================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

#toTop {
  position: fixed; bottom: 26px; right: 26px; z-index: 900;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--gold); color: #fff; font-size: 18px; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
}
#toTop.show { opacity: 1; pointer-events: auto; }
#toTop:hover { background: var(--gold-dark); transform: translateY(-3px); }

.wa-float {
  position: fixed; bottom: 26px; left: 26px; z-index: 900;
  width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
  box-shadow: var(--shadow); transition: transform .3s;
}
.wa-float:hover { transform: scale(1.1); color: #fff; }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 980px) {
  .intro__grid, .fac__grid, .contact__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; top: var(--header-h); right: 0; height: calc(100vh - var(--header-h));
    width: 260px; background: var(--dark); flex-direction: column; align-items: stretch;
    padding: 20px; gap: 4px; transform: translateX(100%); transition: transform .3s; box-shadow: -10px 0 30px rgba(0,0,0,.3);
  }
  .nav__menu.open { transform: translateX(0); }
  .nav__menu a { padding: 14px; border-bottom: 1px solid #2a2a2a; }
  .services { background-attachment: scroll; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
@media (max-width: 440px) {
  .nav__logo span { font-size: 16px; }
  .services__grid { grid-template-columns: 1fr; }
}
