/* Home Page Styles 🏠 */

/* Hero Section */
.hero-image {
    height: 85vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    transition: transform 6s ease-out;
}

.carousel-item.active .hero-image {
    transform: scale(1.1);
}

.shop-now-btn {
    width: 120px;
    height: 120px;
    background-color: var(--bg-dark);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    margin-top: -60px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
}

.shop-now-btn:hover {
    transform: scale(1.1) rotate(15deg);
    background-color: var(--bg-card);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Collections & Categories */
.category-pill {
    padding: 12px 25px;
    background-color: var(--bg-card);
    border: 1px solid var(--primary-color);
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    transition: all 0.3s ease;
}

.category-pill:hover,
.category-pill.active {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

/* Category Card Interactions */
.collection-card {
    transition: all 0.4s ease;
}

.collection-card .overflow-hidden {
    position: relative;
}

.collection-card img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.collection-card:hover img {
    transform: scale(1.08); /* slight zoom in effect */
}

/* Button Hover Lift */
.btn-hover-lift {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.btn-hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* =============================================
   Mobile Fixes ✅
   ============================================= */
@media (max-width: 991px) {
    /* Hero Banner */
    .hero-image {
        height: 55vw;
        min-height: 260px;
        max-height: 420px;
        background-position: center center;
        overflow: hidden;
    }

    /* Prevent banner zoom from cropping left content */
    .carousel-item.active .hero-image {
        transform: none;
    }

    /* Hero content glass box: smaller padding */
    .hero-content {
        padding: 1rem 1.25rem !important;
    }

    .hero-content h1.display-3 {
        font-size: 1.5rem !important;
    }

    .hero-content p.lead {
        font-size: 1rem !important;
        margin-bottom: 0 !important;
    }

    /* Shop Now circular button */
    .shop-now-btn {
        width: 80px;
        height: 80px;
        font-size: 0.7rem;
        margin-top: -30px;
    }

    /* Collections tab pills — horizontal scroll, one line */
    .collection-pills-wrapper {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        justify-content: flex-start !important;
        gap: 0.5rem !important;
        padding-bottom: 0.75rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .collection-pills-wrapper::-webkit-scrollbar {
        display: none;
    }

    /* Make each pill compact */
    .category-pill {
        padding: 8px 16px;
        font-size: 0.72rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Add to Cart button — full width, no text overflow */
    .btn-add-cart {
        width: 100% !important;
        font-size: 0.7rem !important;
        padding: 6px 8px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Product card action bar on mobile */
    .product-card .action-bar {
        padding: 0.4rem !important;
    }

    /* Tighten section spacing on mobile */
    .container.my-5 {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }

    .container.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}
