/* Tender Heart Vintage - Main Stylesheet */

/* CSS Custom Properties (Design Tokens) */
:root {
  /* Brand Colors */
  --thv-dark: #294048;
  --thv-wicker: #88654F;
  --thv-heart: #FC9876;
  --thv-powder: #FFFAEA;
  --thv-sage: #6B8F71;
  --thv-burgundy: #7B3E3E;
  --thv-gold: #D4B483;
  --thv-cream: #F4E3C1;
  --thv-gray: #A3A9A4;
  
  /* Typography */
  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', system-ui, sans-serif;
  
  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Layout */
  --max-width: 72rem;
  --border-radius: 1rem;
  --border-radius-lg: 2rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--thv-dark);
  background-color: var(--thv-powder);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: var(--space-sm);
}

a {
  color: var(--thv-heart);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--thv-gold);
}

/* Utility Classes */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  width: 100%;
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Wallpaper Background */
.wallpaper-soft {
  position: relative;
}

.wallpaper-soft::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url('assets/tree-expanded-2.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: scroll;
  opacity: 0.6;
  filter: saturate(0.7) contrast(0.9);
}

/* Section base styles moved to line 300 to avoid duplication */

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--border-radius-lg);
  font-weight: 500;
  text-align: center;
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  min-height: 44px;
  min-width: 44px;
}

.btn-primary {
  background-color: var(--thv-heart);
  color: var(--thv-dark);
}

.btn-primary:hover {
  background-color: var(--thv-sage);
  color: var(--thv-powder);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--thv-cream);
  color: var(--thv-dark);
}

.btn-secondary:hover {
  background-color: var(--thv-wicker);
  color: var(--thv-powder);
  transform: translateY(-2px);
}

.btn-tertiary {
  background-color: transparent;
  color: var(--thv-dark);
  border: 2px solid var(--thv-dark);
}

.btn-tertiary:hover {
  background-color: var(--thv-dark);
  color: var(--thv-powder);
}

/* Navigation */
.nav {
  background-color: var(--thv-powder);
  border-bottom: 1px solid var(--thv-cream);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: var(--max-width);
  padding: 0;
  display: flex;
  align-items: center;
  height: 100px;
  padding: var(--space-md) var(--space-lg) var(--space-md) var(--space-xs);
  position: relative;
}

.nav-logo {
  padding-left: var(--space-sm);
  flex-shrink: 0;
  margin-right: 0;
}

.nav-logo .logo-img {
  height: 90px;
  width: auto;
  max-width: none;
  padding: 0.5rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.hamburger {
  width: 25px;
  height: 3px;
  background-color: var(--thv-dark);
  margin: 3px 0;
  transition: var(--transition-fast);
}

.nav-menu {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: space-between;
  margin-left: var(--space-lg);
  margin-right: var(--space-lg);
  position: relative;
}

.nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  margin: 0 auto;
  flex: 1;
  justify-content: center;
}

.nav-link {
  color: var(--thv-dark);
  font-weight: 500;
  font-size: 1.05rem;
  padding: var(--space-xs) var(--space-sm);
  position: relative;
  white-space: nowrap;
}

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

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

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

.nav-social {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
  margin-left: var(--space-lg);
}

.social-link {
  color: var(--thv-gray);
  font-size: 0.85rem;
}

.social-link:hover {
  color: var(--thv-heart);
}

/* Ensure all sections are properly contained and centered */
.section {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem;
  border-radius: 2rem;
  margin-bottom: var(--space-md);
}

/* Hero Section */
.hero {
  padding: var(--space-3xl) 0;
  text-align: center;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-container {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--space-md);
  position: relative;
  box-sizing: border-box;
  z-index: 2;
  background-color: rgba(244, 227, 193, 0.2);
  backdrop-filter: blur(15px);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
}

/* Floating Particles */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  animation: float-up linear infinite;
}

.particle--heart {
  background-color: var(--thv-heart);
}

.particle--sage {
  background-color: var(--thv-sage);
}

.particle--gold {
  background-color: var(--thv-gold);
}

.particle--cream {
  background-color: var(--thv-cream);
}

.particle--wicker {
  background-color: var(--thv-wicker);
}

@keyframes float-up {
  0% {
    transform: translateY(150vh) translateX(0) rotate(0deg);
    opacity: 0;
  }
  5% {
    opacity: 0.4;
  }
  95% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-150px) translateX(var(--drift, 50px)) rotate(360deg);
    opacity: 0;
  }
}

.hero-title {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
  color: var(--thv-dark);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--thv-wicker);
  margin-bottom: var(--space-lg);
}

.hero-mission {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  color: var(--thv-dark);
}

.hero-ctas {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Events Carousel */
.events-carousel {
  padding: var(--space-3xl) 0;
  background-color: var(--thv-cream);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--thv-dark);
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.carousel-track {
  display: flex;
  gap: var(--space-lg);
  transition: transform var(--transition-normal);
}

.event-card {
  flex: 0 0 380px;
  background-color: var(--thv-powder);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-fast);
}

.event-card:hover {
  transform: translateY(-4px);
}

.event-image {
  height: 240px;
  overflow: hidden;
}

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

.event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-content {
  padding: var(--space-lg);
}

.event-date {
  font-weight: 600;
  color: var(--thv-heart);
  margin-bottom: var(--space-xs);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-time {
  font-size: 0.875rem;
  color: var(--thv-gray);
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

.event-title {
  margin-bottom: var(--space-xs);
  color: var(--thv-dark);
}

.event-description {
  font-size: 0.9rem;
  color: var(--thv-wicker);
  margin-bottom: var(--space-sm);
}

.event-link {
  color: var(--thv-heart);
  font-weight: 500;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--thv-heart);
  color: var(--thv-dark);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  transition: background-color var(--transition-fast);
}

.carousel-btn:hover {
  background-color: var(--thv-gold);
}

.carousel-prev {
  left: -25px;
}

.carousel-next {
  right: -25px;
}

/* Featured Stories */
.featured-stories {
  padding: var(--space-3xl) 0;
  background: linear-gradient(to bottom, var(--thv-dark) 0%, var(--thv-dark) 100%);
  position: relative;
}

.featured-stories::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  pointer-events: none;
}

.featured-stories .section-title {
  color: var(--thv-cream);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  max-width: 1200px;
  gap: var(--space-lg);
  padding: 2rem;
  justify-items: center;
  width: 100%;
}

.story-card {
  background-color: var(--thv-powder);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-fast);
  width: 100%;
  max-width: 280px;
  height: 520px;
  display: flex;
  flex-direction: column;
}

.story-card:hover {
  transform: translateY(-4px);
}

.story-image {
  height: 200px;
  width: 100%;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

/* Dynamic particles for featured stories */
.story-image::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--thv-heart);
  opacity: 0.7;
  z-index: 2;
  animation: story-particle-float 8s ease-in-out infinite;
}

.story-image::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--thv-sage);
  opacity: 0.6;
  z-index: 2;
  animation: story-particle-float 10s ease-in-out infinite reverse;
}

/* Different positions for each story card */
.story-card:nth-child(1) .story-image::before {
  top: 20%;
  right: 15%;
  animation-delay: 0s;
}

.story-card:nth-child(1) .story-image::after {
  bottom: 25%;
  left: 20%;
  animation-delay: 2s;
}

.story-card:nth-child(2) .story-image::before {
  top: 30%;
  left: 10%;
  animation-delay: 1s;
}

.story-card:nth-child(2) .story-image::after {
  bottom: 20%;
  right: 25%;
  animation-delay: 3s;
}

.story-card:nth-child(3) .story-image::before {
  top: 15%;
  left: 30%;
  animation-delay: 0.5s;
}

.story-card:nth-child(3) .story-image::after {
  bottom: 30%;
  right: 15%;
  animation-delay: 2.5s;
}

/* Additional particles for more cards if they exist */
.story-card:nth-child(4) .story-image::before {
  top: 25%;
  right: 20%;
  animation-delay: 1.5s;
}

.story-card:nth-child(4) .story-image::after {
  bottom: 15%;
  left: 15%;
  animation-delay: 3.5s;
}

.story-card:nth-child(5) .story-image::before {
  top: 35%;
  left: 25%;
  animation-delay: 0.8s;
}

.story-card:nth-child(5) .story-image::after {
  bottom: 25%;
  right: 30%;
  animation-delay: 2.8s;
}

.story-card:nth-child(6) .story-image::before {
  top: 20%;
  right: 10%;
  animation-delay: 1.2s;
}

.story-card:nth-child(6) .story-image::after {
  bottom: 35%;
  left: 30%;
  animation-delay: 3.2s;
}

/* Story particle animation */
@keyframes story-particle-float {
  0%, 100% {
    transform: translateY(0px) translateX(0px) scale(1);
    opacity: 0.6;
  }
  25% {
    transform: translateY(-8px) translateX(4px) scale(1.1);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-4px) translateX(-2px) scale(0.9);
    opacity: 0.7;
  }
  75% {
    transform: translateY(-12px) translateX(6px) scale(1.05);
    opacity: 0.9;
  }
}

/* Disable story particles for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .story-image::before,
  .story-image::after {
    display: none;
  }
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  display: block;
}

.story-card:hover .story-image img {
  transform: scale(1.05);
}

.story-content {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
}

.story-title {
  margin-bottom: var(--space-xs);
  color: var(--thv-dark);
}

.story-description {
  color: var(--thv-wicker);
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  flex: 1;
}

.story-price {
  font-weight: 600;
  color: var(--thv-heart);
  margin-bottom: var(--space-sm);
}

.story-link {
  color: var(--thv-heart);
  font-weight: 500;
}

/* Store Gallery */
.store-gallery {
  background-color: rgba(244, 227, 193, 0.85);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  width: fit-content;
  max-width: 800px;
}

.gallery-container {
  max-width: 100%;
  margin: 0 auto;
}

.gallery-slideshow {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gallery-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.gallery-slide {
  min-width: 100%;
  height: 600px;
  position: relative;
  overflow: hidden;
  background-color: var(--thv-powder);
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  display: block;
  background-color: var(--thv-powder);
}

/* Ensure consistent image loading */
.gallery-slide img[src] {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.gallery-slide img:not([src]) {
  opacity: 0;
}

.gallery-slide:hover img {
  transform: scale(1.05);
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(244, 227, 193, 0.9);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gallery-btn:hover {
  background-color: var(--thv-heart);
  color: var(--thv-powder);
  transform: translateY(-50%) scale(1.1);
}

.gallery-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.gallery-prev {
  left: 15px;
}

.gallery-next {
  right: 15px;
}

.gallery-indicators {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.gallery-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--thv-gray);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-indicator.active {
  background-color: var(--thv-heart);
  transform: scale(1.2);
}

.gallery-indicator:hover {
  background-color: var(--thv-sage);
}

/* Responsive Gallery */
@media (max-width: 768px) {
  .gallery-slide {
    height: 450px;
  }
  
  .gallery-slideshow {
    max-width: 100%;
  }
  
  .gallery-btn {
    width: 40px;
    height: 40px;
  }
  
  .gallery-prev {
    left: 10px;
  }
  
  .gallery-next {
    right: 10px;
  }
}

/* Community Values */
.community-values {
  padding: var(--space-3xl) 0;
  background-color: var(--thv-cream);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  text-align: center;
  justify-content: center;
  justify-items: center;
  align-items: start;
}

@media (max-width: 1024px) and (min-width: 769px) {
  .community-values .values-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 768px) and (min-width: 481px) {
  .community-values .values-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

.value-item {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.value-icon {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
  width: 6rem;
  height: 6rem;
}

.value-icon svg {
  width: 6rem;
  height: 6rem;
}

.value-title {
  margin-bottom: var(--space-xs);
  color: var(--thv-dark);
}

.value-description {
  color: var(--thv-wicker);
  font-size: 0.9rem;
}

/* Consignment CTA */
.consignment-cta {
  padding: var(--space-3xl) 0;
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  margin-bottom: var(--space-sm);
  color: var(--thv-dark);
}

.cta-subtitle {
  font-size: 1.2rem;
  color: var(--thv-wicker);
  margin-bottom: var(--space-md);
}

.cta-description {
  margin-bottom: var(--space-xl);
  color: var(--thv-dark);
}

.cta-image {
  margin-top: var(--space-xl);
  text-align: center;
}

.cta-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

/* Visit Teaser */
.visit-teaser {
  padding: var(--space-3xl) 0;
  background-color: var(--thv-cream);
}

.visit-content {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.visit-title {
  font-size: 3.5rem;
  margin-bottom: var(--space-xl);
  color: var(--thv-dark);
}

.visit-info {
  margin-bottom: var(--space-2xl);
  font-size: 1.5rem;
}

.visit-hours,
.visit-address {
  margin-bottom: var(--space-lg);
  color: var(--thv-wicker);
  font-size: 1.4rem;
  line-height: 2;
  font-weight: 500;
}

.visit-content .btn {
  font-size: 1.3rem;
  padding: var(--space-md) var(--space-xl);
  min-height: 60px;
}

.visit-map {
  text-align: center;
}

.map-placeholder {
  height: 300px;
  background-color: var(--thv-gray);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--thv-powder);
  font-size: 1.2rem;
}

/* Footer */
.footer {
  background-color: var(--thv-dark);
  color: var(--thv-powder);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  justify-items: start;
}

.footer-title {
  color: var(--thv-powder);
  margin-bottom: var(--space-sm);
}

.footer-subtitle {
  color: var(--thv-gold);
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
}

.footer-mission {
  margin-bottom: var(--space-md);
  color: var(--thv-cream);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social .social-link {
  color: var(--thv-cream);
}

.footer-social .social-link:hover {
  color: var(--thv-gold);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: var(--thv-cream);
}

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

.footer-contact p {
  margin-bottom: var(--space-xs);
  color: var(--thv-cream);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--thv-wicker);
  color: var(--thv-cream);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}

.admin-btn {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--thv-cream);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  padding: var(--space-xs) var(--space-md);
  min-height: 44px;
  min-width: 120px;
  transition: all var(--transition-fast);
}

.admin-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--thv-cream);
  color: var(--thv-powder);
  transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Increase base font size for better readability on tablets/mobile */
  html {
    font-size: 20px;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 140px;
    left: 0;
    right: 0;
    background-color: var(--thv-powder);
    border-top: 1px solid var(--thv-cream);
    padding: var(--space-md);
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-list {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  /* Improve typography scaling for mobile */
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.4rem; }
  h4 { font-size: 1.2rem; }
  
  p {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.4rem;
  }
  
  .hero-mission {
    font-size: 1.1rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  
  /* Ensure buttons are large enough for touch */
  .btn {
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    min-height: 48px;
  }
  
  .carousel-track {
    flex-direction: column;
  }
  
  .event-card {
    flex: none;
  }
  
  .carousel-btn {
    display: none;
  }
  
  .stories-grid {
    grid-template-columns: 1fr;
    padding: var(--space-md);
    gap: var(--space-md);
  }
  
  .story-card {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
  
  /* Remove line clamp on mobile so descriptions aren't cut off */
  .story-description {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    display: block;
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .story-title {
    font-size: 1.4rem;
  }
  
  .story-price {
    font-size: 1.1rem;
  }
  
  /* Improve event card readability */
  .event-title {
    font-size: 1.4rem;
  }
  
  .event-description {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .event-date {
    font-size: 1rem;
  }
  
  /* Scale down community values section for mobile */
  .community-values {
    transform: scale(0.6);
    transform-origin: center;
    margin: calc(var(--space-xl) * -0.4) auto;
  }
  
  .community-values .section-title {
    font-size: calc(2rem * 0.6);
    margin-bottom: calc(var(--space-lg) * 0.6);
  }
  
  .community-values .values-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: calc(var(--space-md) * 0.6);
  }
  
  .community-values .value-item {
    padding: calc(var(--space-md) * 0.6);
  }
  
  .community-values .value-icon {
    font-size: calc(3rem * 0.6);
    width: calc(6rem * 0.6);
    height: calc(6rem * 0.6);
    margin-bottom: calc(var(--space-sm) * 0.6);
  }
  
  .community-values .value-title {
    font-size: calc(1.2rem * 0.6);
    margin-bottom: calc(var(--space-xs) * 0.6);
  }
  
  .community-values .value-description {
    font-size: calc(0.9rem * 0.6);
  }
  
  /* Keep values horizontal on tablet */
  .community-values .values-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  
  .value-icon {
    font-size: 3rem;
    width: 4rem;
    height: 4rem;
  }
  
  .value-icon svg {
    width: 4rem;
    height: 4rem;
  }
  
  /* Improve footer readability on mobile */
  .footer-title {
    font-size: 1.4rem;
  }
  
  .footer-subtitle {
    font-size: 1.2rem;
  }
  
  .footer-mission,
  .footer-contact p,
  .footer-links a {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  /* Make admin button more accessible on mobile */
  .admin-btn {
    font-size: 1rem;
    min-height: 48px;
    min-width: 140px;
    padding: var(--space-sm) var(--space-md);
  }
  
  /* Improve visit section readability */
  .visit-title {
    font-size: 2.2rem;
  }
  
  .visit-info {
    font-size: 1.1rem;
  }
  
  .visit-hours,
  .visit-address {
    font-size: 1.05rem;
    line-height: 1.6;
  }
  
  .visit-content .btn {
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    min-height: 50px;
  }
}

@media (max-width: 480px) {
  /* Further increase base font size for small phones */
  html {
    font-size: 22px;
  }
  
  .container {
    padding: 0 var(--space-md);
  }
  
  .hero {
    padding: var(--space-2xl) 0;
  }
  
  /* Larger, more readable text for small screens */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.3rem; }
  h4 { font-size: 1.15rem; }
  
  p {
    font-size: 1rem;
    line-height: 1.65;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .hero-mission {
    font-size: 1.05rem;
    line-height: 1.65;
  }
  
  /* Larger touch targets for accessibility */
  .btn {
    font-size: 1.1rem;
    padding: 0.9rem 1.6rem;
    min-height: 52px;
  }
  
  .stories-grid {
    padding: var(--space-md);
  }
  
  .story-card {
    height: auto;
  }
  
  .story-title {
    font-size: 1.3rem;
  }
  
  .story-description {
    font-size: 1rem;
    line-height: 1.65;
  }
  
  .story-price {
    font-size: 1.05rem;
  }
  
  /* Improve readability of other text elements */
  .event-title {
    font-size: 1.3rem;
  }
  
  .event-description {
    font-size: 1rem;
    line-height: 1.65;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  /* Gallery adjustments for small phones */
  .gallery-slide {
    height: 350px;
  }
  
  .gallery-slideshow {
    max-width: 100%;
  }
  
  .gallery-btn {
    width: 35px;
    height: 35px;
  }
  
  .gallery-prev {
    left: 8px;
  }
  
  .gallery-next {
    right: 8px;
  }
  
  /* Navigation adjustments */
  .nav-container {
    height: 100px;
  }
  
  .nav-logo .logo-img {
    height: 100px;
  }
  
  .nav-link {
    font-size: 1.05rem;
  }
  
  /* Visit section adjustments */
  .visit-title {
    font-size: 2rem;
  }
  
  .visit-info {
    font-size: 1.05rem;
  }
  
  .visit-hours,
  .visit-address {
    font-size: 1rem;
    line-height: 1.65;
  }
  
  .visit-content .btn {
    font-size: 1.1rem;
    padding: 0.9rem 1.6rem;
    min-height: 52px;
  }
  
  /* Scale down community values even more on small mobile */
  .community-values {
    transform: scale(0.9);
    transform-origin: center;
    margin: calc(var(--space-xl) * -0.5) auto;
  }
  
  .community-values .section-title {
    font-size: calc(4rem * 0.5);
    margin-bottom: calc(var(--space-lg) * 0.5);
  }
  
  .community-values .values-grid {
    gap: calc(var(--space-md) * 0.5);
  }
  
  .community-values .value-item {
    padding: calc(var(--space-md) * 0.5);
  }
  
  .community-values .value-icon {
    font-size: calc(3rem * 0.5);
    width: calc(6rem * 0.5);
    height: calc(6rem * 0.5);
    margin-bottom: calc(var(--space-sm) * 0.5);
  }
  
  .community-values .value-title {
    font-size: calc(1.2rem * 0.5);
    margin-bottom: calc(var(--space-xs) * 0.5);
  }
  
  .community-values .value-description {
    font-size: calc(0.9rem * 0.5);
  }
  
  /* Only force single column on very small screens */
  .community-values .values-grid {
    grid-template-columns: 1fr;
  }
  
  .value-icon {
    font-size: 3rem;
    width: 3rem;
    height: 3rem;
  }
  
  .value-icon svg {
    width: 3rem;
    height: 3rem;
  }
  
  /* Improve footer readability on small phones */
  .footer-title {
    font-size: 1.3rem;
  }
  
  .footer-subtitle {
    font-size: 1.15rem;
  }
  
  .footer-mission,
  .footer-contact p,
  .footer-links a {
    font-size: 1rem;
    line-height: 1.65;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    font-size: 0.95rem;
  }
  
  /* Make admin button even more accessible on small phones */
  .admin-btn {
    font-size: 1.05rem;
    min-height: 52px;
    min-width: 160px;
    padding: var(--space-sm) var(--space-lg);
  }
  
  /* Reset grid balancing on mobile for better single-column layout */
  .stories-grid:has(> :nth-child(4):not(:nth-child(5))),
  .values-grid:has(> :nth-child(4):not(:nth-child(5))),
  .team-grid:has(> :nth-child(4):not(:nth-child(5))),
  .partners-grid:has(> :nth-child(4):not(:nth-child(5))),
  .stories-grid:has(> :nth-child(5):not(:nth-child(6))),
  .values-grid:has(> :nth-child(5):not(:nth-child(6))),
  .team-grid:has(> :nth-child(5):not(:nth-child(6))),
  .partners-grid:has(> :nth-child(5):not(:nth-child(6))),
  .stories-grid:has(> :nth-child(7):not(:nth-child(8))),
  .values-grid:has(> :nth-child(7):not(:nth-child(8))),
  .team-grid:has(> :nth-child(7):not(:nth-child(8))),
  .partners-grid:has(> :nth-child(7):not(:nth-child(8))) {
    grid-template-columns: 1fr;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .wallpaper-soft::before {
    filter: none;
  }
}

/* Grid Content Centering and Balancing */
[class*="grid"] {
  justify-items: center;
  align-items: start;
}

/* Specific grid balancing rules */
.stories-grid,
.values-grid,
.events-grid,
.steps-grid,
.items-grid,
.terms-grid,
.team-grid,
.partners-grid,
.accessibility-grid,
.expectation-grid,
.services-grid,
.contact-grid,
.links-grid,
.expectations-grid {
  justify-content: center;
}

/* For grids with auto-fit, ensure balanced distribution */
.stories-grid:has(> :nth-child(4):not(:nth-child(5))),
.values-grid:has(> :nth-child(4):not(:nth-child(5))),
.team-grid:has(> :nth-child(4):not(:nth-child(5))),
.partners-grid:has(> :nth-child(4):not(:nth-child(5))) {
  grid-template-columns: repeat(2, 1fr);
}

/* Handle 5 items - balance to 3+2 instead of 3+1+1 */
.stories-grid:has(> :nth-child(5):not(:nth-child(6))),
.values-grid:has(> :nth-child(5):not(:nth-child(6))),
.team-grid:has(> :nth-child(5):not(:nth-child(6))),
.partners-grid:has(> :nth-child(5):not(:nth-child(6))) {
  grid-template-columns: repeat(3, 1fr);
}

/* Handle 7 items - balance to 4+3 instead of 3+3+1 */
.stories-grid:has(> :nth-child(7):not(:nth-child(8))),
.values-grid:has(> :nth-child(7):not(:nth-child(8))),
.team-grid:has(> :nth-child(7):not(:nth-child(8))),
.partners-grid:has(> :nth-child(7):not(:nth-child(8))) {
  grid-template-columns: repeat(4, 1fr);
}

/* Center grid items content */
[class*="grid"] > * {
  text-align: center;
  width: 100%;
  max-width: 100%;
}

/* Ensure grid items are properly centered within their cells */
.story-card,
.value-item,
.event-item,
.step-item,
.item-category,
.term-item,
.team-member,
.partner-item,
.accessibility-item,
.expectation-item,
.service-item,
.contact-method,
.link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}


/* Focus styles for keyboard navigation */
.btn:focus,
.social-link:focus,
input:focus {
  outline: 2px solid var(--thv-heart);
  outline-offset: 2px;
}

.nav-link:focus {
  outline: 1px solid var(--thv-heart);
  outline-offset: 1px;
  background-color: rgba(252, 152, 118, 0.1);
}

.nav-link:active {
  outline: none;
  background-color: rgba(252, 152, 118, 0.2);
  transform: translateY(1px);
}

/* Page-specific styles */

/* Page Headers */
.page-header {
  padding: var(--space-3xl) 0 var(--space-2xl);
  text-align: center;
  background-color: var(--thv-cream);
}

.page-title {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  color: var(--thv-dark);
}

.page-subtitle {
  font-size: 1.2rem;
  color: var(--thv-wicker);
  margin-bottom: var(--space-md);
}

.page-description {
  max-width: 600px;
  margin: 0 auto;
  color: var(--thv-dark);
}

/* Active navigation link */
.nav-link--active {
  color: var(--thv-heart);
}

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

/* Events Page Styles */
/* Events Mission Section */
.events-mission {
  padding: var(--space-3xl) 0;
  background-color: rgba(244, 227, 193, 0.7);
  backdrop-filter: blur(15px);
  border-radius: var(--border-radius-lg);
  margin: var(--space-lg) auto;
  width: fit-content;
  max-width: 800px;
}

.mission-content {
  text-align: center;
}

.mission-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--thv-dark);
  margin-bottom: var(--space-md);
}

.mission-text:last-child {
  margin-bottom: 0;
}

.events-list {
  padding: var(--space-3xl) 0;
}

.events-grid {
  display: grid;
  gap: var(--space-lg);
}

/* No Events Message */
.no-events-message {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
  background-color: rgba(244, 227, 193, 0.7);
  backdrop-filter: blur(15px);
  border-radius: var(--border-radius-lg);
  margin: var(--space-lg) auto;
  width: fit-content;
  max-width: 600px;
}

.no-events-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.no-events-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--thv-dark);
  margin-bottom: var(--space-md);
}

.no-events-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--thv-wicker);
  max-width: 500px;
}

/* Host Event CTA */
.host-event-cta {
  padding: var(--space-3xl) 0;
  background-color: rgba(244, 227, 193, 0.7);
  backdrop-filter: blur(15px);
  border-radius: var(--border-radius-lg);
  margin: var(--space-lg) auto;
  width: fit-content;
  max-width: 800px;
}

.host-event-cta .cta-content {
  text-align: center;
  padding: var(--space-xl);
}

.host-event-cta .cta-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--thv-dark);
  margin-bottom: var(--space-md);
}

.host-event-cta .cta-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--thv-dark);
  margin-bottom: var(--space-md);
}

.cta-email-link {
  color: var(--thv-heart);
  text-decoration: underline;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.cta-email-link:hover {
  color: var(--thv-burgundy);
}

.event-item {
  display: flex;
  gap: var(--space-lg);
  background-color: var(--thv-powder);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-fast);
  position: relative;
}

.event-item:hover {
  transform: translateY(-2px);
}

.event-item .event-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius);
  overflow: hidden;
  z-index: 0;
  opacity: 0.15;
}

.event-item .event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-item .event-date-badge,
.event-item .event-details {
  position: relative;
  z-index: 1;
}

.event-date-badge {
  flex-shrink: 0;
  text-align: center;
  background-color: var(--thv-heart);
  color: var(--thv-dark);
  border-radius: var(--border-radius);
  padding: var(--space-md);
  min-width: 80px;
}

.event-day {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
}

.event-month {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.event-details {
  flex: 1;
}

.event-title {
  margin-bottom: var(--space-xs);
  color: var(--thv-dark);
}

.event-meta {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
  color: var(--thv-wicker);
}

.event-actions {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  margin-top: var(--space-md);
}

.event-share {
  color: var(--thv-heart);
  font-size: 0.9rem;
}

/* Consign Page Styles */
.how-it-works {
  padding: var(--space-3xl) 0;
  background-color: var(--thv-cream);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.step-item {
  text-align: center;
  position: relative;
}

.step-number {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--thv-heart);
  color: var(--thv-dark);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.step-icon {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
}

.step-title {
  margin-bottom: var(--space-sm);
  color: var(--thv-dark);
}

.step-description {
  color: var(--thv-wicker);
  font-size: 0.9rem;
}

.accepted-items,
.payout-terms {
  padding: var(--space-3xl) 0;
}

.items-grid,
.terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.item-category,
.term-item {
  background-color: var(--thv-powder);
  padding: var(--space-lg);
  border-radius: var(--border-radius);
  text-align: center;
}

.category-title,
.term-title {
  margin-bottom: var(--space-sm);
  color: var(--thv-dark);
}

.category-description,
.term-description {
  color: var(--thv-wicker);
  font-size: 0.9rem;
}

.consignment-form-section {
  padding: var(--space-3xl) 0;
  background-color: var(--thv-cream);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
}

.consignment-form {
  background-color: var(--thv-powder);
  padding: var(--space-xl);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
  color: var(--thv-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid var(--thv-gray);
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: var(--font-body);
  background-color: var(--thv-powder);
  color: var(--thv-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--thv-heart);
}

.file-upload-area {
  border: 2px dashed var(--thv-gray);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.file-upload-area:hover {
  border-color: var(--thv-heart);
}

.file-upload-area input[type="file"] {
  display: none;
}

.upload-placeholder span {
  font-size: 2rem;
  display: block;
  margin-bottom: var(--space-sm);
}

.upload-requirements {
  font-size: 0.8rem;
  color: var(--thv-wicker);
  margin-top: var(--space-xs);
}

.photo-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.photo-preview img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.form-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: space-between;
  margin-top: var(--space-xl);
}

.phone-alternative {
  text-align: center;
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background-color: var(--thv-powder);
  border-radius: var(--border-radius);
}

/* Our Story Page Styles */
.founding-story {
  padding: var(--space-3xl) 0;
}

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

.story-text p {
  margin-bottom: var(--space-lg);
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--thv-dark);
}

.values-section {
  padding: var(--space-3xl) 0;
  background-color: var(--thv-cream);
}

.values-grid {
  display: grid;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.value-card {
  background-color: var(--thv-powder);
  padding: var(--space-xl);
  border-radius: var(--border-radius);
  text-align: center;
}

.value-title {
  margin-bottom: var(--space-sm);
  color: var(--thv-dark);
}

.value-description {
  color: var(--thv-wicker);
}

.team-section {
  padding: var(--space-3xl) 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.team-member {
  text-align: center;
}

.member-photo {
  width: 150px;
  height: 150px;
  margin: 0 auto var(--space-md);
  border-radius: 50%;
  overflow: hidden;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-name {
  margin-bottom: var(--space-xs);
  color: var(--thv-dark);
}

.member-role {
  color: var(--thv-heart);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

.member-bio {
  color: var(--thv-wicker);
  font-size: 0.9rem;
}

.partners-section {
  padding: var(--space-3xl) 0;
  background-color: var(--thv-cream);
}

.partners-description {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  color: var(--thv-wicker);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.partner-item {
  background-color: var(--thv-powder);
  padding: var(--space-lg);
  border-radius: var(--border-radius);
}

.partner-name {
  margin-bottom: var(--space-sm);
  color: var(--thv-dark);
}

.partner-description {
  color: var(--thv-wicker);
  font-size: 0.9rem;
}

/* Visit Page Styles */
.store-info {
  padding: var(--space-3xl) 0;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  margin-top: var(--space-xl);
}

.info-section {
  background-color: var(--thv-powder);
  padding: var(--space-xl);
  border-radius: var(--border-radius);
}

.info-item {
  margin-bottom: var(--space-lg);
}

.info-label {
  margin-bottom: var(--space-xs);
  color: var(--thv-dark);
  font-weight: 600;
}

.info-value {
  color: var(--thv-wicker);
}

.info-value a {
  color: var(--thv-heart);
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.day {
  font-weight: 500;
  color: var(--thv-dark);
}

.time {
  color: var(--thv-wicker);
}

.map-container {
  height: 300px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.map-placeholder {
  height: 100%;
  background-color: var(--thv-gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--thv-powder);
  text-align: center;
}

.map-placeholder span {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
}

.accessibility-info,
.what-to-expect,
.special-services {
  padding: var(--space-3xl) 0;
}

.accessibility-info {
  background-color: var(--thv-cream);
}

.accessibility-grid,
.expectation-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.accessibility-item,
.expectation-item,
.service-item {
  background-color: var(--thv-powder);
  padding: var(--space-lg);
  border-radius: var(--border-radius);
}

.accessibility-title,
.expectation-title,
.service-title {
  margin-bottom: var(--space-sm);
  color: var(--thv-dark);
}

.accessibility-description,
.expectation-description,
.service-description {
  color: var(--thv-wicker);
  font-size: 0.9rem;
}

/* Contact Page Styles */
.contact-options {
  padding: var(--space-3xl) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.contact-method {
  background-color: var(--thv-powder);
  padding: var(--space-xl);
  border-radius: var(--border-radius);
  text-align: center;
}

.contact-title {
  margin-bottom: var(--space-sm);
  color: var(--thv-dark);
}

.contact-description {
  margin-bottom: var(--space-lg);
  color: var(--thv-wicker);
}

.phone-number {
  font-size: 1.2rem;
  padding: var(--space-md) var(--space-xl);
}

.contact-hours,
.contact-response {
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  color: var(--thv-wicker);
}

.contact-form-section {
  padding: var(--space-3xl) 0;
  background-color: var(--thv-cream);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--thv-powder);
  padding: var(--space-xl);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.quick-links {
  padding: var(--space-3xl) 0;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.link-item {
  background-color: var(--thv-powder);
  padding: var(--space-lg);
  border-radius: var(--border-radius);
  text-align: center;
}

.link-title {
  margin-bottom: var(--space-sm);
  color: var(--thv-dark);
}

.link-description {
  margin-bottom: var(--space-md);
  color: var(--thv-wicker);
  font-size: 0.9rem;
}

.response-expectations {
  padding: var(--space-3xl) 0;
  background-color: var(--thv-cream);
}

.expectations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

/* Responsive adjustments for new pages */
@media (max-width: 768px) {
  .event-item {
    flex-direction: column;
    text-align: center;
  }
  
  .event-date-badge {
    align-self: center;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  /* Ensure all sections are centered on mobile */
  .section {
    margin-left: 0;
    margin-right: 0;
    padding: 1.5rem 1rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
  }
  
  .main {
    width: 100%;
    margin: 0;
    padding: 0;
  }
}
