/* ============================================
   Hofje van Wijs - Production Ready
   Heritage Brand Strategy
   ============================================ */

/* CSS Custom Properties - Brand Colors */
:root {
    /* Primary Brand Colors */
    --color-primary: #2C3E50;      /* Deep Blue-Grey */
    --color-secondary: #8B7355;    /* Warm Brown */
    --color-accent: #C9A56B;       /* Golden Tan */
    --color-background: #FAFAF8;   /* Cream */

    /* Extended Palette */
    --color-text: #2C3E50;
    --color-text-light: #5D6D7E;
    --color-text-muted: #8B9DC3;
    --color-border: rgba(139, 115, 85, 0.2);
    --color-border-strong: rgba(139, 115, 85, 0.4);

    /* Typography */
    --font-headline: Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 10rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --ease-elegant: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-background);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

address {
    font-style: normal;
}

/* ============================================
   Accessibility
   ============================================ */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-background);
    padding: 1rem 2rem;
    z-index: 10000;
    transition: top var(--transition-base);
}

.skip-link:focus {
    top: 0;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus Indicators */
a:focus-visible,
button:focus-visible,
.product-card:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.skip-link:focus-visible {
    outline: 2px solid var(--color-background);
    outline-offset: 2px;
}

/* ============================================
   Particle Canvas & Grain Overlay
   ============================================ */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ============================================
   Layout Utilities
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    position: relative;
    z-index: 2;
    padding: var(--space-2xl) 0;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
    font-family: var(--font-headline);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-primary);
}

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

.section-header--light {
    margin-bottom: var(--space-lg);
}

.section-title {
    font-size: 2rem; /* Fallback for older browsers */
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.section-title--light {
    color: var(--color-background);
}

.section-intro {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-intro--light {
    color: rgba(250, 250, 248, 0.85);
    max-width: 800px;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-background);
    border: 2px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-primary);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-secondary);
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-background);
    border-color: var(--color-secondary);
}

/* ============================================
   Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(to bottom,
        rgba(250, 250, 248, 0.98) 0%,
        rgba(250, 250, 248, 0.95) 70%,
        rgba(250, 250, 248, 0) 100%
    );
    padding: var(--space-md) 0;
}

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

.nav-logo {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    color: var(--color-primary);
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--color-text-light);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width var(--transition-slow);
}

.nav-links a:hover {
    color: var(--color-primary);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    transition: all var(--transition-base);
    transform-origin: center;
}

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

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

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

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: var(--space-2xl) var(--space-md);
}

.hero-content {
    max-width: 800px;
}

.hero-tagline {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
    opacity: 0;
    animation: fadeInUp 1s var(--ease-elegant) 0.2s forwards;
}

.hero-title {
    font-size: 3rem; /* Fallback for older browsers */
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
    opacity: 0;
    animation: fadeInUp 1s var(--ease-elegant) 0.4s forwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-lg);
    opacity: 0;
    animation: fadeInUp 1s var(--ease-elegant) 0.6s forwards;
}

.hero .btn {
    opacity: 0;
    animation: fadeInUp 1s var(--ease-elegant) 0.8s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s var(--ease-elegant) 1.2s forwards;
}

.hero-scroll span {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-secondary), transparent);
    margin: 0 auto;
    animation: scrollPulse 2s ease-in-out infinite;
}

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

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

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.1);
    }
}

/* ============================================
   Story Timeline Section
   ============================================ */
.section-story {
    background-color: var(--color-background);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 100px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom,
        transparent,
        var(--color-border-strong) 10%,
        var(--color-border-strong) 90%,
        transparent
    );
}

.timeline-item {
    position: relative;
    padding-bottom: var(--space-xl);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-elegant);
}

.timeline-item.aos-visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -100px;
    top: 0;
    width: 60px;
    text-align: right;
}

.timeline-year {
    font-family: var(--font-headline);
    font-size: 1rem;
    color: var(--color-secondary);
    font-weight: 600;
    white-space: nowrap;
    background-color: var(--color-background);
    padding: var(--space-xs) var(--space-sm);
    position: relative;
    display: inline-block;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
    color: var(--color-primary);
}

.timeline-content p {
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ============================================
   Heritage Section
   ============================================ */
.section-heritage {
    background-color: var(--color-primary);
    color: var(--color-background);
    position: relative;
    overflow: hidden;
}

.heritage-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(201, 165, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 115, 85, 0.1) 0%, transparent 50%);
}

.heritage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.heritage-grid > * {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.heritage-grid > *:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: linear-gradient(to bottom,
        transparent,
        rgba(201, 165, 107, 0.3) 20%,
        rgba(201, 165, 107, 0.3) 80%,
        transparent
    );
}

.heritage-stat {
    padding: var(--space-lg);
}

.stat-number {
    display: block;
    font-family: var(--font-headline);
    font-size: 3rem; /* Fallback for older browsers */
    font-size: clamp(3rem, 8vw, 5rem);
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(250, 250, 248, 0.7);
}

.heritage-content h2 {
    font-size: 1.5rem; /* Fallback for older browsers */
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    color: var(--color-background);
    margin-bottom: var(--space-md);
}

.heritage-content p {
    color: rgba(250, 250, 248, 0.85);
    line-height: 1.8;
    margin: 0;
}

.heritage-quote {
    font-family: var(--font-headline);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--color-accent);
    padding: 0;
    border: none;
    margin: 0;
    text-align: center;
}

.heritage-quote cite {
    display: block;
    font-size: 0.875rem;
    font-style: normal;
    color: rgba(250, 250, 248, 0.6);
    margin-top: var(--space-sm);
}

/* ============================================
   Events/Agenda Section
   ============================================ */
.section-events {
    background-color: var(--color-background);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-md);
}

.events-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-xl);
    color: var(--color-text-light);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto var(--space-md);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.event-card {
    background-color: white;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition-slow);
    opacity: 0;
    transform: translateY(30px);
}

.event-card.aos-visible {
    opacity: 1;
    transform: translateY(0);
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(44, 62, 80, 0.1);
    border-color: var(--color-accent);
}

.event-header {
    padding: var(--space-md);
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    color: white;
}

.event-date {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-xs);
}

.event-date svg {
    width: 16px;
    height: 16px;
}

.event-title {
    font-size: 1.5rem;
    color: white;
    margin-bottom: var(--space-xs);
}

.event-location {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    opacity: 0.9;
}

.event-location svg {
    width: 14px;
    height: 14px;
}

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

.event-description {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.event-meta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.event-meta-item svg {
    width: 16px;
    height: 16px;
    color: var(--color-accent);
}

.event-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.75rem 1.5rem;
    background-color: var(--color-primary);
    color: white;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition-base);
}

.event-cta:hover {
    background-color: var(--color-secondary);
    transform: translateX(5px);
}

.event-cta svg {
    width: 14px;
    height: 14px;
}

.events-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-xl);
    color: var(--color-text-light);
}

.events-empty-icon {
    width: 80px;
    height: 80px;
    color: var(--color-border-strong);
    margin: 0 auto var(--space-md);
}

.events-empty h3 {
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.events-empty p {
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================
   Collection/Products Section
   ============================================ */
.section-collection {
    background-color: var(--color-background);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.product-card {
    background-color: white;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    overflow: hidden;
    transition: all var(--transition-slow);
    opacity: 0;
    transform: translateY(30px);
}

.product-card.aos-visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(44, 62, 80, 0.1);
    border-color: var(--color-accent);
}

.product-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.product-link:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.product-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

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

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    transition: transform var(--transition-slow);
}

.product-placeholder--tea {
    background: linear-gradient(135deg, #E8DFD5 0%, #D4C4B5 100%);
}

.product-placeholder--coffee {
    background: linear-gradient(135deg, #D4C4B5 0%, #B8A698 100%);
}

.product-placeholder--gift {
    background: linear-gradient(135deg, #C9A56B 0%, #B8956B 100%);
}

.product-placeholder--accessory {
    background: linear-gradient(135deg, #8B7355 0%, #6B5B47 100%);
}

.product-card:hover .product-placeholder {
    transform: scale(1.05);
}

.product-content {
    padding: var(--space-md);
}

.product-category {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
    display: block;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.product-desc {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
    line-height: 1.6;
}

.product-price {
    font-family: var(--font-headline);
    font-size: 1.125rem;
    color: var(--color-secondary);
}

.collection-cta {
    text-align: center;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--color-primary);
    color: var(--color-background);
    padding: var(--space-xl) 0 var(--space-lg);
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.footer-logo {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    color: rgba(250, 250, 248, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(250, 250, 248, 0.2);
    border-radius: 50%;
    color: var(--color-background);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary);
}

.footer-nav h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-nav a {
    font-size: 0.9rem;
    color: rgba(250, 250, 248, 0.7);
    transition: color var(--transition-base);
}

.footer-nav a:hover {
    color: var(--color-background);
}

.footer-contact address {
    font-size: 0.9rem;
    color: rgba(250, 250, 248, 0.7);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

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

.footer-contact a:hover {
    color: var(--color-background);
}

.footer-hours {
    font-size: 0.85rem;
    color: rgba(250, 250, 248, 0.7);
    line-height: 1.7;
}

.footer-hours strong {
    display: block;
    color: var(--color-background);
    margin-bottom: var(--space-xs);
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(250, 250, 248, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(250, 250, 248, 0.5);
}

.footer-tagline {
    font-family: var(--font-headline);
    font-style: italic;
    color: var(--color-accent);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .heritage-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }

    .heritage-stat:last-child {
        grid-column: span 2;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 4rem;
        --space-2xl: 6rem;
    }

    /* Touch Target Sizes */
    .nav-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .btn {
        min-height: 44px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--color-background);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-md);
        padding: var(--space-lg);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: right var(--transition-slow);
    }

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

    .nav-toggle {
        display: flex;
    }

    .timeline {
        padding-left: 80px;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-marker {
        left: -80px;
        width: 50px;
    }

    .timeline-year {
        font-size: 0.875rem;
    }

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

    .heritage-grid > *::after {
        display: none;
    }

    .heritage-stat:last-child {
        grid-column: auto;
    }

    .heritage-quote {
        text-align: center;
        padding: 0;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

/* ============================================
   Animation Classes for Scroll Reveal
   ============================================ */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-elegant), transform 0.8s var(--ease-elegant);
}

[data-aos].aos-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    #particles,
    .grain-overlay,
    .header,
    .hero-scroll,
    .footer-social,
    .nav-toggle {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .section {
        page-break-inside: avoid;
    }
}

/* ============================================
   Reduced Motion Support
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    #particles {
        display: none;
    }

    .scroll-line {
        animation: none;
    }
}
