/* ============================================
   HOLLY FRESH — Premium Dark Luxury Bakery
   Plum + Amber Palette | Somerton, AZ
============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Deep plum backgrounds */
    --bg-primary: #0D0810;
    --bg-secondary: #1A1018;
    --bg-tertiary: #241828;
    --bg-card: #1E1424;
    
    /* Amber / gold accents */
    --gold: #D4A853;
    --gold-light: #E8C97A;
    --gold-dark: #B8923F;
    --gold-muted: #9A7B3A;
    
    /* Plum tones */
    --plum: #6B3A5E;
    --plum-light: #8B4F78;
    --plum-dark: #4A2540;
    
    /* Text colors */
    --text-primary: #F5F0EB;
    --text-secondary: #C4B8C8;
    --text-muted: #8A7A90;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
    
    /* Layout */
    --container-max: 1280px;
    --nav-height: 80px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s ease;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

em {
    font-style: italic;
    color: var(--gold);
}

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

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* --- Section Shared --- */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-sm);
    position: relative;
    padding-left: var(--space-md);
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
}

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

.section-header .section-subtitle {
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.875rem 1.75rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--bg-primary);
    border: 1px solid var(--gold);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(212, 168, 83, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(245, 240, 235, 0.3);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ============================================
   NAVIGATION
============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(13, 8, 16, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 83, 0.1);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-logo:hover {
    color: var(--gold);
}

.logo-icon {
    display: flex;
    align-items: center;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-secondary);
    position: relative;
    padding: 0.25rem 0;
}

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

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

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

.nav-cta {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--bg-primary) !important;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

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

.nav-cta:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-xs);
}

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(13, 8, 16, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    color: var(--text-primary);
    padding: var(--space-xs);
}

.mobile-close:hover {
    color: var(--gold);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.mobile-link {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.mobile-link:hover {
    color: var(--gold);
}

.mobile-cta {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-md);
    font-size: 1.1rem;
    color: var(--gold);
    font-weight: 500;
}

/* ============================================
   HERO
============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 8, 16, 0.92) 0%,
        rgba(26, 16, 24, 0.85) 50%,
        rgba(13, 8, 16, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: calc(var(--nav-height) + var(--space-2xl)) var(--space-lg) var(--space-2xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    width: 100%;
}

.hero-aside {
    max-width: 560px;
}

.hero-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-md);
    padding: 0.4rem 1rem;
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-radius: var(--radius-xl);
    background: rgba(212, 168, 83, 0.08);
}

.hero-headline {
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.hero-headline em {
    color: var(--gold);
    font-weight: 400;
}

.hero-subheadline {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: var(--space-lg);
    max-width: 440px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

/* Hero Image Aside */
.hero-image-aside {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.hero-image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
}

.hero-float-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-accent {
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(212, 168, 83, 0.25);
    border-radius: var(--radius-md);
    pointer-events: none;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

.stat {
    text-align: center;
    padding: var(--space-md) var(--space-sm);
    background: rgba(212, 168, 83, 0.06);
    border: 1px solid rgba(212, 168, 83, 0.15);
    border-radius: var(--radius-md);
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-indicator {
    width: 1px;
    height: 48px;
    background: rgba(212, 168, 83, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-line {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--gold);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { top: -50%; }
    100% { top: 150%; }
}

/* ============================================
   ABOUT
============================================ */
.about {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 83, 0.2), transparent);
}

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

.about-image-col {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(212, 168, 83, 0.2);
    border-radius: var(--radius-md);
    pointer-events: none;
}

.about-image-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 3px solid var(--bg-secondary);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.about-secondary-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.about-content-col {
    padding: var(--space-lg) 0;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.value-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 168, 83, 0.25);
    border-radius: var(--radius-md);
    background: rgba(212, 168, 83, 0.06);
}

.value-text h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.value-text p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ============================================
   PRODUCTS
============================================ */
.products {
    padding: var(--space-3xl) 0;
    background: var(--bg-primary);
    position: relative;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 83, 0.2), transparent);
}

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

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(212, 168, 83, 0.08);
    transition: all var(--transition-base);
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 168, 83, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 168, 83, 0.15);
}

.product-image {
    position: relative;
    aspect-ratio: 5/4;
    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-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 8, 16, 0.6), transparent);
    display: flex;
    align-items: flex-end;
    padding: var(--space-md);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--bg-primary);
    background: var(--gold);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-xl);
}

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

.product-info h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

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

/* ============================================
   GALLERY
============================================ */
.gallery {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 83, 0.2), transparent);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: var(--space-md);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

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

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(to top, rgba(13, 8, 16, 0.85), transparent);
    font-size: 0.85rem;
    color: var(--text-secondary);
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Gallery grid placement */
.gallery-item--large {
    grid-column: span 7;
    aspect-ratio: 16/10;
}

.gallery-item--tall {
    grid-column: span 5;
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item:not(.gallery-item--large):not(.gallery-item--tall) {
    aspect-ratio: 5/4;
}

/* ============================================
   VISIT
============================================ */
.visit {
    padding: var(--space-3xl) 0;
    background: var(--bg-primary);
    position: relative;
}

.visit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 83, 0.2), transparent);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: stretch;
}

.visit-info {
    padding: var(--space-xl) 0;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.contact-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 168, 83, 0.2);
    border-radius: var(--radius-md);
    background: rgba(212, 168, 83, 0.06);
}

.contact-details h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 0.35rem;
}

.contact-details p,
.contact-details a {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-details a:hover {
    color: var(--gold);
}

.visit-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 450px;
    border: 1px solid rgba(212, 168, 83, 0.15);
}

.visit-map iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    filter: brightness(0.8) contrast(1.1) saturate(0.5);
}

/* ============================================
   FOOTER
============================================ */
.footer {
    padding: var(--space-2xl) 0 var(--space-lg);
    background: var(--bg-secondary);
    border-top: 1px solid rgba(212, 168, 83, 0.1);
}

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

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-top: var(--space-sm);
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.footer-logo:hover {
    color: var(--gold);
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a,
.footer-contact a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.footer-contact li {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(212, 168, 83, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================
   SCROLL REVEAL (Progressive Enhancement)
============================================ */
@media (prefers-reduced-motion: no-preference) {
    [data-aos] {
        opacity: 1;
        transform: none;
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    [data-aos].aos-hidden {
        opacity: 0;
        transform: translateY(24px);
    }
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-aside {
        max-width: 100%;
    }
    
    .hero-subheadline {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image-aside {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-col {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item--large {
        grid-column: span 12;
    }
    
    .gallery-item--tall {
        grid-column: span 6;
        grid-row: span 1;
        aspect-ratio: 5/4;
    }
    
    .gallery-item:not(.gallery-item--large):not(.gallery-item--tall) {
        grid-column: span 6;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 68px;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-headline {
        font-size: clamp(2.25rem, 8vw, 3.5rem);
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .gallery-item--tall {
        grid-column: span 12;
    }
    
    .gallery-item:not(.gallery-item--large):not(.gallery-item--tall) {
        grid-column: span 6;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-stats {
        grid-column: span 12;
    }
    
    .stat {
        padding: var(--space-sm);
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .gallery-item:not(.gallery-item--large):not(.gallery-item--tall) {
        grid-column: span 12;
    }
}
