/* ============================================
   HERO SECTION V2 - B2C ART E-COMMERCE
   Design Philosophy: Parisian art gallery luxury
                      meets mountain photography
   Aesthetic: Net-a-Porter × Fine Art Gallery
   ============================================ */

/* CSS Custom Properties - Luxury Boutique Design */
:root {
    /* Colors - Sophisticated Dark with Warmth */
    --color-bg-primary: #0d0d0d;
    --color-bg-secondary: #1a1a1a;
    --color-bg-card: rgba(255, 255, 255, 0.03);

    --color-text-primary: #f5f5f5;
    --color-text-secondary: #c4c4c4;
    --color-text-muted: #8a8a8a;

    /* Accent Colors - Warm Luxury */
    --color-accent-gold: #d4af37;
    --color-accent-bronze: #cd7f32;
    --color-accent-warm: #e8d5b7;

    /* Gradients - Subtle Elegance */
    --gradient-overlay: linear-gradient(
        135deg,
        rgba(13, 13, 13, 0.85) 0%,
        rgba(13, 13, 13, 0.65) 40%,
        rgba(13, 13, 13, 0.45) 70%,
        rgba(13, 13, 13, 0.2) 100%
    );

    --gradient-card: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.02) 100%
    );

    --gradient-accent: linear-gradient(
        135deg,
        var(--color-accent-gold) 0%,
        var(--color-accent-bronze) 100%
    );

    /* Typography - Refined */
    --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing - Generous for Luxury */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 6rem;

    /* Transitions - Slow & Elegant */
    --ease-luxury: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-gentle: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --duration-fast: 300ms;
    --duration-medium: 500ms;
    --duration-slow: 800ms;

    /* Shadows - Soft Depth */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.4);
}

/* ============================================
   RESET & BASE
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--color-bg-primary);
}

/* Background Image */
.hero__background {
    position: absolute;
    inset: -5%;
    background-image: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=2400&q=95');
    background-size: cover;
    background-position: center;
    filter: brightness(0.8) contrast(1.1);
    will-change: transform;
    transition: transform var(--duration-slow) var(--ease-luxury);
}

.hero:hover .hero__background {
    transform: scale(1.05);
}

/* Elegant Gradient Overlay */
.hero__overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-overlay);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    z-index: 1;
}

/* Content Container */
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: var(--spacing-xl) var(--spacing-lg);
    text-align: center;
    animation: fadeInUp 1.2s var(--ease-luxury) forwards;
    opacity: 0;
}

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

/* Artist Badge */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.5rem 1.25rem;
    background: var(--color-bg-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-accent-gold);
    margin-bottom: var(--spacing-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    transition: all var(--duration-fast) var(--ease-luxury);
}

.hero__badge:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.hero__badge-icon {
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Main Headline - Serif Elegance */
.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-primary);
}

.hero__headline-line {
    display: block;
    opacity: 0;
    animation: slideIn 1s var(--ease-luxury) forwards;
}

.hero__headline-line:first-child {
    animation-delay: 0.3s;
}

.hero__headline-line--emphasis {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
    animation-delay: 0.6s;
}

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

/* Subheadline - Quality Description */
.hero__subheadline {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    animation: fadeIn 1s var(--ease-luxury) 0.9s forwards;
    opacity: 0;
}

.hero__break {
    display: none;
}

@media (min-width: 768px) {
    .hero__break {
        display: block;
    }
}

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

/* CTA Button Group */
.hero__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-xl);
    animation: fadeIn 1s var(--ease-luxury) 1.2s forwards;
    opacity: 0;
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--duration-fast) var(--ease-luxury);
    position: relative;
    overflow: hidden;
}

/* Primary CTA - Gold Accent */
.hero__cta--primary {
    background: var(--gradient-accent);
    color: var(--color-bg-primary);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.25);
}

.hero__cta--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-accent-bronze) 0%, var(--color-accent-gold) 100%);
    opacity: 0;
    transition: opacity var(--duration-fast) var(--ease-luxury);
}

.hero__cta--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.35);
}

.hero__cta--primary:hover::before {
    opacity: 1;
}

/* Secondary CTA - Glass */
.hero__cta--secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.hero__cta--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.hero__cta-text {
    position: relative;
    z-index: 1;
}

.hero__cta-icon {
    position: relative;
    z-index: 1;
    transition: transform var(--duration-fast) var(--ease-luxury);
}

.hero__cta--primary:hover .hero__cta-icon {
    transform: translateX(4px);
}

.hero__cta-icon--info {
    margin-right: var(--spacing-xs);
}

/* Trust Indicators */
.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md) var(--spacing-lg);
    justify-content: center;
    animation: fadeIn 1s var(--ease-luxury) 1.5s forwards;
    opacity: 0;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.hero__trust-icon {
    color: var(--color-accent-gold);
    flex-shrink: 0;
}

/* Product Highlight Card - Floating */
.hero__product-card {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 320px;
    background: var(--gradient-card);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: floatIn 1.2s var(--ease-luxury) 0.6s forwards;
    opacity: 0;
    transition: transform var(--duration-medium) var(--ease-luxury);
}

.hero__product-card:hover {
    transform: translateY(-50%) translateX(-8px);
    border-color: rgba(212, 175, 55, 0.2);
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

.hero__product-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

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

.hero__product-card:hover .hero__product-image img {
    transform: scale(1.08);
}

.hero__product-info {
    padding: var(--spacing-md);
}

.hero__product-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
    color: var(--color-text-primary);
}

.hero__product-collection {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-sm);
}

.hero__product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero__product-price {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-accent-gold);
}

.hero__product-editions {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.hero__product-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-accent-gold);
    text-decoration: none;
    transition: gap var(--duration-fast) var(--ease-luxury);
}

.hero__product-cta:hover {
    gap: 0.75rem;
}

/* Scroll Indicator - Minimal */
.hero__scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
    animation: fadeIn 1s var(--ease-luxury) 2s forwards, bounce 2s ease-in-out 2s infinite;
    opacity: 0;
}

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

.hero__scroll-icon {
    color: var(--color-text-muted);
    transition: color var(--duration-fast) var(--ease-luxury);
}

.hero__scroll-indicator:hover .hero__scroll-icon {
    color: var(--color-accent-gold);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
    .hero__product-card {
        right: 2%;
        width: 280px;
    }
}

@media (max-width: 968px) {
    .hero__product-card {
        position: static;
        transform: none;
        margin: var(--spacing-xl) auto 0;
        max-width: 320px;
    }

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

@media (max-width: 768px) {
    .hero__content {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .hero__headline {
        font-size: 2.25rem;
    }

    .hero__subheadline {
        font-size: 1rem;
    }

    .hero__cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto var(--spacing-lg);
    }

    .hero__cta {
        width: 100%;
        justify-content: center;
    }

    .hero__trust {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.hero__cta:focus-visible,
.hero__scroll-indicator:focus-visible,
.hero__product-cta:focus-visible {
    outline: 2px solid var(--color-accent-gold);
    outline-offset: 4px;
}
