/* ===================================
   SIPZZ - HOMEPAGE.CSS
   Homepage specific styles
   =================================== */

/* ===================================
   HERO SECTION - SLIDER
   =================================== */

.hero-section {
    position: relative;
    overflow: hidden;
    
}

.hero-slider {
    position: relative;
    width: 100%;
    height: auto;
}

.hero-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.hero-slide {
    min-width: 100%;
    position: relative;
}

.hero-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* Navigation Arrows (Desktop) */
.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hero-nav-btn:hover {
    background-color: var(--brand-blue);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.hero-nav-btn i {
    font-size: 20px;
    color: var(--brand-blue);
}

.hero-nav-btn:hover i {
    color: white;
}

.hero-prev {
    left: 20px;
}

.hero-next {
    right: 20px;
}

/* Slide Indicators (Dots) */
.hero-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--brand-blue);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-indicator.active {
    background-color: var(--brand-blue);
    transform: scale(1.2);
}

.hero-indicator:hover {
    background-color: rgba(0, 103, 177, 0.7);
    transform: scale(1.1);
}

/* Mobile: Hide arrows, show swipe hint */
@media (max-width: 900px) {
    .hero-nav-btn {
        display: none;
    }

    .hero-indicators {
        bottom: 15px;
    }

    .hero-indicator {
        width: 10px;
        height: 10px;
    }
}

/* ===================================
   USP BANNER (Homepage)
   =================================== */

.usp-section {
    padding: 50px 0;
    background-color: var(--bg-white);
    margin-bottom: 60px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    text-align: center;
}

.usp-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.usp-item img {
    height: 50px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.usp-item .usp-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: 0.3px;
}

.usp-item .usp-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

/* ===================================
   SIZE FINDER SECTION
   =================================== */

.size-finder-section {
    padding: 60px 0 40px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 40px 0;
    text-align: center;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-secondary);
    margin: -25px 0 40px 0;
    font-weight: 500;
}

.size-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto 40px auto;
}

.size-option-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.size-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-blue);
}

.size-option-card.active {
    border-color: var(--brand-blue);
    background-color: rgba(0, 103, 177, 0.05);
    box-shadow: 0 4px 15px rgba(0, 103, 177, 0.15);
}

.size-option-card h3 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 5px 0;
}

.size-option-card .size-ml {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 600;
    margin: 0 0 12px 0;
}

.size-option-card .size-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===================================
   COLLECTION ROW SECTION
   =================================== */

.collection-row-section {
    padding: 40px 0;
}

.collection-row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.collection-row-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.reset-filter-btn {
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: none;
}

.reset-filter-btn.active {
    display: inline-block;
}

.reset-filter-btn:hover {
    border-color: var(--brand-blue);
    color: var(--brand-blue);
    background-color: rgba(0, 103, 177, 0.05);
}

.collections-scroll-wrapper {
    overflow-x: auto;
    margin-bottom: 50px;
    padding-bottom: 10px;
}

.collections-scroll-wrapper::-webkit-scrollbar {
    height: 6px;
}

.collections-scroll-wrapper::-webkit-scrollbar-track {
    background: var(--border-color);
    border-radius: 3px;
}

.collections-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--brand-blue);
    border-radius: 3px;
}

.collections-row {
    display: flex;
    gap: 20px;
    min-width: min-content;
}

.collection-card {
    background: transparent;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 15px;
    min-width: 140px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

.collection-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-blue);
}

.collection-card.active {
    border-color: var(--brand-blue);
    background-color: rgba(0, 103, 177, 0.05);
}

.collection-card.dimmed {
    opacity: 0.3;
}

.collection-card-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.collection-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.collection-card:hover .collection-card-image img {
    transform: scale(1.05);
}

.collection-card .collection-badge {
    display: block;
    background-color: #8cd2f4;
    color: #002855;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.collection-card .collection-temp {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin: 0 auto;
    width: fit-content;
}

.collection-card .collection-temp span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.collection-card .collection-temp .fa-fire {
    color: #ff6f40;
}

.collection-card .collection-temp .fa-snowflake {
    color: #5bc0de;
}

/* ===================================
   PRODUCT GRID (Homepage)
   =================================== */

.products-section {
    padding: 20px 0 80px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 40px;
}

.product-card {
    background-color: transparent;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    box-shadow: none;
}

.product-card.hidden {
    display: none;
}

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

.product-card-image-wrapper {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 280px;
    background-color: transparent;
    margin-bottom: 15px;
    border: none;
}

.product-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.product-card:hover img {
    transform: scale(1.08);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
}

.product-card-info {
    padding: 0 10px;
}

.product-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.product-card .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-blue);
    margin: 0 0 15px 0;
}

.product-card-colors {
    display: flex;
    gap: 8px;
    margin: 0 0 15px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.product-card-colors .color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--text-primary);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.product-card-colors .color-dot:hover {
    transform: scale(1.15);
}

.product-card-colors .color-dot.active {
    border: 2px solid var(--brand-blue);
    box-shadow: 0 0 0 2px rgba(0, 103, 177, 0.2);
}

.view-details {
    display: inline-block;
    background-color: var(--brand-blue);
    color: var(--bg-white);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 25px;
    border-radius: 6px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.view-details:hover {
    background-color: #005a9a;
    transform: translateY(-2px);
}

/* ===================================
   SHOP ALL BUTTON
   =================================== */

.shop-all-container {
    text-align: center;
    padding: 40px 0 80px 0;
}

.shop-all-btn {
    display: inline-block;
    background-color: var(--brand-blue);
    color: var(--bg-white);
    font-size: 16px;
    font-weight: 700;
    padding: 16px 50px;
    border-radius: 8px;
    transition: all 0.3s ease;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 15px rgba(0, 103, 177, 0.25);
}

.shop-all-btn:hover {
    background-color: #005a9a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 103, 177, 0.35);
}

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

@media (max-width: 900px) {
    .section-title {
        font-size: 32px;
    }

    .collection-row-title {
        font-size: 26px;
    }

    .usp-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .size-options-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 30px;
    }

    .collection-card {
        min-width: 120px;
        padding: 10px;
    }

    .collection-card-image {
        height: 100px;
    }

    .collection-card .collection-badge {
        font-size: 8px;
        padding: 3px 6px;
    }

    .collection-card .collection-temp {
        font-size: 9px;
    }
}

@media (max-width: 600px) {
    .usp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .usp-item img {
        height: 40px;
    }

    .usp-item .usp-title {
        font-size: 12px;
    }

    .usp-item .usp-desc {
        font-size: 11px;
    }

    .section-title {
        font-size: 28px;
    }

    .collection-row-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .collection-card {
        min-width: 110px;
        padding: 8px;
    }

    .collection-card-image {
        height: 90px;
    }

    .product-card-image-wrapper {
        height: 240px;
        padding: 20px 15px;
    }
}
