/* Critical Home Page Styles - Optimized for Performance */

/* Base Reset */
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Montserrat',system-ui,-apple-system,sans-serif;overflow-x:hidden;-webkit-font-smoothing:antialiased}

/* ==================== VIDEO LOADER ==================== */
.video-loader{position:absolute;top:0;left:0;right:0;bottom:0;background:#000;display:flex;align-items:center;justify-content:center;z-index:10;transition:opacity 0.5s ease,visibility 0.5s ease}
.video-loader.hidden{opacity:0;visibility:hidden;pointer-events:none}
.video-loader-content{text-align:center;animation:fadeIn 0.3s ease}
.video-loader-logo{margin-bottom:30px}
.video-loader-logo img{width:100px;height:100px;object-fit:contain;animation:pulse-logo 2s infinite}
@keyframes pulse-logo{0%,100%{opacity:1;transform:scale(1)}50%{opacity:0.7;transform:scale(0.95)}}
.video-loader-spinner{width:40px;height:40px;border:2px solid rgba(255,255,255,0.2);border-top:2px solid #fff;border-radius:50%;margin:0 auto 20px;animation:spin 1s linear infinite}
@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}
.video-loader-text{color:rgba(255,255,255,0.7);font-size:11px;letter-spacing:3px;text-transform:uppercase}

/* Hero Section - Critical for LCP */
.hero-section{height:90vh;display:flex;align-items:center;justify-content:center;text-align:center;color:#fff;position:relative;overflow:hidden;background:#000;}
.hero-section-video{position:absolute;top:0;left:0;right:0;bottom:0;overflow:hidden;z-index:1}
.hero-section-video video{width:100%;height:100%;object-fit:cover;filter:brightness(0.7)}
.hero-content{z-index:2;opacity:0;animation:fadeInUp .8s ease forwards 0.3s}
.hero-subtitle{font-size:12px;letter-spacing:3px;margin-bottom:10px;opacity:0;animation:fadeInUp .8s ease forwards .3s}
.hero-title{font-size:48px;font-weight:700;letter-spacing:5px;margin-bottom:30px;opacity:0;animation:fadeInUp .8s ease forwards .5s}
.hero-btn{background:#000;color:#fff;border:2px solid #fff;padding:12px 30px;font-size:12px;letter-spacing:2px;cursor:pointer;transition:all .3s ease;opacity:0;animation:fadeInUp .8s ease forwards .7s;text-decoration:none;display:inline-block}
.hero-btn:hover{background:#fff;color:#000}

@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes fadeInUp{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}

/* Scroll Animations - Use GPU acceleration */
.animate-on-scroll{opacity:0;transform:translateY(50px);transition:opacity .6s ease,transform .6s ease;will-change:opacity,transform}
.animate-on-scroll.animated{opacity:1;transform:translateY(0)}
.delay-1{transition-delay:.1s}.delay-2{transition-delay:.2s}.delay-3{transition-delay:.3s}
.delay-4{transition-delay:.4s}.delay-5{transition-delay:.5s}.delay-6{transition-delay:.6s}

/* Collections Section */
.collections-section{padding:80px 0;background:#f8f8f8}
.section-title{text-align:center;font-size:24px;font-weight:600;letter-spacing:3px;margin-bottom:50px}
.collection-card{position:relative;overflow:hidden;height:400px;margin-bottom:30px;cursor:pointer;background:#eee}
.collection-card img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.collection-card:hover img{transform:scale(1.1)}
.collection-overlay{position:absolute;bottom:0;left:0;right:0;padding:30px;background:linear-gradient(transparent,rgba(0,0,0,.7));color:#fff;transition:background .3s ease}
.collection-card:hover .collection-overlay{background:linear-gradient(transparent,rgba(0,0,0,.9))}
.collection-name{font-size:14px;letter-spacing:2px;margin-bottom:10px}
.shop-now-btn{background:#000;color:#fff;border:none;padding:8px 20px;font-size:10px;letter-spacing:1px;cursor:pointer;transition:all .3s ease;text-decoration:none;display:inline-block}
.shop-now-btn:hover{background:#fff;color:#000}

/* Featured Products */
.featured-products-section{padding:80px 0;background:#fff}
.product-card{margin-bottom:30px;transition:transform .3s ease,box-shadow .3s ease;background:#fff}
.product-card:hover{transform:translateY(-10px);box-shadow:0 20px 40px rgba(0,0,0,.2)}
.product-card img{width:100%;height:300px;object-fit:cover}
.product-info{padding:20px 15px;text-align:center}
.product-name{font-size:14px;font-weight:600;letter-spacing:1px;margin-bottom:10px}
.product-category{font-size:11px;color:#666;margin-bottom:10px}
.product-price{font-size:16px;font-weight:700}
.price-original{text-decoration:line-through;color:#999;margin-right:10px}
.price-discount{color:#dc3545}
.discount-badge{background:#dc3545;color:#fff;padding:2px 8px;font-size:10px;margin-left:5px}

/* Newsletter */
.newsletter-section{padding:80px 0;background:#fff;text-align:center}
.newsletter-subtitle{font-size:11px;letter-spacing:2px;color:#666;margin-bottom:10px}
.newsletter-title{font-size:28px;font-weight:600;letter-spacing:3px;margin-bottom:30px}
.newsletter-form{display:flex;max-width:400px;margin:0 auto}
.newsletter-input{flex:1;padding:12px 15px;border:1px solid #000;font-size:12px}
.newsletter-btn{background:#000;color:#fff;border:1px solid #000;padding:12px 25px;font-size:11px;letter-spacing:1px;cursor:pointer;transition:all .3s ease}
.newsletter-btn:hover{background:#333}

/* Back to Top */
.back-to-top{position:fixed;bottom:30px;right:30px;width:50px;height:50px;background:#000;color:#fff;border:none;border-radius:50%;cursor:pointer;opacity:0;visibility:hidden;transition:all .3s ease;z-index:1000}
.back-to-top.visible{opacity:1;visibility:visible}
.back-to-top:hover{background:#333;transform:translateY(-5px)}

/* Utility Classes */
.hover-lift{transition:transform .3s ease,box-shadow .3s ease}
.hover-lift:hover{transform:translateY(-10px);box-shadow:0 20px 40px rgba(0,0,0,.2)}

/* Responsive */
@media(max-width:991px){
    .hero-title{font-size:36px}
    .collection-card{height:300px}
    .section-title{font-size:20px;margin-bottom:40px}
    .collection-name{font-size:13px}
    .shop-now-btn{font-size:9px;padding:7px 16px}
    .product-name{font-size:13px}
    .product-price{font-size:15px}
    .newsletter-title{font-size:24px}
}

@media(max-width:767px){
.hero-section{height:85vh}
    .hero-title{font-size:30px;letter-spacing:3px}
    .hero-btn{padding:10px 25px;font-size:11px}
    .collections-section,.featured-products-section,.newsletter-section{padding:60px 0}
    .section-title{font-size:18px;letter-spacing:2px;margin-bottom:35px}
    .collection-card{height:280px;margin-bottom:20px}
    .product-card img{height:260px}
    .product-name{font-size:12px}
    .product-category{font-size:10px}
    .product-price{font-size:14px}
  .video-loader-logo img{width:80px;height:80px}
  .video-loader-spinner{width:35px;height:35px}
    .video-loader-text{font-size:10px;letter-spacing:2px}
}

@media(max-width:576px){
    .hero-section{height:80vh}
    .hero-title{font-size:24px;letter-spacing:2px}
    .hero-btn{padding:10px 20px;font-size:10px}
    .section-title{font-size:16px}
    .newsletter-form{flex-direction:column}
    .newsletter-input{margin-bottom:10px}
    .newsletter-title{font-size:20px}
    .collection-card{height:240px}
    .collection-name{font-size:12px}
    .shop-now-btn{font-size:9px;padding:6px 14px}
  .product-card img{height:220px}
    .product-info{padding:15px 10px}
    .product-name{font-size:11px;margin-bottom:6px}
    .product-price{font-size:13px}
    .back-to-top{width:44px;height:44px;bottom:20px;right:20px}
}
