/* =========================================================
   FASHIONÉ
   CATEGORIES PAGE
========================================================= */

.categories-page {
    background: #FFFFFF;
    color: #111;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.categories-breadcrumb {
    width: 100%;

    padding: 20px 5%;

    display: flex;
    align-items: center;

    gap: 10px;

    background: #FFFFFF;

    border-bottom: 1px solid #ddd;

    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}

.categories-breadcrumb a {
    color: #777;

    text-decoration: none;

    transition: color 0.3s ease;
}

.categories-breadcrumb a:hover {
    color: #E7A49A;
}

.categories-breadcrumb span {
    color: #E7A49A;
}

.categories-breadcrumb strong {
    font-weight: 600;
}


/* =========================================================
   HERO
========================================================= */

.categories-hero {
    min-height: 560px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 80px 5%;

    overflow: hidden;

    background-image:
        url("../images/bg.avif");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;
}


/* Dark overlay */

.categories-hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.55)
        );
}


/* Hero content */

.categories-hero-content {
    position: relative;

    z-index: 2;

    max-width: 850px;

    color: white;
}

.categories-label {
    margin: 0 0 20px;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 5px;

    color: #B86F5A;
}

.categories-hero h1 {
    margin: 0 0 25px;

    font-family:
        "Playfair Display",
        serif;

    font-size: clamp(
        50px,
        8vw,
        100px
    );

    line-height: 0.95;

    font-weight: 600;
}

.categories-hero h1 span {
    display: block;

    color: #B86F5A;

    font-style: italic;
}

.categories-description {
    max-width: 620px;

    margin: 0 auto 35px;

    font-size: 14px;

    line-height: 1.9;

    color: #eee;
}


/* =========================================================
   BUTTON
========================================================= */

.categories-btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    padding: 16px 26px;

    background: #E7A49A;

    color: white;

    text-decoration: none;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 1.5px;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.categories-btn:hover {
    background: #111;

    transform: translateY(-3px);
}

.categories-btn i {
    font-size: 10px;
}


/* =========================================================
   ALL CATEGORIES
========================================================= */

.all-categories {
    padding: 100px 5%;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.categories-heading {
    max-width: 750px;

    margin: 0 auto 60px;

    text-align: center;
}

.categories-section-label {
    margin: 0 0 15px;

    color: #E7A49A;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 4px;
}

.categories-heading h2 {
    margin: 0 0 20px;

    font-family:
        "Playfair Display",
        serif;

    font-size: clamp(
        42px,
        6vw,
        70px
    );

    line-height: 1;
}

.categories-heading h2 span {
    color: #E7A49A;

    font-style: italic;
}

.categories-heading > p:last-child {
    max-width: 600px;

    margin: 0 auto;

    color: #777;

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   CATEGORY GRID
========================================================= */

.categories-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 22px;

    max-width: 1400px;

    margin: 0 auto;
}


/* =========================================================
   CATEGORY CARD
========================================================= */

.category-card {
    position: relative;

    min-height: 450px;

    overflow: hidden;

    display: block;

    text-decoration: none;

    color: white;

    background: #ddd;
}


/* First two cards slightly taller */

.category-card.category-large {
    min-height: 540px;
}


/* Image */

.category-card img {
    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.7s ease;
}


/* Image zoom */

.category-card:hover img {
    transform: scale(1.08);
}


/* =========================================================
   CARD OVERLAY
========================================================= */

.category-card-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.78),
            rgba(0, 0, 0, 0.05) 70%
        );

    transition:
        background 0.4s ease;
}

.category-card:hover
.category-card-overlay {
    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.85),
            rgba(0, 0, 0, 0.15) 75%
        );
}


/* =========================================================
   CATEGORY NUMBER
========================================================= */

.category-number {
    position: absolute;

    top: 25px;

    left: 25px;

    z-index: 2;

    font-size: 11px;

    letter-spacing: 2px;

    color: #B86F5A;
}


/* =========================================================
   CATEGORY CONTENT
========================================================= */

.category-content {
    position: absolute;

    left: 35px;

    right: 35px;

    bottom: 35px;

    z-index: 3;
}

.category-content p {
    margin: 0 0 8px;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 3px;

    color: #B86F5A;
}

.category-content h3 {
    margin: 0 0 15px;

    font-family:
        "Playfair Display",
        serif;

    font-size: clamp(
        35px,
        4vw,
        55px
    );

    font-weight: 600;

    line-height: 1;
}

.category-content span {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    font-size: 9px;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    color: #fff;

    transition:
        gap 0.3s ease,
        color 0.3s ease;
}

.category-card:hover
.category-content span {
    gap: 16px;

    color: #B86F5A;
}


/* =========================================================
   STYLE STATEMENT
========================================================= */

.category-statement {
    min-height: 480px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 80px 5%;

    background:
        #111;
}

.category-statement-content {
    max-width: 800px;

    color: white;
}

.category-statement-content > p {
    margin: 0 0 20px;

    color: #E7A49A;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 4px;
}

.category-statement h2 {
    margin: 0 0 35px;

    font-family:
        "Playfair Display",
        serif;

    font-size: clamp(
        45px,
        7vw,
        85px
    );

    line-height: 1;
}

.category-statement h2 span {
    color: #B86F5A;

    font-style: italic;
}


/* Dark button */

.categories-btn.dark-btn {
    background: #E7A49A;
}

.categories-btn.dark-btn:hover {
    background: white;

    color: #111;
}


/* =========================================================
   RESPONSIVE - 1100px
========================================================= */

@media (max-width: 1100px) {

    .all-categories {
        padding: 80px 4%;
    }

    .category-card {
        min-height: 400px;
    }

    .category-card.category-large {
        min-height: 480px;
    }

}


/* =========================================================
   RESPONSIVE - 768px
========================================================= */

@media (max-width: 768px) {

    .categories-breadcrumb {
        padding: 16px 20px;

        font-size: 9px;
    }


    /* Hero */

    .categories-hero {
        min-height: 500px;

        padding: 70px 20px;
    }

    .categories-label {
        font-size: 9px;

        letter-spacing: 3px;
    }

    .categories-hero h1 {
        font-size: clamp(
            48px,
            13vw,
            75px
        );

        line-height: 0.95;
    }

    .categories-description {
        font-size: 13px;

        line-height: 1.8;
    }


    /* Categories */

    .all-categories {
        padding: 70px 20px;
    }

    .categories-heading {
        margin-bottom: 40px;
    }

    .categories-heading h2 {
        font-size: 48px;
    }


    /* Grid */

    .categories-grid {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .category-card,
    .category-card.category-large {
        min-height: 420px;
    }


    /* Statement */

    .category-statement {
        min-height: 400px;

        padding: 70px 20px;
    }

}


/* =========================================================
   RESPONSIVE - 500px
========================================================= */

@media (max-width: 500px) {

    .categories-breadcrumb {
        padding: 14px 15px;

        gap: 7px;

        font-size: 8px;
    }


    .categories-hero {
        min-height: 470px;

        padding: 60px 18px;
    }

    .categories-label {
        margin-bottom: 15px;

        font-size: 8px;

        letter-spacing: 2.5px;
    }

    .categories-hero h1 {
        font-size: 48px;
    }

    .categories-description {
        font-size: 12px;

        margin-bottom: 28px;
    }

    .categories-btn {
        padding: 14px 20px;

        font-size: 9px;
    }


    /* Categories */

    .all-categories {
        padding: 60px 15px;
    }

    .categories-section-label {
        font-size: 8px;

        letter-spacing: 3px;
    }

    .categories-heading h2 {
        font-size: 42px;
    }

    .categories-heading > p:last-child {
        font-size: 12px;
    }


    /* Cards */

    .category-card,
    .category-card.category-large {
        min-height: 360px;
    }

    .category-content {
        left: 22px;

        right: 22px;

        bottom: 25px;
    }

    .category-content h3 {
        font-size: 40px;
    }

    .category-number {
        top: 20px;

        left: 20px;
    }


    /* Statement */

    .category-statement {
        min-height: 350px;

        padding: 60px 20px;
    }

    .category-statement h2 {
        font-size: 45px;
    }

}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 360px) {

    .categories-hero h1 {
        font-size: 42px;
    }

    .category-card,
    .category-card.category-large {
        min-height: 330px;
    }

    .category-content h3 {
        font-size: 34px;
    }

}