/* ===================================
   TINY AND MIGHTY - Stylesheet
   Color Palette:
   - #598392 (Soft Teal Blue)
   - #124559 (Deep Teal)
   - #aec3b0 (Sage Green)
   - #eff6e0 (Light Cream)
   - #0b2545 (Dark Navy)
   - #f6a7bb (Soft Pink)
   =================================== */

/* CSS Custom Properties */
:root {
  --color-teal-soft: #598392;
  --color-teal-deep: #124559;
  --color-sage: #aec3b0;
  --color-cream: #eff6e0;
  --color-navy: #0b2545;
  --color-pink: #f6a7bb;

  /* Functional Colors */
  --color-primary: #124559;
  --color-primary-light: #598392;
  --color-secondary: #aec3b0;
  --color-accent: #f6a7bb;
  --color-background: #eff6e0;
  --color-text: #0b2545;
  --color-text-light: #598392;

  /* Typography */
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 6rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(11, 37, 69, 0.08);
  --shadow-md: 0 4px 20px rgba(11, 37, 69, 0.12);
  --shadow-lg: 0 8px 40px rgba(11, 37, 69, 0.16);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-navy);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-teal-deep);
  line-height: 1.8;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-light) 100%
  );
  color: white;
  box-shadow: 0 4px 15px rgba(18, 69, 89, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(18, 69, 89, 0.4);
}

.btn-large {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.nav-logo img {
  height: 50px;
  width: auto;
  transition: var(--transition-fast);
}

.navbar.scrolled .nav-logo img {
  height: 40px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  position: relative;
  font-weight: 500;
  color: white;
  transition: var(--transition-fast);
}

.navbar.scrolled .nav-link {
  color: var(--color-navy);
}

.nav-link:hover {
  color: var(--color-accent);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--color-accent);
  color: var(--color-navy) !important;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--color-pink);
  transform: scale(1.05);
}

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

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: var(--transition-fast);
}

.navbar.scrolled .nav-toggle span {
  background: var(--color-navy);
}

/* Hero Section - Enhanced */
.hero {
  position: relative;
  height: 100vh;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 60px;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--color-navy) 0%,
    #0d3251 25%,
    var(--color-teal-deep) 50%,
    var(--color-teal-soft) 100%
  );
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(246, 167, 187, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(89, 131, 146, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 20% 80%, rgba(174, 195, 176, 0.15) 0%, transparent 50%);
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(246, 167, 187, 0.2) 0%, transparent 60%);
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

/* Floating Particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: particleFloat 15s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 25%; top: 80%; animation-delay: 2s; animation-duration: 18s; width: 6px; height: 6px; }
.particle:nth-child(3) { left: 45%; top: 30%; animation-delay: 4s; animation-duration: 14s; width: 10px; height: 10px; }
.particle:nth-child(4) { left: 70%; top: 70%; animation-delay: 1s; animation-duration: 16s; }
.particle:nth-child(5) { left: 85%; top: 25%; animation-delay: 3s; animation-duration: 13s; width: 5px; height: 5px; }
.particle:nth-child(6) { left: 15%; top: 60%; animation-delay: 5s; animation-duration: 17s; }
.particle:nth-child(7) { left: 60%; top: 15%; animation-delay: 2.5s; animation-duration: 15s; width: 7px; height: 7px; }
.particle:nth-child(8) { left: 90%; top: 50%; animation-delay: 0.5s; animation-duration: 14s; }

@keyframes particleFloat {
  0%, 100% { 
    transform: translateY(0) translateX(0) scale(1); 
    opacity: 0.3;
  }
  25% { 
    transform: translateY(-30px) translateX(15px) scale(1.2); 
    opacity: 0.6;
  }
  50% { 
    transform: translateY(-60px) translateX(-10px) scale(1); 
    opacity: 0.8;
  }
  75% { 
    transform: translateY(-30px) translateX(20px) scale(0.8); 
    opacity: 0.5;
  }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: var(--spacing-lg);
  max-width: 1000px;
  width: 100%;
}

/* Large Logo Banner */
.hero-logo-container {
  position: relative;
  margin-bottom: var(--spacing-md);
  animation: logoReveal 1.2s ease-out 0.2s both;
}

/* Constant light backdrop for logo visibility */
.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  height: 130%;
  background: radial-gradient(ellipse, rgba(239, 246, 224, 0.85) 0%, rgba(174, 195, 176, 0.5) 35%, transparent 65%);
  filter: blur(50px);
  z-index: 1;
}

/* Pink pulse overlay that animates on top */
.hero-logo-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(246, 167, 187, 0.6) 0%, transparent 55%);
  filter: blur(40px);
  z-index: 0;
  animation: pinkPulse 3s ease-in-out infinite;
}

@keyframes pinkPulse {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-logo {
  width: min(70vw, 450px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.15));
  position: relative;
  z-index: 2;
}

@keyframes logoReveal {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Tagline */
.hero-tagline {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: var(--spacing-xl);
  animation: fadeInUp 1s ease 0.6s both;
}

.tagline-emphasis {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--color-accent);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.tagline-main {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: white;
  font-weight: 500;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* CTA Buttons */
.hero-cta-group {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.8s both;
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(246, 167, 187, 0.4) 0%, transparent 50%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
}

.btn-glow:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

/* Scroll Indicator - Inline Flow */
.hero-scroll-inline {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-lg);
  animation: fadeIn 1s ease 1.2s both;
}

.scroll-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--color-accent);
  transition: all 0.3s ease;
  animation: bounceDown 2s ease-in-out infinite;
}

.scroll-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--color-accent);
  transform: translateY(5px);
}

.scroll-arrow svg {
  stroke: var(--color-accent);
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Photo Accent */
.hero-photo-accent {
  position: absolute;
  bottom: -50px;
  right: 5%;
  width: 200px;
  height: 250px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transform: rotate(6deg);
  animation: photoSlideIn 1s ease 1s both;
  z-index: 5;
  border: 4px solid rgba(255, 255, 255, 0.2);
}

.hero-photo-accent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 69, 89, 0.3), transparent);
  z-index: 1;
}

.photo-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}

.accent-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.accent-photo.active {
  opacity: 1;
}

@keyframes photoSlideIn {
  from {
    opacity: 0;
    transform: rotate(6deg) translateY(100px);
  }
  to {
    opacity: 1;
    transform: rotate(6deg) translateY(0);
  }
}

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

/* Hero Responsive */
@media (max-width: 1024px) {
  .hero-photo-accent {
    width: 150px;
    height: 190px;
    right: 3%;
    bottom: -30px;
  }
}

@media (max-width: 768px) {
  .hero-logo {
    width: min(75vw, 350px);
  }
  
  .hero-photo-accent {
    display: none;
  }
  
  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-cta-group .btn {
    width: 200px;
  }
  
  .tagline-emphasis {
    letter-spacing: 2px;
  }
  
  /* Reduce spacing for mobile */
  .hero-logo-container {
    margin-bottom: var(--spacing-sm);
  }
  
  .hero-tagline {
    margin-bottom: var(--spacing-md);
  }
  
  .hero-scroll-inline {
    margin-top: var(--spacing-md);
  }
  
  .hero-content {
    padding: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .hero-logo {
    width: min(70vw, 280px);
  }
  
  .hero-glow {
    width: 350px;
    height: 350px;
  }
  
  .logo-glow {
    width: 280px;
    height: 280px;
  }
  
  .hero-logo-container {
    margin-bottom: 0.5rem;
  }
  
  .hero-tagline {
    margin-bottom: var(--spacing-sm);
    gap: 0.125rem;
  }
  
  .tagline-emphasis {
    font-size: 0.875rem;
    letter-spacing: 1px;
  }
  
  .tagline-main {
    font-size: 1.25rem;
  }
  
  .hero-scroll-inline {
    margin-top: var(--spacing-sm);
  }
  
  .scroll-arrow {
    width: 40px;
    height: 40px;
  }
  
  .scroll-arrow svg {
    width: 22px;
    height: 22px;
  }
}

/* Section Styles */
.section {
  padding: var(--spacing-xxl) 0;
}

.section-header {
  margin-bottom: var(--spacing-xl);
}

.section-header.center {
  text-align: center;
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: var(--spacing-sm);
}

/* Mission Section */
.mission-section {
  background: white;
}

.mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.mission-text .lead {
  margin-bottom: var(--spacing-md);
}

.rounded-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-slow);
}

.rounded-image:hover {
  transform: scale(1.02);
}

/* About Section */
.about-section {
  background: linear-gradient(135deg, var(--color-cream) 0%, white 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.about-image {
  order: -1;
}

/* Tillie Section */
.tillie-section {
  background: white;
  overflow: hidden;
}

.tillie-content {
  max-width: 800px;
  margin: 0 auto var(--spacing-xl);
  text-align: center;
}

.tillie-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--spacing-md);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 69, 89, 0.5), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 1;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

/* Events Section */
.events-section {
  background: linear-gradient(
    135deg,
    var(--color-teal-deep) 0%,
    var(--color-navy) 100%
  );
  color: white;
}

.events-section .section-label {
  color: var(--color-accent);
}

.events-section h2 {
  color: white;
}

.event-card {
  display: flex;
  gap: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  transition: all var(--transition-normal);
}

.event-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: var(--spacing-md);
  background: var(--color-accent);
  border-radius: var(--radius-md);
  color: var(--color-navy);
}

.event-date .day {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  font-family: var(--font-display);
}

.event-date .month {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-details {
  flex: 1;
}

.event-details h3 {
  color: white;
  margin-bottom: var(--spacing-sm);
}

.event-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-sage);
  margin-bottom: var(--spacing-md);
  font-weight: 500;
}

.event-details p {
  color: rgba(255, 255, 255, 0.9);
}

.event-cta {
  color: var(--color-cream) !important;
  background: rgba(255, 255, 255, 0.1);
  padding: var(--spacing-sm);
  border-radius: var(--radius-sm);
  margin-top: var(--spacing-sm);
}

.registration-note {
  color: var(--color-accent) !important;
  font-style: italic;
  font-weight: 500;
}

/* Donate Section */
.donate-section {
  background: linear-gradient(
    135deg,
    var(--color-sage) 0%,
    var(--color-secondary) 100%
  );
  text-align: center;
}

.donate-content {
  max-width: 700px;
  margin: 0 auto;
}

.donate-content h2 {
  margin-bottom: var(--spacing-md);
}

.donate-content p {
  font-size: 1.125rem;
  color: var(--color-navy);
}

.donate-content .btn {
  margin-top: var(--spacing-md);
}

.donate-note {
  font-size: 0.875rem;
  color: var(--color-teal-deep);
  font-style: italic;
  margin-top: var(--spacing-sm);
}

/* Footer */
.footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.8);
  padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--spacing-xl);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  width: 80px;
  margin-bottom: var(--spacing-md);
}

.footer-brand p {
  max-width: 300px;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.footer h4 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: var(--spacing-md);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  padding-top: var(--spacing-lg);
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .mission-content,
  .about-content {
    gap: var(--spacing-lg);
  }

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

  .tillie-gallery .gallery-item:nth-child(4),
  .tillie-gallery .gallery-item:nth-child(5) {
    grid-column: span 1;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    background: var(--color-navy);
    transition: right var(--transition-normal);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu .nav-link {
    color: white;
    font-size: 1.5rem;
  }

  /* Force white color even when navbar is scrolled (overrides .navbar.scrolled .nav-link) */
  .navbar.scrolled .nav-menu.active .nav-link {
    color: white;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .mission-content,
  .about-content {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: 0;
  }

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

  .tillie-gallery .gallery-item:last-child {
    grid-column: span 2;
  }

  .event-card {
    flex-direction: column;
    text-align: center;
  }

  .event-date {
    flex-direction: row;
    gap: var(--spacing-sm);
    width: fit-content;
    margin: 0 auto;
  }

  .event-location {
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-logo {
    margin: 0 auto var(--spacing-md);
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-links ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-xxl: 4rem;
  }

  .hero-logo {
    width: min(85vw, 320px);
  }

  .hero-tagline {
    font-size: 1.125rem;
  }

  .tillie-gallery {
    grid-template-columns: 1fr;
  }

  .tillie-gallery .gallery-item:last-child {
    grid-column: auto;
  }

  .event-date .day {
    font-size: 2rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}
.mb-0 {
  margin-bottom: 0;
}
.mt-auto {
  margin-top: auto;
}

/* Animation on Scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
