/* ============================================
   HOMEPAGE STYLES - Fullscreen Video Hero
   ============================================ */

/* Video Hero Section */
.homepage-video-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Video Background - Always Centered */
.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 1;
}

/* Fallback Background Image */
.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Overlay for Content */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: rgba(0, 0, 0, 0.2); /* Subtle dark overlay */
}

/* Hero Content - Centered */
.hero-content {
    text-align: center;
    color: white;
    padding: 40px 20px;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 56px;
    font-weight: var(--font-weight-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 20px;
    font-weight: var(--font-weight-light);
    margin-bottom: 40px;
    letter-spacing: 1px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* Hero Button */
.btn-hero {
    display: inline-block;
    padding: 18px 50px;
    background: white;
    color: var(--color-primary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: var(--font-weight-semibold);
    border: 2px solid white;
    transition: all var(--transition-speed);
    text-decoration: none;
}

.btn-hero:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}

/* Fade In Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   FEATURED COLLECTIONS SECTION
   ============================================ */

.featured-collections {
    padding: 80px 0;
    background: var(--color-bg-light);
}

.section-heading {
    text-align: center;
    font-size: 32px;
    font-weight: var(--font-weight-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 50px;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.collection-item {
    position: relative;
    overflow: hidden;
    background: white;
}

.collection-item a {
    display: block;
    text-decoration: none;
}

.collection-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.collection-item:hover .collection-image img {
    transform: scale(1.05);
}

.collection-info {
    padding: 25px 20px;
    text-align: center;
    background: white;
}

.collection-info h3 {
    font-size: 18px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.collection-link {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-light);
    transition: color var(--transition-speed);
}

.collection-item:hover .collection-link {
    color: var(--color-primary);
}

/* ============================================
   LATEST ARRIVALS SECTION
   ============================================ */

.latest-arrivals {
    padding: 80px 0;
    background: white;
}

.latest-arrivals .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.latest-arrivals .product-item {
    background: var(--color-bg-light);
}

.latest-arrivals .product-image {
    aspect-ratio: 2/3;
    overflow: hidden;
}

.latest-arrivals .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.latest-arrivals .product-item:hover .product-image img {
    transform: scale(1.05);
}

.latest-arrivals .product-info {
    padding: 20px;
    text-align: center;
}

.latest-arrivals .product-info h3 {
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-primary);
}

.view-all {
    text-align: center;
}

/* ============================================
   ABOUT PREVIEW SECTION
   ============================================ */

.about-preview {
    padding: 100px 0;
    background: var(--color-bg-light);
    text-align: center;
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 36px;
    font-weight: var(--font-weight-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 30px;
}

.btn-link {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.btn-link:hover {
    color: var(--color-secondary);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .homepage-video-banner {
        height: 70vh; /* Shorter on mobile */
    }

    .hero-title {
        font-size: 36px;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .btn-hero {
        padding: 15px 35px;
        font-size: 12px;
    }

    .section-heading {
        font-size: 24px;
    }

    .collections-grid {
        grid-template-columns: 1fr;
    }

    .latest-arrivals .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .about-content h2 {
        font-size: 28px;
    }

    .about-content p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .latest-arrivals .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .hero-content {
        animation: none;
    }

    .collection-image img,
    .product-image img {
        transition: none;
    }
}

/* Hide video on very slow connections (optional) */
@media (prefers-reduced-data: reduce) {
    .video-background {
        display: none;
    }

    .video-fallback {
        display: block;
    }
}
