.home-styles {
    padding: 80px 20px;
    background-color: #000;
    color: #fff;
}

.home-styles .container {
    max-width: 1550px;
    margin: 0 auto;
    /* text-align: center; */
}

.home-styles .styles-header {
    text-align: center;
    margin-bottom: 50px;
}

.home-styles .styles-title {
    font-size: 68px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 30px 0;
    color: #fff;
    text-align: center;
    line-height: 1.1;
}

.home-styles .styles-header p {
    color: rgba(255,255,255,0.75);
    font-size: 17px;
    line-height: 1.7;
    max-width: 750px;
    margin: 0 auto;
}

.home-styles .styles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.home-styles .style-card {
    background-color: #111;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    border-top: none;
    display: block;
    text-decoration: none;
    color: inherit;
    
    /* Smooth shadow and hover curves */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, box-shadow;
}

.home-styles .style-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 45px rgba(255, 255, 255, 0.05);
}

.home-styles .style-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.home-styles .style-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    /* Smooth scaling image on hover */
    transition: transform 1.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.home-styles .style-card:hover .style-image img {
    transform: scale(1.06);
}

.home-styles .style-content {
    padding: 30px 25px;
}

.home-styles .style-card h3 {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #fff;
    letter-spacing: 0.5px;
}

.home-styles .style-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.home-styles .styles-cta-wrapper {
    margin-top: 20px;
    text-align: center;
}

.home-styles .styles-cta {
    display: inline-block;
    padding: 18px 42px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    
    /* Buttery smooth interactions */
    transition: background 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    will-change: transform, opacity;
}

.home-styles .styles-cta:hover {
    background-color: #f3f3f3;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.15);
}

.home-styles .styles-cta:active {
    transform: translateY(-1px) scale(0.98);
}


/* =========================
   SCROLL REVEAL TRIGGERS
========================= */

/* Default State (Hidden until scrolled) */
.home-styles.reveal-on-scroll .styles-title,
.home-styles.reveal-on-scroll .styles-header p,
.home-styles.reveal-on-scroll .styles-cta,
.home-styles.reveal-on-scroll .style-card {
    opacity: 0;
}

/* Revealed State (Triggered on Scroll) */
.home-styles.reveal-on-scroll.is-visible .styles-title {
    animation: styles-fade-in-up 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
}

.home-styles.reveal-on-scroll.is-visible .styles-header p {
    animation: styles-fade-in-up 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.4s;
}

.home-styles.reveal-on-scroll.is-visible .styles-cta {
    animation: styles-fade-in-up 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.8s;
}

/* Four Cards staggered beautifully */
.home-styles.reveal-on-scroll.is-visible .style-card:nth-of-type(1) {
    animation: styles-card-pop 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
}

.home-styles.reveal-on-scroll.is-visible .style-card:nth-of-type(2) {
    animation: styles-card-pop 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.5s;
}

.home-styles.reveal-on-scroll.is-visible .style-card:nth-of-type(3) {
    animation: styles-card-pop 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.7s;
}

.home-styles.reveal-on-scroll.is-visible .style-card:nth-of-type(4) {
    animation: styles-card-pop 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.9s;
}


/* =========================
   KEYFRAME ANIMATIONS
   (Calm & Premium Eases)
========================= */

@keyframes styles-fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes styles-card-pop {
    0% {
        opacity: 0;
        transform: scale(0.96) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .home-styles {
        padding: 50px 20px;
    }

    .home-styles .styles-title {
        font-size: 32px;
        letter-spacing: -2px;
    }

    .home-styles .styles-header p {
        font-size: 15px;
    }

    .home-styles .styles-cta {
        padding: 12px 24px;
        font-size: 14px;
    }

    .home-styles .style-card h3 {
        font-size: 24px;
    }

    .home-styles .style-card p {
        font-size: 14px;
    }
}