/* ==========================================================================
   Vardhan Villa Manali — static site
   Colors / fonts matched from the live Elementor site's kit CSS
   ========================================================================== */

:root {
  --primary: #7E3E10;
  --primary-hover: #481D07;
  --secondary: #54595F;
  --text: #121212;
  --gold: #FFEC73;
  --cream: #FFEFE4;
  --cream-2: #FFF1E8;
  --navy: #313741;
  --footer-brown: #583115;
  --light: #EDF2F7;
  --lighter: #F7FAFC;
  --contact-bg: #F7FAFC;
  --font-heading: "Nunito", sans-serif;
  --font-body: "Nunito Sans", sans-serif;
  --container-max: 1140px;
  --shadow-sm: 0 2px 10px rgba(30, 15, 5, .08);
  --shadow-md: 0 10px 30px rgba(30, 15, 5, .12);
  --shadow-lg: 0 20px 45px rgba(30, 15, 5, .18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  line-height: 1.6;
  background-color: #ffffff;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  margin: 0 0 .5em;
}

p { margin: 0 0 1em; }

a { text-decoration: none; color: inherit; }

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 75px 0; position: relative; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--cream);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.eyebrow.center { display: block; width: fit-content; margin-left: auto; margin-right: auto; }

.section-heading {
  font-size: 3rem;
  font-weight: 600;
  color: var(--primary);
  position: relative;
  padding-bottom: 16px;
}

.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
}

.section-heading.center { text-align: center; }
.section-heading.center::after { left: 50%; transform: translateX(-50%); }

.section-subheading {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 2em;
  color: var(--secondary);
}

.section-subheading.center { text-align: center; }
.section-subheading.accent { color: var(--primary); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color .3s, color .3s, transform .2s, box-shadow .3s;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--light);
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---------- Header ---------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background-color: var(--footer-brown);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
}

#site-nav {
  display: flex;
  gap: 28px;
}

#site-nav a {
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  opacity: .92;
  position: relative;
}
#site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .25s;
}
#site-nav a:hover { opacity: 1; }
#site-nav a:hover::after { width: 100%; }

#nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}
#nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.webp');
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 40px 20px;
}

.hero-eyebrow {
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: .5em;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}

.hero-title {
  font-size: 4rem;
  font-weight: 600;
  color: var(--gold);
  text-shadow: 0 2px 18px rgba(0, 0, 0, .6);
  margin-bottom: 1em;
}

.hero-btn {
  font-size: .95rem;
  letter-spacing: .05em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

/* ---------- Section dividers (torn-paper / cloud effect) ---------- */
.divider {
  position: relative;
  height: 80px;
  margin-top: -80px;
  z-index: 5;
  background-color: #ffffff;
  pointer-events: none;
}

.divider-white { background-color: #ffffff; }
.divider-cream { background-color: var(--cream); }
.divider-contact { background-color: var(--contact-bg); }

.divider-a {
  clip-path: polygon(
    0% 51.2%, 3.333% 47.5%, 6.667% 55.2%, 10% 44.8%, 13.333% 33.4%, 16.667% 42.2%,
    20% 35.3%, 23.333% 5.5%, 26.667% 41.2%, 30% 45.4%, 33.333% 41.6%, 36.667% 20.2%,
    40% 43.3%, 43.333% 54.6%, 46.667% 57.1%, 50% 51.7%, 53.333% 12.5%, 56.667% 9.9%,
    60% 38.5%, 63.333% 48.3%, 66.667% 11.5%, 70% 26.8%, 73.333% 19.7%, 76.667% 29.7%,
    80% 39.4%, 83.333% 4.7%, 86.667% 32.5%, 90% 44.2%, 93.333% 26.3%, 96.667% 42.9%, 100% 9.2%,
    100% 100%, 0% 100%
  );
}

.divider-b {
  clip-path: polygon(
    0% 31%, 3.333% 20.1%, 6.667% 11.8%, 10% 15%, 13.333% 55%, 16.667% 39%,
    20% 43.2%, 23.333% 31.7%, 26.667% 52.3%, 30% 28.4%, 33.333% 28.1%, 36.667% 19.6%,
    40% 48.7%, 43.333% 12.2%, 46.667% 18.9%, 50% 16.9%, 53.333% 6.8%, 56.667% 18.1%,
    60% 10.9%, 63.333% 34.9%, 66.667% 40.1%, 70% 53.7%, 73.333% 9.5%, 76.667% 52.8%,
    80% 4.8%, 83.333% 24.1%, 86.667% 47.3%, 90% 54.4%, 93.333% 31.9%, 96.667% 43.9%, 100% 5.6%,
    100% 100%, 0% 100%
  );
}

/* ---------- About ---------- */
.about-section { background-color: #ffffff; }

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

.about-image img {
  border-radius: 10px;
  margin: 25px;
  width: calc(100% - 50px);
  box-shadow: var(--shadow-lg);
}

.about-inquiry {
  color: var(--primary);
  font-size: 1.1rem;
}

/* ---------- Tariffs ---------- */
.tariffs-section { background-color: var(--cream); }

.tariff-tables {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}

.table-card {
  flex: 1 1 320px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.table-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.table-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: linear-gradient(120deg, var(--primary), var(--primary-hover));
}

.table-label {
  font-weight: 700;
  color: #fff;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.table-badge {
  background-color: var(--gold);
  color: var(--primary-hover);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

.tariff-table {
  width: 100%;
  border-collapse: collapse;
}

.tariff-table th,
.tariff-table td {
  padding: 12px 22px;
  text-align: left;
  font-size: .95rem;
}

.tariff-table th {
  background-color: var(--cream);
  color: var(--primary);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.tariff-table tbody tr:nth-child(even) { background-color: #FBF6F1; }
.tariff-table tbody tr { transition: background-color .2s; }
.tariff-table tbody tr:hover { background-color: var(--cream); }

.tariff-table tbody tr.row-highlight {
  background-color: var(--cream) !important;
  font-weight: 700;
}
.tariff-table tbody tr.row-highlight td:first-child { color: var(--primary); }

.tariff-legend {
  text-align: center;
  font-size: .9rem;
  color: var(--secondary);
  margin-bottom: 40px;
}
.tariff-legend strong { color: var(--primary); }

.facilities-box {
  background: linear-gradient(155deg, var(--navy), #232a33);
  color: var(--lighter);
  padding: 45px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.facilities-box h3 {
  color: var(--lighter);
  margin-bottom: 1.2em;
  text-align: center;
  font-size: 1.5rem;
}

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

.facilities-columns ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.facilities-columns li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--light);
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.facilities-columns li:last-child { border-bottom: none; }

.fac-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--gold);
}

/* ---------- Gallery ---------- */
.gallery-section { background-color: #ffffff; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s;
}
.gallery-item:hover { box-shadow: var(--shadow-lg); }

.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .35s ease;
}

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

/* ---------- Contact ---------- */
.contact-section { background-color: var(--contact-bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.inquiry-form {
  background: linear-gradient(155deg, var(--primary), var(--primary-hover));
  padding: 30px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-lg);
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: .95rem;
  background-color: rgba(255,255,255,.95);
  color: var(--text);
  transition: box-shadow .2s;
}
.inquiry-form input:focus,
.inquiry-form textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 236, 115, .6);
}

.inquiry-form textarea { resize: vertical; }

.btn-submit {
  align-self: flex-start;
  background-color: #1ea952;
  color: #fff;
}
.btn-submit:hover { background-color: #178a42; transform: translateY(-2px); }

.map-wrap h3 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.map-embed {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.noscript-note {
  color: var(--light);
  background: rgba(0, 0, 0, .2);
  padding: 10px 12px;
  border-radius: 6px;
  font-size: .85rem;
  margin: 0;
}
.noscript-note a { text-decoration: underline; color: var(--gold); }

/* ---------- Footer ---------- */
#site-footer {
  background-color: var(--cream-2);
  border-top: 5px solid var(--primary);
  text-align: center;
}

.footer-inner { padding: 45px 20px; }

.footer-title {
  color: var(--primary);
  font-size: 1.4rem;
}

.footer-address { font-weight: 600; }

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-weight: 600;
}

.footer-website a { color: var(--primary); font-weight: 600; }

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 18px 0;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.footer-socials a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: .9rem;
}

.footer-bottom {
  background-color: var(--navy);
  color: var(--light);
  text-align: center;
  padding: 14px 20px;
  font-size: .85rem;
}

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
  z-index: 900;
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.lightbox.open { display: flex; }

.lightbox-image {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
}
.lightbox-close { top: 16px; right: 24px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }

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

/* ==========================================================================
   Responsive — breakpoints match the original site (1024px / 767px)
   ========================================================================== */

@media (max-width: 1024px) {
  .container { max-width: 100%; }
}

@media (max-width: 900px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .about-image { order: -1; }
}

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

  #site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background-color: var(--footer-brown);
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    gap: 0;
    display: none;
  }
  #site-nav.open { display: flex; }
  #site-nav a { padding: 12px; width: 100%; text-align: center; }
  #nav-toggle { display: flex; }

  .hero { min-height: 80vh; }
  .hero-bg { background-image: url('../images/hero-bg-mobile.webp') !important; }
  .hero-eyebrow { font-size: 1rem; }
  .hero-title { font-size: 2rem; }

  .divider { height: 36px; margin-top: -36px; }

  .section-heading { font-size: 1.75rem; }

  .facilities-columns { grid-template-columns: 1fr; }
  .facilities-box { padding: 25px; }

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

  .footer-contacts { flex-direction: column; gap: 8px; }
}
