/* ============================================================
   HOTEL JATRA COUNTRYSIDE — Shared Stylesheet
   Font Awesome 6 via CDN | Playfair Display + Lato (Google Fonts)
============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --green-dark:    #2c4a1e;
  --green-mid:     #4a7c2f;
  --green-light:   #7aad55;
  --orange:        #e8590c;
  --orange-light:  #f0793a;
  --cream:         #fdf8f0;
  --beige:         #f5e6c8;
  --beige-dark:    #e2cfa0;
  --wood-dark:     #3d2b1f;
  --wood-mid:      #7a5c3a;
  --text-dark:     #1a1a0e;
  --text-mid:      #4a3828;
  --text-light:    #8a7060;
  --white:         #ffffff;
  --border:        #e0cfb0;
  --shadow-sm:     0 4px 16px rgba(0,0,0,0.08);
  --shadow-md:     0 10px 36px rgba(0,0,0,0.12);
  --shadow-lg:     0 24px 64px rgba(0,0,0,0.18);
  --radius:        6px;
  --transition:    0.32s ease;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}
body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: clip;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

/* ── Utilities ──────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  color: var(--green-dark);
  margin-bottom: 14px;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.85;
  max-width: 620px;
}
.divider {
  width: 56px;
  height: 3px;
  background: var(--orange);
  margin: 18px 0 26px;
}
.divider--center { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.btn-primary  { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-primary:hover { background: transparent; color: var(--orange); }
.btn-outline  { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--green-dark); }
.btn-green    { background: var(--green-dark); color: var(--white); border-color: var(--green-dark); }
.btn-green:hover { background: transparent; color: var(--green-dark); }
.btn-outline-dark { background: transparent; color: var(--green-dark); border-color: var(--green-dark); }
.btn-outline-dark:hover { background: var(--green-dark); color: var(--white); }

/* ── Scroll Reveal ───────────────────────────────────────────── */
.reveal        { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left   { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right  { opacity: 0; transform: translateX(40px);  transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1; transform: translate(0);
}

/* ── Navbar ──────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  transition: all var(--transition);
}
#navbar.scrolled {
  background: rgba(30, 50, 18, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.22);
}
#navbar.nav-solid {
  background: var(--green-dark);
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(0,0,0,0.4));
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  padding: 4px 0;
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links .nav-cta {
  background: var(--orange);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius);
  letter-spacing: 1px;
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: var(--orange-light); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
/* Hide hamburger when drawer is open — drawer has its own close btn */
.hamburger.open {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* ── Overlay ─────────────────────────────────────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.nav-overlay.active { opacity: 1; pointer-events: auto; }

/* ── Slide-in Drawer ─────────────────────────────────────────── */
.mobile-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(310px, 85vw);
  max-width: 100vw;
  background: var(--green-dark);
  z-index: 1002;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -8px 0 40px rgba(0,0,0,0.3);
}
.mobile-drawer.open { transform: translateX(0); }

.drawer-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 56px 22px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.drawer-logo {
  height: 38px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.drawer-close {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  flex-shrink: 0;
}
.drawer-close:hover { background: rgba(255,255,255,0.22); }

.drawer-nav {
  flex: 1;
  padding: 16px 0;
}
.drawer-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  border-left: 3px solid transparent;
  text-decoration: none;
  transition: all 0.22s ease;
}
.drawer-nav a i {
  width: 18px;
  text-align: center;
  color: var(--orange-light);
  font-size: 0.88rem;
  flex-shrink: 0;
}
.drawer-nav a:hover,
.drawer-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.07);
  border-left-color: var(--orange);
}
.drawer-nav a.active i { color: var(--orange); }
.drawer-reserve-wrap {
  padding: 16px 20px 8px;
}
.drawer-reserve-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--transition);
}
.drawer-reserve-btn:hover { background: var(--orange-light); }

.drawer-footer {
  padding: 18px 24px 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.drawer-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}
.drawer-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}
.drawer-info p i {
  color: var(--orange-light);
  font-size: 0.78rem;
  width: 14px;
  flex-shrink: 0;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(310px, 85vw);
  max-width: 100vw;
  background: var(--green-dark);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -8px 0 40px rgba(0,0,0,0.3);
}
.mobile-nav.open { transform: translateX(0); }

.mobile-close {
  width: 36px;
  height: 36px;
  margin: 14px 16px 8px auto;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mobile-close:hover { background: rgba(255,255,255,0.22); }

.mobile-nav a {
  display: block;
  padding: 14px 24px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  border-left: 3px solid transparent;
  text-decoration: none;
  transition: all 0.22s ease;
}
.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  color: var(--white);
  background: rgba(255,255,255,0.07);
  border-left-color: var(--orange);
}

/* ── Page Banner (inner pages) ───────────────────────────────── */
.page-banner {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 0;
}
.page-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: bannerZoom 8s ease forwards;
}
@keyframes bannerZoom { to { transform: scale(1); } }
.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,40,12,0.75) 0%, rgba(50,28,10,0.55) 100%);
}
.page-banner-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding-top: 72px;
}
.page-banner-content .breadcrumb {
  font-size: 0.78rem;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-banner-content .breadcrumb a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.page-banner-content .breadcrumb a:hover { color: var(--white); }
.page-banner-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.page-banner-content .page-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  margin-top: 10px;
}

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  background: var(--wood-dark);
  color: rgba(255,255,255,0.7);
}
.footer-main {
  padding: 64px 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}
.footer-brand .footer-logo {
  height: 50px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  font-size: 0.87rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.55);
  max-width: 260px;
}
.footer-col h4 {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-col ul li a i { margin-right: 8px; font-size: 0.8rem; color: var(--orange-light); }
.footer-hours li {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
  line-height: 1.5;
}
.footer-hours li strong { color: var(--white); display: block; }
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.social-link:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.38); }

/* ── Scroll To Top ────────────────────────────────────────────── */
#scroll-top {
  position: fixed;
  bottom: 28px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 900;
}
#scroll-top.visible { opacity: 1; pointer-events: auto; }
#scroll-top:hover { transform: translateY(-4px); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links  { display: none; }
  .hamburger  { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-banner { height: 280px; }
  .page-banner-content h1 { font-size: 2rem; }
}
@media (min-width: 769px) {
  .mobile-nav { display: none; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
}
