﻿/* ==================== 1. FONT FACE ==================== */
@font-face {
    font-family: 'UnifrakturMaguntia';
    src: url('/fonts/UnifrakturMaguntia-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ==================== 2. 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;
}

    .video-loader.hidden {
        opacity: 0;
        pointer-events: none;
    }

.video-loader-content {
    text-align: center;
}

.video-loader-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.video-loader-text {
    color: rgba(255,255,255,.7);
 font-size: 12px;
    letter-spacing: 2px;
    margin-top: 20px;
    text-transform: uppercase;
}

/* ==================== 3. HERO SECTION ==================== */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
    text-align: center;
    color: #fff;
}

/* Hero Poster - LCP Element */
.hero-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    z-index: 1;
    transition: opacity 0.5s ease;
}

.hero-section-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-section-video.loaded {
    opacity: 1;
}

.hero-section-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-content {
    position: absolute;
    bottom: 15%;
    z-index: 3;
    text-align: center;
    color: #fff;
    width: 100%;
    padding: 0 20px;
}

.hero-title {
    font-size: 60px;
    font-weight: 700;
    letter-spacing: 12px;
    margin-bottom: 20px;
}

.hero-paragraph {
    font-family: 'UnifrakturMaguntia', 'Times New Roman', serif;
font-size: clamp(1rem, 2.5vw, 2.5rem);
  letter-spacing: 2px;
    line-height: 1.4;
    margin-bottom: 30px;
}

.hero-btn {
    display: inline-block;
    padding: 15px 50px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 3px;
background: transparent;
    cursor: pointer;
    transition: all .3s ease;
}

    .hero-btn:hover {
        background: #fff;
        color: #000;
    }

/* ==================== 4. COLLECTIONS SECTION ==================== */
.collections-section {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 50px;
}

.collection-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    background: #f0f0f0;
}

 .collection-card img {
  width: 100%;
    height: 100%;
  object-fit: cover;
        transition: transform .5s ease;
    }

    .collection-card:hover img {
      transform: scale(1.05);
    }

.collection-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
 background: linear-gradient(transparent,rgba(0,0,0,.7));
    color: #fff;
    text-align: center;
}

.collection-name {
    font-size: 18px;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.shop-now-btn {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
  letter-spacing: 2px;
    transition: all .3s ease;
}

    .shop-now-btn:hover {
        background: #fff;
        color: #000;
    }

/* Astro Collection Card Special */
.astro-collection-card {
    background: #000;
}

.astro-collection-bg {
    width: 100%;
    height: 100%;
background-image: url('../../wwwroot/images/categories/shopall.webp');
  display: flex;
    align-items: center;
    justify-content: center;
}

.astro-collection-card .collection-overlay {
    background: linear-gradient(transparent,rgba(0,0,0,.8));
}

/* ==================== 5. FEATURED PRODUCTS GRID ==================== */
.featured-products-section {
    padding: 80px 0;
  background: #f8f8f8;
}

.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    padding: 5px 0;
    background: #fff;
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex;
  flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
}

    .product-card:hover {
        transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,.15);
    }

.product-image-container {
    background: #f5f5f5;
    overflow: hidden;
}

    .product-image-container img {
        width: 100%;
        height: 100%;
      object-fit: cover;
    }

.product-info {
    padding: 20px 15px;
    text-align: center;
}

.product-name {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

    .product-name a {
    color: #000;
        text-decoration: none;
    }

.product-price {
    font-size: 14px;
}

.price-original {
  text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

.price-discount {
    color: #000;
    font-weight: 600;
}

.discount-badge {
    background: gray;
    color: #fff;
    padding: 2px 8px;
    font-size: 10px;
    margin-left: 5px;
    border-radius: 2px;
}

/* ==================== 7. UI ELEMENTS ==================== */
.view-all-container {
    text-align: center;
    margin-top: 50px;
}

.view-all-btn {
    display: inline-block;
    padding: 15px 50px;
    border: 1px solid #000;
    color: #000;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 3px;
    transition: all .3s;
    background: transparent;
}

    .view-all-btn:hover {
    background: #000;
        color: #fff;
    }

.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;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .back-to-top.visible {
   opacity: 1;
   visibility: visible;
    }

    .back-to-top:hover {
      background: #333;
     transform: translateY(-3px);
    }

/* ==================== 8. RESPONSIVE QUERIES ==================== */
@media(max-width:991px) {
    .featured-products-grid {
    grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .hero-title {
        letter-spacing: 12px;
    }
}

@media(max-width:768px) {
    .hero-section {
        min-height: 90vh;
    }

    .hero-title {
        font-size: 45px;
        letter-spacing: 10px;
    }

    .collection-name {
        font-size: 14px;
    }

    .collection-overlay {
      padding: 20px;
    }

    .collections-section, .featured-products-section, .newsletter-section {
      padding: 60px 0;
    }
}

@media(max-width:767px) {
    /* Disable hover effects on mobile for performance */
    .collection-card:hover img {
      transform: none;
    }
  
    .product-card:hover {
      transform: none;
        box-shadow: none;
    }
    
    /* Disable hover image loading on mobile */
    .product-image-hover,
    .hover-image-link {
        display: none !important;
    }
}

@media(max-width:576px) {
    .featured-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .collection-name {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .shop-now-btn {
        padding: 8px 20px;
 font-size: 10px;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

  .newsletter-input, .newsletter-btn {
width: 100%;
    }

    .hero-paragraph {
        font-size: 1.6rem;
      letter-spacing: 1px;
    }

    .hero-btn {
        padding: 10px 25px;
        font-size: 10px;
    }

    .back-to-top {
        width: 44px;
 height: 44px;
        bottom: 20px;
        right: 20px;
    }
}

/* Featured Products Grid Responsive */
@media(max-width:991px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
    }
}

@media(max-width:576px) {
 .products-grid {
 grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
}

/* ==================== 9. REDUCED MOTION SUPPORT ==================== */
@media (prefers-reduced-motion: reduce) {
    .hero-section-video,
    .hero-poster,
    .collection-card img,
 .product-card,
    .animate-on-scroll,
    .fade-up,
    .scale-in,
    .stagger-animation .product-card {
      transition: none !important;
        animation: none !important;
    }
    
    .animate-on-scroll,
    .fade-up,
    .scale-in,
.stagger-animation .product-card {
      opacity: 1 !important;
        transform: none !important;
    }
}