/* =============================================================
   Reuben's Stays — Ooty Festival 2026 Page Styles
   Prefix: rf- (rueban festival)
   ============================================================= */

/* ─── Custom Properties ─────────────────────────────────────── */
.rs-festival-page {
  --cream:       #F8F3EA;
  --parchment:   #EDE4D0;
  --white:       #FFFFFF;
  --forest:      #24332A;
  --forest-mid:  #375040;
  --sage:        #7B9E83;
  --earth:       #7C4828;
  --gold:        #B8893C;
  --gold-light:  #D4A84E;
  --purple:      #44027C;
  --purple-dark: #320160;
  --mist:        #C8D8CB;
  --text:        #1A1A18;
  --text-light:  #5C5C55;
  --text-muted:  #8A8A82;
  --max-w:       1160px;
  --radius:      2px;
  --t-base:      220ms ease;
  --t-slow:      350ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── Base Reset ────────────────────────────────────────────── */
.rs-festival-page {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

.rs-festival-page .site-header,
.rs-festival-page .site-footer,
.rs-festival-page #masthead,
.rs-festival-page #colophon { display: none !important; }

.rs-festival-page .site-content,
.rs-festival-page #content,
.rs-festival-page .ast-container,
.rs-festival-page .entry-content {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}

.rs-festival-page html { scroll-behavior: smooth; }

.rs-festival-page :focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .rs-festival-page *, .rs-festival-page *::before, .rs-festival-page *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── Nav (reuse home.css rh-nav styles via shared stylesheet) ─ */
#rh-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(36, 51, 42, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 28px rgba(0,0,0,0.22);
  transition: padding var(--t-slow);
}

.rh-nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.05em;
  text-decoration: none;
  flex-shrink: 0;
}

.rh-nav-links {
  display: flex;
  list-style: none;
  gap: 2.2rem;
  margin: 0; padding: 0;
}

.rh-nav-links a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color var(--t-base);
}
.rh-nav-links a:hover { color: var(--gold); }

.rh-nav-cta {
  color: var(--gold) !important;
}

.rh-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.rh-nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: #fff;
  transition: transform var(--t-base), opacity var(--t-base);
}
.rh-nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.rh-nav-toggle.open span:nth-child(2) { opacity: 0; }
.rh-nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.rh-nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(20,30,24,0.97);
  z-index: 190;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-slow);
}
.rh-nav-drawer.open { opacity: 1; pointer-events: auto; }

.rh-drawer-link {
  color: rgba(255,255,255,0.82);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--t-base);
}
.rh-drawer-link:hover { color: var(--gold); }

/* ─── Layout Utilities ─────────────────────────────────────── */
.rf-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.rf-section {
  padding: 5rem 0;
}

.rf-section--alt {
  background: var(--parchment);
}

.rf-eyebrow {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1rem;
}

.rf-eyebrow--light {
  color: var(--gold);
}

.rf-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--forest);
  line-height: 1.15;
  margin: 0 0 2rem;
}

.rf-heading em {
  font-style: italic;
  color: var(--earth);
}

/* ─── Scroll Reveal ─────────────────────────────────────────── */
.rf-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--t-slow), transform 0.65s var(--t-slow);
}
.rf-reveal.visible { opacity: 1; transform: translateY(0); }
.rf-reveal-d1 { transition-delay: 0.12s; }
.rf-reveal-d2 { transition-delay: 0.24s; }
.rf-reveal-d3 { transition-delay: 0.36s; }

/* ─── Poster Image ──────────────────────────────────────────── */
.rf-poster {
  background: var(--parchment);
}

.rf-poster .rf-inner {
  display: flex;
  justify-content: center;
}

.rf-poster__img {
  display: block;
  width: 100%;
  min-height: 400px;
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* ─── Festival Intro ────────────────────────────────────────── */
.rf-intro {
  margin-top: 66px;
}

.rf-intro .rf-inner {
  max-width: 800px;
}

.rf-intro__body p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin: 0 0 1.25rem;
  line-height: 1.75;
}

.rf-intro__body p:last-child { margin-bottom: 0; }

.rf-intro__highlight {
  background: rgba(184,137,60,0.1);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--forest) !important;
  font-weight: 500;
  font-style: italic;
}

/* ─── Why Stay With Us ──────────────────────────────────────── */
.rf-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.rf-why__card {
  background: var(--white);
  border: 1px solid rgba(184,137,60,0.15);
  padding: 2rem 1.75rem;
  border-radius: 4px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  transition: transform var(--t-slow), box-shadow var(--t-slow);
}

.rf-why__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}

.rf-why__icon {
  color: var(--purple);
  margin-bottom: 1.25rem;
}

.rf-why__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--forest);
  margin: 0 0 0.75rem;
}

.rf-why__text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

/* ─── Nearby Locations ──────────────────────────────────────── */
.rf-nearby__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.rf-nearby__sub {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
}

.rf-nearby__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rf-nearby__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.rf-nearby__item:first-child { border-top: 1px solid rgba(0,0,0,0.06); }

.rf-nearby__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 0.45rem;
  flex-shrink: 0;
}

.rf-nearby__name {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.18rem;
}

.rf-nearby__dist {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ─── Call to Action ────────────────────────────────────────── */
.rf-cta {
  background: var(--parchment);
  color: #000;
}

.rf-cta__inner {
  text-align: center;
}

.rf-cta__heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 300;
  color: #000;
  line-height: 1.15;
  margin: 0 0 1.25rem;
}

.rf-cta__heading em {
  font-style: italic;
  color: var(--earth);
}

.rf-cta__sub {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.rf-cta__btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Buttons ───────────────────────────────────────────────── */
.rf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border-radius: 2px;
  transition: background var(--t-base), color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}

.rf-btn--primary {
  background: var(--gold);
  color: var(--forest);
}
.rf-btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,137,60,0.35);
  color: var(--forest);
}

.rf-btn--whatsapp {
  background: #25D366;
  color: #fff;
}
.rf-btn--whatsapp:hover {
  background: #1ebe5c;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
  color: #fff;
}

/* ─── Footer ─────────────────────────────────────────────────── */
.rf-footer {
  background: var(--forest);
  color: rgba(255,255,255,0.65);
  padding: 2.5rem 0;
  text-align: center;
}

.rf-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.rf-footer__logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.rf-footer__copy {
  font-size: 0.78rem;
  margin: 0;
}

.rf-footer__back {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  transition: color var(--t-base);
}
.rf-footer__back:hover { color: var(--gold-light); }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .rf-why__grid { grid-template-columns: repeat(2, 1fr); }
  .rf-nearby__layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 900px) {
  #rh-nav { padding: 0.9rem 1.5rem; }
  .rh-nav-links { display: none; }
  .rh-nav-toggle { display: flex; }
  .rf-intro { margin-top: 54px; }
}

@media (max-width: 600px) {
  .rf-why__grid { grid-template-columns: 1fr; }
  .rf-section { padding: 3.5rem 0; }
  .rf-cta__btns { flex-direction: column; align-items: center; }
  .rf-btn { width: 100%; max-width: 280px; justify-content: center; }
  .rf-intro { margin-top: 50px; }
}
