/* ===== 00. REGISTRATION BANNER ===== */
.registration-banner {
  padding: var(--spacing-lg) var(--spacing-md);
  text-align: center;
  animation: slideDown 0.5s ease-out;
}

.registration-banner.pre-registration {
  background-color: #fff3cd;
  border-bottom: 2px solid #ffc107;
  color: #856404;
}

.registration-banner.pre-registration h3 {
  margin: 0 0 var(--spacing-xs) 0;
  font-size: 1.3rem;
  font-weight: 700;
}

.registration-banner.pre-registration p {
  margin: 0;
  font-size: 0.95rem;
}

.registration-banner.registration-open {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  border-bottom: 2px solid #28a745;
  color: #155724;
}

.registration-banner.registration-open h3 {
  margin: 0 0 var(--spacing-xs) 0;
  font-size: 1.3rem;
  font-weight: 700;
}

.registration-banner.registration-open p {
  margin: 0 0 var(--spacing-md) 0;
  font-size: 0.95rem;
}

.banner-cta {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: #28a745;
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
}

.banner-cta:hover {
  background-color: #218838;
  transform: translateY(-2px);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== 01. HERO SECTION (REPLICATED EXACTLY) ===== */
.hero {
  background: linear-gradient(
    135deg,
    rgba(93, 78, 55, 0.75),
    rgba(107, 91, 69, 0.75)
  );
  background-size: cover;
  background-position: center;
  color: var(--bg-white);
  padding: 8rem var(--spacing-md) 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 10;
  animation: slideUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--spacing-lg);
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--bg-white);
  font-weight: 900;
  letter-spacing: 2px;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-xl);
  color: rgba(255, 255, 255, 0.9);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== 02. FEATURED SECTION WITH NARRATIVE ===== */
.featured {
  background-color: var(--bg-white);
  padding: var(--spacing-xl) var(--spacing-md);
  border-top: 1px solid var(--accent-color);
  margin-top: var(--spacing-xl);
  position: relative;
}

.featured::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 20%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  border-radius: 50%;
  opacity: 0.15;
}

.featured h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: var(--spacing-lg);
}

.narrative-section {
  max-width: 900px;
  margin: 0 auto;
}

.narrative-text {
  font-size: 0.5 rem;
  line-height: 1.8;
  margin-bottom: var(--spacing-lg);
  color: var(--text-light);
  text-align: left;
}

/* ===== 03. STORY & NARRATIVE BLOCKS ===== */
.story-section {
  background-color: var(--bg-white);
  padding: var(--spacing-xxl) var(--spacing-md);
}

.story-content {
  max-width: 900px;
  margin: 0 auto;
}

.story-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: var(--spacing-lg);
  color: var(--text-light);
  text-align: center;
}


.gallery-section {
  padding: var(--spacing-xxl) 0;
  background-color: var(--bg-white);
}

.gallery-intro {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-intro .eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}

/* ===== 04. SIDE-SCROLLING CAROUSEL GALLERY ===== */
.gallery-section {
  padding: var(--spacing-xxl) 0;
  background-color: var(--bg-white);
  overflow: hidden; /* Prevents horizontal scroll on the whole page */
}

.carousel-gallery {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding: 10px var(--spacing-md) var(--spacing-md); 
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Customizing the scrollbar to match your theme */
.carousel-gallery::-webkit-scrollbar {
  height: 8px;
}
.carousel-gallery::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 4px;
}
.carousel-gallery::-webkit-scrollbar-track {
  background: var(--border-color);
  border-radius: 4px;
  margin: 0 var(--spacing-md);
}

.carousel-item {
  /* This shows ~80% of one image, teasing the next one off-screen */
  flex: 0 0 85%; 
  max-width: 450px;
  scroll-snap-align: center;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-light);
  position: relative;
}

.carousel-item img {
  width: 100%;
  height: 350px; /* Forces a uniform height for a clean carousel track */
  object-fit: cover; /* Ensures images fill the box without squishing */
  display: block;
  filter: grayscale(10%) contrast(1.05);
  transition: filter 0.3s ease, transform 0.5s ease;
}

.carousel-item:hover img {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.03);
}

/* ===== 05. ENHANCED CTA SECTION ===== */
.cta-section {
  /* Creates a richer, darker gradient background */
  background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
  color: var(--bg-white);
  text-align: center;
  padding: 5rem var(--spacing-md);
  position: relative;
  border-top: 4px solid var(--accent-color);
}

.cta-section h2 {
  color: var(--bg-white);
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

.cta-section p {
  color: var(--bg-light);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

/* ===== THE BUTTON ===== */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1rem 2.5rem;
  background-color: var(--accent-color);
  color: var(--bg-white);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 50px; /* Gives it a modern pill shape */
  
  /* Creates a subtle colored glow effect */
  box-shadow: 0 4px 15px rgba(193, 122, 74, 0.4); 
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.cta-button .arrow {
  transition: transform 0.3s ease;
}

/* Hover Animation Effects */
.cta-button:hover {
  background-color: var(--primary-color);
  border-color: var(--accent-color);
  color: var(--accent-color);
  box-shadow: 0 6px 20px rgba(193, 122, 74, 0.6);
  transform: translateY(-3px); /* Lifts the button up slightly */
}

.cta-button:hover .arrow {
  transform: translateX(5px); /* Slides the arrow to the right */
}

/* ===== 06. ABOUT BLURB SECTION ===== */
.about-blurb-section {
  padding: var(--spacing-xxl) 0;
  background-color: var(--bg-white); /* Keeps it bright to contrast with the dark CTA or Footer */
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.blurb-content {
  max-width: 800px; /* Keeps the paragraph from getting too wide and hard to read */
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.blurb-content h2 {
  color: var(--text-dark);
  font-size: 2.2rem;
  margin-bottom: var(--spacing-sm);
}

.blurb-content p {
  color: var(--text-light);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: var(--spacing-lg);
}

/* ===== SECONDARY OUTLINE BUTTON ===== */
/* This piggybacks off your existing .cta-button class but overrides the colors */
.outline-button {
  background-color: transparent;
  justify-self: center;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  box-shadow: none; /* Removes the glowing shadow for a cleaner look */
}

.outline-button:hover {
  background-color: var(--accent-color);
  color: var(--bg-white);
  border-color: var(--accent-color);
  box-shadow: 0 4px 15px rgba(193, 122, 74, 0.3); /* Adds a subtle shadow on hover */
  transform: translateY(-3px);
}
/* ===== 06. HOME RESPONSIVE OVERRIDES ===== */


@media (max-width: 768px) {
  .hero {
    padding: 4rem var(--spacing-md) 3rem;
  }
  .hero h2 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
}

