/* ============================================
   Hotel Kenney Rideau — Custom Stylesheet
   Heritage-Inspired Modern Design
   ============================================ */

:root {
  --color-primary: #1a3c34;
  --color-primary-light: #2a5c4e;
  --color-accent: #c8a97e;
  --color-accent-light: #dfc9a8;
  --color-accent-dark: #a88b5e;
  --color-cream: #faf8f5;
  --color-warm-white: #f5f0ea;
  --color-text: #2d2d2d;
  --color-text-light: #6b6560;
  --color-stone: #8b8680;
  --color-dark: #1a1a1a;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --banner-height: 44px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-cream);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p {
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  color: var(--color-text-light);
  max-width: 65ch;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---- Utility ---- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-lg {
  padding: 8rem 0;
}

.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.text-white { color: #fff; }
.text-cream { color: var(--color-cream); }

.bg-primary { background-color: var(--color-primary); }
.bg-cream { background-color: var(--color-cream); }
.bg-warm { background-color: var(--color-warm-white); }
.bg-dark { background-color: var(--color-dark); }

.uppercase {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 500;
}

.divider {
  width: 60px;
  height: 2px;
  background: var(--color-accent);
  margin: 1.5rem auto;
}

.divider-left {
  margin: 1.5rem 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-dark);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 169, 126, 0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

.btn-dark {
  background: var(--color-primary);
  color: #fff;
}

.btn-dark:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26, 60, 52, 0.3);
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.4s var(--transition-smooth);
}

/* Home page only: nav sits below the in-flow season banner */
body.has-banner .nav {
  top: var(--banner-height);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}

.nav.scrolled .nav-logo,
.nav.scrolled .nav-link {
  color: var(--color-primary);
}

.nav.scrolled .nav-link:hover {
  color: var(--color-accent);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-logo span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 400;
  opacity: 0.8;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-accent);
  transition: width 0.3s var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--color-accent-light);
}

.nav-book {
  padding: 0.65rem 1.5rem;
  background: var(--color-accent);
  color: var(--color-dark) !important;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s;
}

.nav-book:hover {
  background: #fff;
  color: var(--color-primary) !important;
}

.nav-book::after { display: none; }

/* Mobile Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}

.nav.scrolled .nav-toggle span {
  background: var(--color-primary);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--color-primary);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transition: right 0.5s var(--transition-smooth);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links .nav-link {
    color: #fff !important;
    font-size: 1.1rem;
  }

  .nav-links .nav-book {
    margin-top: 1rem;
  }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero.loaded .hero-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    /* radial vignette: darkens the centre — exactly where the headline sits */
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(20,44,36,0.52) 0%, rgba(20,44,36,0) 70%),
    /* linear layer: rich top-to-bottom gradient in brand deep-green */
    linear-gradient(
      180deg,
      rgba(20, 44, 36, 0.55) 0%,
      rgba(20, 44, 36, 0.30) 45%,
      rgba(20, 44, 36, 0.72) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid rgba(200,169,126,0.6);
  color: var(--color-accent-light);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  /* multi-layer shadow: close sharp layer for crispness, wide diffuse layer for depth */
  text-shadow:
    0 1px 3px rgba(0,0,0,0.55),
    0 4px 16px rgba(0,0,0,0.45),
    0 8px 48px rgba(20,44,36,0.55);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--color-accent-light);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.92);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5), 0 2px 16px rgba(0,0,0,0.35);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.9s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeUp 0.8s 1.2s forwards;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.5);
  animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---- Page Hero (shorter for subpages) ---- */
.page-hero {
  position: relative;
  height: 65vh;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4rem;
  overflow: hidden;
}

.page-hero .hero-bg {
  transform: scale(1);
}

.page-hero .hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: 0 2rem;
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #fff;
  font-weight: 400;
  margin-bottom: 1rem;
}

.page-hero-sub {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  font-weight: 300;
}

/* ---- Section Headers ---- */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.section-header .uppercase {
  color: var(--color-accent);
  margin-bottom: 1rem;
  display: block;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  margin: 0 auto;
}

/* ---- Cards ---- */
.card {
  background: #fff;
  overflow: hidden;
  transition: all 0.5s var(--transition-smooth);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition-smooth);
}

.card:hover .card-image img {
  transform: scale(1.08);
}

.card-body {
  padding: 2rem;
}

.card-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
}

.card-body p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-stone);
}

.card-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-primary);
}

.card-price span {
  font-size: 0.85rem;
  color: var(--color-stone);
  font-family: var(--font-body);
}

/* ---- Grid Layouts ---- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}

/* ---- Split Sections ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 600px;
}

.split-image {
  position: relative;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 5rem;
}

.split-content h2 {
  margin-bottom: 1.5rem;
}

.split-content p {
  margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split-content {
    padding: 3rem 2rem;
  }
}

/* ---- Features/Amenities ---- */
.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-warm-white);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  color: var(--color-accent);
  font-size: 1.3rem;
}

.feature-item h4 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.feature-item p {
  font-size: 0.9rem;
}

/* ---- Testimonial ---- */
.testimonial-section {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 6rem 0;
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: rgba(255,255,255,0.95);
}

.testimonial-author {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* ---- Gallery Strip ---- */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.gallery-strip img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all 0.5s;
  cursor: pointer;
}

.gallery-strip img:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-strip img {
    height: 200px;
  }
}

/* ---- CTA Banner ---- */
.cta-banner {
  position: relative;
  padding: 6rem 0;
  text-align: center;
  overflow: hidden;
}

.cta-banner .hero-bg {
  transform: scale(1);
}

.cta-banner .hero-overlay {
  background: rgba(26, 60, 52, 0.85);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cta-content h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255,255,255,0.8);
  margin: 0 auto 2rem;
}

/* ---- Footer ---- */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand h3 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.footer-brand .tagline {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  max-width: 300px;
}

.footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.6);
}

.footer-contact a:hover {
  color: var(--color-accent);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s;
  font-size: 0.9rem;
}

.footer-social a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.footer-bottom {
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
}

.footer-bottom a:hover {
  color: var(--color-accent);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ---- Room Detail ---- */
.room-card {
  background: #fff;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  overflow: hidden;
  margin-bottom: 2rem;
  transition: box-shadow 0.4s;
}

.room-card:hover {
  box-shadow: 0 15px 50px rgba(0,0,0,0.08);
}

.room-card:nth-child(even) {
  direction: rtl;
}

.room-card:nth-child(even) > * {
  direction: ltr;
}

.room-card .card-image {
  aspect-ratio: auto;
  height: 100%;
  min-height: 350px;
}

.room-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
}

.room-card .card-body h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.room-info {
  display: flex;
  gap: 1.5rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.room-info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--color-stone);
}

.room-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.room-amenity {
  padding: 0.35rem 0.85rem;
  background: var(--color-warm-white);
  font-size: 0.75rem;
  color: var(--color-text-light);
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .room-card {
    grid-template-columns: 1fr;
  }
  .room-card:nth-child(even) {
    direction: ltr;
  }
  .room-card .card-image {
    min-height: 250px;
  }
}

/* ---- Dockage Info ---- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.info-table th,
.info-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.info-table th {
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-warm-white);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.info-table tr:hover td {
  background: rgba(200, 169, 126, 0.05);
}

/* ---- Contact Form ---- */
.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid rgba(0,0,0,0.1);
  background: #fff;
  transition: border-color 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ---- Map ---- */
.map-container {
  width: 100%;
  height: 400px;
  background: var(--color-warm-white);
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(30%) contrast(1.05);
}

/* ---- Animations ---- */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--transition-smooth);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- Wedding Timeline ---- */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--color-accent);
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -3rem;
  top: 0.5rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  transform: translateX(-50%);
  margin-left: 0.5px;
}

.timeline-item h4 {
  margin-bottom: 0.5rem;
}

.timeline-item p {
  font-size: 0.9rem;
}

/* ---- Gathering Cards ---- */
.gathering-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
}

.gathering-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition-smooth);
}

.gathering-card:hover img {
  transform: scale(1.08);
}

.gathering-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

.gathering-card-overlay h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.gathering-card-overlay p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

/* ---- Season Banner ---- */
.season-banner {
  background: var(--color-accent);
  color: var(--color-dark);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.season-banner strong {
  font-weight: 700;
}

/* ---- Parallax Image ---- */
.parallax-image {
  height: 400px;
  position: relative;
  overflow: hidden;
}

.parallax-image img {
  position: absolute;
  width: 100%;
  height: 130%;
  object-fit: cover;
  top: -15%;
}

/* ---- Stats ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  padding: 4rem 0;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- Loading ---- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-text {
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-size: 1.5rem;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ---- Scroll to Top ---- */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 100;
  border: none;
  font-size: 1rem;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
}

/* ---- Misc ---- */
.highlight-box {
  background: var(--color-warm-white);
  padding: 2rem;
  border-left: 3px solid var(--color-accent);
}

.tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--color-warm-white);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
}

/* ---- Prefers Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-bg { transform: scale(1); }
  .reveal { opacity: 1; transform: none; }
}
