/* ============================================
   Alvaevelinne - Landing Page Styles
   ============================================ */

/* Hero Section with Video Background */
.ae-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ae-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.ae-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
    z-index: 1;
}

.ae-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: var(--ae-space-md);
    max-width: 800px;
}

.ae-hero__subtitle {
    font-family: var(--ae-font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: var(--ae-space-md);
    opacity: 0.9;
}

.ae-hero__title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: var(--ae-space-md);
    color: white;
}

.ae-hero__title span {
    font-style: italic;
    color: var(--ae-gold);
}

.ae-hero__text {
    font-size: 1.125rem;
    margin-bottom: var(--ae-space-lg);
    opacity: 0.9;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.ae-hero__cta {
    display: inline-flex;
    gap: var(--ae-space-sm);
}

.ae-hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Features Bar */
.ae-features {
    background: var(--ae-saddle-brown);
    padding: var(--ae-space-md) 0;
}

.ae-features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--ae-space-md);
}

.ae-feature {
    display: flex;
    align-items: center;
    gap: var(--ae-space-sm);
    color: white;
}

.ae-feature__icon {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ae-feature__text {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Section Headers */
.ae-section-header {
    text-align: center;
    margin-bottom: var(--ae-space-xl);
}

.ae-section-header__subtitle {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ae-saddle-brown);
    margin-bottom: var(--ae-space-xs);
}

.ae-section-header__title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--ae-space-sm);
}

.ae-section-header__text {
    max-width: 600px;
    margin: 0 auto;
    color: #666;
}

/* Asymmetric Product Grid */
.ae-products {
    padding: var(--ae-space-xxl) 0;
}

.ae-products__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 350px;
    gap: 20px;
}

.ae-product-card--large {
    grid-column: span 6;
    grid-row: span 2;
}

.ae-product-card--medium {
    grid-column: span 3;
}

.ae-product-card--small {
    grid-column: span 3;
}

.ae-product-card--wide {
    grid-column: span 6;
}

.ae-product-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--ae-space-md);
    color: white;
    opacity: 0;
    transition: opacity var(--ae-transition);
}

.ae-product-card:hover .ae-product-card__overlay {
    opacity: 1;
}

.ae-product-card__overlay .ae-product-card__name {
    color: white;
    font-size: 1.25rem;
}

.ae-product-card__overlay .ae-product-card__price {
    color: var(--ae-gold);
}

.ae-product-card__quick-add {
    margin-top: var(--ae-space-sm);
    padding: 10px 20px;
    background: white;
    color: var(--ae-charcoal);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: background var(--ae-transition);
}

.ae-product-card__quick-add:hover {
    background: var(--ae-gold);
}

/* Brand Story Section */
.ae-heritage {
    padding: var(--ae-space-xxl) 0;
    background: linear-gradient(to right, var(--ae-cream) 50%, var(--ae-beige) 50%);
}

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

.ae-heritage__image {
    position: relative;
}

.ae-heritage__image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.ae-heritage__badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: var(--ae-gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--ae-charcoal);
}

.ae-heritage__badge-year {
    font-family: var(--ae-font-display);
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1;
}

.ae-heritage__badge-text {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ae-heritage__content {
    padding: var(--ae-space-xl);
}

.ae-heritage__subtitle {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ae-saddle-brown);
    margin-bottom: var(--ae-space-sm);
}

.ae-heritage__title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--ae-space-md);
}

.ae-heritage__text {
    color: #666;
    margin-bottom: var(--ae-space-md);
}

.ae-heritage__quote {
    font-family: var(--ae-font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--ae-saddle-brown);
    border-left: 3px solid var(--ae-gold);
    padding-left: var(--ae-space-md);
    margin: var(--ae-space-lg) 0;
}

/* Stats Section */
.ae-stats {
    padding: var(--ae-space-xxl) 0;
    background: var(--ae-charcoal);
    color: white;
}

.ae-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--ae-space-xl);
    text-align: center;
}

.ae-stat__number {
    font-family: var(--ae-font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    color: var(--ae-gold);
    line-height: 1;
    margin-bottom: var(--ae-space-xs);
}

.ae-stat__label {
    font-size: 0.9375rem;
    opacity: 0.8;
}

/* Journal Section */
.ae-journal {
    padding: var(--ae-space-xxl) 0;
}

.ae-journal__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--ae-space-lg);
}

.ae-journal-card {
    background: white;
    transition: transform var(--ae-transition);
}

.ae-journal-card:hover {
    transform: translateY(-8px);
}

.ae-journal-card__image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

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

.ae-journal-card:hover .ae-journal-card__image img {
    transform: scale(1.05);
}

.ae-journal-card__content {
    padding: var(--ae-space-md);
}

.ae-journal-card__meta {
    font-size: 0.8125rem;
    color: var(--ae-saddle-brown);
    margin-bottom: 8px;
}

.ae-journal-card__title {
    font-family: var(--ae-font-display);
    font-size: 1.375rem;
    margin-bottom: var(--ae-space-xs);
}

.ae-journal-card__excerpt {
    font-size: 0.9375rem;
    color: #666;
}

/* Newsletter Section */
.ae-newsletter-section {
    padding: var(--ae-space-xxl) 0;
    background: var(--ae-beige);
    text-align: center;
}

.ae-newsletter-section__title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--ae-space-sm);
}

.ae-newsletter-section__text {
    max-width: 500px;
    margin: 0 auto var(--ae-space-lg);
    color: #666;
}

.ae-newsletter-section__form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: var(--ae-space-sm);
}

.ae-newsletter-section__input {
    flex: 1;
    padding: 16px 24px;
    border: 2px solid var(--ae-charcoal);
    background: white;
    font-size: 1rem;
}

.ae-newsletter-section__input:focus {
    outline: none;
    border-color: var(--ae-saddle-brown);
}

.ae-newsletter-section__btn {
    padding: 16px 32px;
    background: var(--ae-saddle-brown);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid var(--ae-saddle-brown);
    transition: all var(--ae-transition);
}

.ae-newsletter-section__btn:hover {
    background: transparent;
    color: var(--ae-saddle-brown);
}

/* Responsive */
@media (max-width: 1024px) {
    .ae-products__grid {
        grid-auto-rows: 280px;
    }
    
    .ae-product-card--large {
        grid-column: span 6;
        grid-row: span 2;
    }
    
    .ae-product-card--medium,
    .ae-product-card--small {
        grid-column: span 3;
    }
    
    .ae-heritage {
        background: var(--ae-cream);
    }
    
    .ae-heritage__grid {
        grid-template-columns: 1fr;
    }
    
    .ae-heritage__image {
        order: -1;
    }
    
    .ae-heritage__badge {
        right: 20px;
    }
    
    .ae-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--ae-space-lg);
    }
    
    .ae-journal__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ae-hero {
        min-height: 500px;
    }
    
    .ae-hero__cta {
        flex-direction: column;
    }
    
    .ae-features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ae-products__grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    
    .ae-product-card--large,
    .ae-product-card--medium,
    .ae-product-card--small,
    .ae-product-card--wide {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .ae-product-card__image {
        aspect-ratio: 1;
    }
    
    .ae-heritage__badge {
        width: 100px;
        height: 100px;
        bottom: -10px;
        right: 10px;
    }
    
    .ae-heritage__badge-year {
        font-size: 1.75rem;
    }
    
    .ae-stats__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--ae-space-md);
    }
    
    .ae-stat__number {
        font-size: 2.5rem;
    }
    
    .ae-journal__grid {
        grid-template-columns: 1fr;
    }
    
    .ae-newsletter-section__form {
        flex-direction: column;
    }
}
