/* =========================================================
   CUSTOM BASE
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}


/* =========================================================
   BRIDAL SERVICES PAGE
========================================================= */

.services-list {
    padding: 120px 0;
}


/* =========================================================
   SERVICE ROW
========================================================= */

.service-row {
    width: 90%;
    max-width: 1200px;

    margin: 0 auto 130px;

    display: flex;
    align-items: center;

    gap: 90px;
}

.service-row.reverse {
    flex-direction: row-reverse;
}


/* =========================================================
   SERVICE IMAGE
========================================================= */

.service-image {
    flex: 1;
    min-width: 0;

    position: relative;
}

.service-image::after {
    content: "";

    position: absolute;

    width: 100%;
    height: 100%;

    border: 1px solid #c7a76c;

    top: 15px;
    left: 15px;

    z-index: 0;
}

.service-image img {
    width: 100%;
    height: 520px;

    object-fit: cover;

    position: relative;
    z-index: 1;

    border-radius: 3px;

    transition: transform 0.5s ease;
}

.service-image:hover img {
    transform: translate(-5px, -5px);
}


/* =========================================================
   SERVICE CONTENT
========================================================= */

.service-content {
    flex: 1;
    min-width: 0;
}

.service-content::before {
    content: "";

    display: block;

    width: 60px;
    height: 2px;

    background: #b89b5e;

    margin-bottom: 25px;
}

.service-content h2 {
    font-family: "Playfair Display", serif;

    font-size: 45px;
    font-weight: 500;

    color: #2b2520;

    margin-bottom: 25px;

    line-height: 1.2;
}

.service-content p {
    font-size: 17px;

    line-height: 1.9;

    color: #666;

    max-width: 520px;
}


/* =========================================================
   ALTERNATING LAYOUT
========================================================= */

.service-row:nth-child(even) .service-content {
    padding-left: 20px;
}

.service-row:nth-child(odd) .service-content {
    padding-right: 20px;
}


/* =========================================================
   SERVICES HERO
========================================================= */

.about-hero {
    background: #fff;

    padding: 100px 20px 90px;

    text-align: center;
}


/* Content wrapper

   IMPORTANT:
   Your previous CSS had:
   
   .about-hero {
       div { ... }
   }

   That is not standard CSS nesting in this setup.
*/

.about-hero > div {
    max-width: 750px;
    margin: 0 auto;
}

.about-hero h1 {
    font-family: "Playfair Display", serif;

    font-size: 50px;
    font-weight: 500;

    color: #2b2520;

    line-height: 1.2;

    margin-bottom: 0;
}

.about-hero p {
    margin-top: 30px;

    font-size: 1.1rem;

    line-height: 1.9;

    color: #666;
}

.about-hero h1::after {
    content: "";

    display: block;

    width: 70px;
    height: 2px;

    background: #b89b5e;

    margin: 20px auto 0;
}


/* =========================================================
   SERVICE IMAGE / CONTENT OVERRIDES
========================================================= */

.service-image img {
    height: 400px;
}

.service-image::after {
    top: 10px;
    left: 10px;
}

.service-content h2 {
    font-size: 34px;
}

.service-content p {
    font-size: 16px;
}


/* =========================================================
   COLLECTION ARCHIVE
========================================================= */

.category-page {
    background: #faf7f2;
}


/* =========================================================
   COLLECTION HERO
========================================================= */

.collection-hero {
    padding: 170px 20px 90px;

    text-align: center;
}

.collection-label {
    display: block;

    text-transform: uppercase;

    letter-spacing: 4px;

    font-size: 12px;

    color: #b89b5e;

    margin-bottom: 20px;
}

.collection-hero h1 {
    font-family: "Playfair Display", serif;

    font-size: 58px;
    font-weight: 500;

    color: #2b2520;

    margin-bottom: 25px;

    line-height: 1.2;
}

.collection-hero p {
    max-width: 600px;

    margin: 0 auto;

    color: #777;

    line-height: 1.8;

    font-size: 17px;
}


/* =========================================================
   COLLECTION PRODUCTS
========================================================= */

.collection-products {
    padding: 40px 0 120px;
}


/* =========================================================
   COLLECTION GRID
========================================================= */

.collection-grid {
    width: min(1200px, 90%);

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 45px;
}


/* =========================================================
   DRESS CARD
========================================================= */

.dress-card {
    background: #fff;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.dress-card:hover {
    transform: translateY(-8px);
}


/* =========================================================
   DRESS IMAGE
========================================================= */

.dress-image {
    overflow: hidden;
}

.dress-image img {
    width: 100%;

    height: 500px;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.dress-card:hover .dress-image img {
    transform: scale(1.04);
}


/* =========================================================
   DRESS DETAILS
========================================================= */

.dress-info {
    text-align: center;

    padding: 25px 15px 35px;
}

.dress-info h3 {
    font-family: "Playfair Display", serif;

    font-size: 25px;
    font-weight: 500;

    color: #2b2520;

    margin-bottom: 12px;

    line-height: 1.3;
}

.dress-price {
    color: #b89b5e;

    font-size: 18px;

    margin-bottom: 18px;
}

.view-dress {
    text-transform: uppercase;

    letter-spacing: 2px;

    font-size: 12px;

    color: #555;
}


/* =========================================================
   LARGE LAPTOP
   1200px+
========================================================= */

@media (min-width: 1201px) {

    .service-row {
        gap: 90px;
    }

    .collection-grid {
        gap: 45px;
    }

}


/* =========================================================
   LAPTOP
   1025px - 1200px
========================================================= */

@media (max-width: 1200px) {

    .services-list {
        padding: 100px 0;
    }

    .service-row {
        width: 92%;

        gap: 60px;

        margin-bottom: 110px;
    }

    .service-image img {
        height: 430px;
    }

    .service-content h2 {
        font-size: 38px;
    }

    .service-content p {
        font-size: 16px;
    }

    .collection-grid {
        width: 92%;

        gap: 30px;
    }

    .dress-image img {
        height: 450px;
    }

}


/* =========================================================
   TABLET
   768px - 1024px
========================================================= */

@media (max-width: 1024px) {

    /* -------------------------
       SERVICES
    ------------------------- */

    .services-list {
        padding: 90px 0;
    }

    .service-row {
        width: 90%;

        gap: 45px;

        margin-bottom: 90px;
    }

    .service-image {
        flex: 1;
    }

    .service-content {
        flex: 1;
    }

    .service-image img {
        height: 360px;
    }

    .service-image::after {
        top: 8px;
        left: 8px;
    }

    .service-content h2 {
        font-size: 32px;

        margin-bottom: 20px;
    }

    .service-content p {
        font-size: 15px;

        line-height: 1.8;
    }

    .service-content::before {
        width: 50px;

        margin-bottom: 20px;
    }

    .service-row:nth-child(even) .service-content {
        padding-left: 10px;
    }

    .service-row:nth-child(odd) .service-content {
        padding-right: 10px;
    }


    /* -------------------------
       SERVICES HERO
    ------------------------- */

    .about-hero {
        padding: 80px 30px 70px;
    }

    .about-hero h1 {
        font-size: 44px;
    }

    .about-hero p {
        font-size: 16px;
    }


    /* -------------------------
       COLLECTION HERO
    ------------------------- */

    .collection-hero {
        padding: 140px 30px 70px;
    }

    .collection-hero h1 {
        font-size: 50px;
    }

    .collection-hero p {
        font-size: 16px;
    }


    /* -------------------------
       COLLECTION GRID
    ------------------------- */

    .collection-products {
        padding: 30px 0 90px;
    }

    .collection-grid {
        width: 90%;

        grid-template-columns: repeat(2, 1fr);

        gap: 30px;
    }

    .dress-image img {
        height: 430px;
    }

    .dress-info {
        padding: 22px 15px 30px;
    }

    .dress-info h3 {
        font-size: 23px;
    }

}


/* =========================================================
   PHONE
   481px - 767px
========================================================= */

@media (max-width: 767px) {

    /* -------------------------
       SERVICES
    ------------------------- */

    .services-list {
        padding: 70px 0;
    }

    .service-row,
    .service-row.reverse {
        width: 90%;

        flex-direction: column;

        gap: 45px;

        margin-bottom: 80px;

        align-items: stretch;
    }


    .service-image,
    .service-content {
        width: 100%;

        flex: none;
    }


    .service-image {
        width: calc(100% - 10px);
    }


    .service-image img {
        width: 100%;

        height: 400px;
    }


    .service-image::after {
        top: 8px;
        left: 8px;
    }


    .service-content {
        padding: 0 !important;

        text-align: left;
    }


    .service-content::before {
        width: 50px;

        margin-bottom: 20px;
    }


    .service-content h2 {
        font-size: 30px;

        line-height: 1.25;

        margin-bottom: 18px;
    }


    .service-content p {
        max-width: none;

        font-size: 15px;

        line-height: 1.8;
    }


    /* -------------------------
       SERVICES HERO
    ------------------------- */

    .about-hero {
        padding: 70px 20px 60px;
    }

    .about-hero > div {
        max-width: 100%;
    }

    .about-hero h1 {
        font-size: 38px;

        line-height: 1.25;
    }

    .about-hero p {
        margin-top: 25px;

        font-size: 15px;

        line-height: 1.8;
    }


    /* -------------------------
       COLLECTION HERO
    ------------------------- */

    .collection-hero {
        padding: 120px 20px 60px;
    }

    .collection-label {
        font-size: 11px;

        letter-spacing: 3px;

        margin-bottom: 15px;
    }

    .collection-hero h1 {
        font-size: 42px;

        line-height: 1.2;

        margin-bottom: 20px;
    }

    .collection-hero p {
        font-size: 15px;

        line-height: 1.8;
    }


    /* -------------------------
       COLLECTION PRODUCTS
    ------------------------- */

    .collection-products {
        padding: 25px 0 70px;
    }

    .collection-grid {
        width: 90%;

        grid-template-columns: 1fr;

        gap: 30px;
    }


    /* -------------------------
       DRESS CARD
    ------------------------- */

    .dress-card:hover {
        transform: none;
    }

    .dress-image img {
        height: 500px;
    }

    .dress-card:hover .dress-image img {
        transform: none;
    }

    .dress-info {
        padding: 20px 15px 28px;
    }

    .dress-info h3 {
        font-size: 24px;
    }

    .dress-price {
        font-size: 17px;
    }

}


/* =========================================================
   SMALL PHONE
   0px - 480px
========================================================= */

@media (max-width: 480px) {

    /* -------------------------
       SERVICES
    ------------------------- */

    .services-list {
        padding: 60px 0;
    }

    .service-row,
    .service-row.reverse {
        width: 92%;

        gap: 35px;

        margin-bottom: 70px;
    }


    .service-image {
        width: calc(100% - 8px);
    }


    .service-image img {
        height: 350px;
    }


    .service-image::after {
        top: 7px;
        left: 7px;
    }


    .service-content h2 {
        font-size: 27px;
    }


    .service-content p {
        font-size: 14px;

        line-height: 1.75;
    }


    /* -------------------------
       SERVICES HERO
    ------------------------- */

    .about-hero {
        padding: 60px 18px 50px;
    }

    .about-hero h1 {
        font-size: 32px;
    }

    .about-hero h1::after {
        width: 55px;

        margin-top: 16px;
    }

    .about-hero p {
        font-size: 14px;

        line-height: 1.8;
    }


    /* -------------------------
       COLLECTION HERO
    ------------------------- */

    .collection-hero {
        padding: 105px 18px 50px;
    }

    .collection-label {
        font-size: 10px;

        letter-spacing: 2.5px;
    }

    .collection-hero h1 {
        font-size: 34px;
    }

    .collection-hero p {
        font-size: 14px;

        line-height: 1.75;
    }


    /* -------------------------
       COLLECTION PRODUCTS
    ------------------------- */

    .collection-products {
        padding: 20px 0 60px;
    }

    .collection-grid {
        width: 92%;

        gap: 25px;
    }


    .dress-image img {
        height: 430px;
    }


    .dress-info {
        padding: 18px 12px 25px;
    }


    .dress-info h3 {
        font-size: 22px;
    }


    .dress-price {
        font-size: 16px;

        margin-bottom: 15px;
    }


    .view-dress {
        font-size: 11px;

        letter-spacing: 1.5px;
    }

}


/* =========================================================
   VERY SMALL PHONE
   0px - 360px
========================================================= */

@media (max-width: 360px) {

    .service-row,
    .service-row.reverse {
        width: 94%;

        gap: 30px;

        margin-bottom: 60px;
    }


    .service-image img {
        height: 310px;
    }


    .service-content h2 {
        font-size: 25px;
    }


    .service-content p {
        font-size: 14px;
    }


    .about-hero {
        padding: 55px 15px 45px;
    }


    .about-hero h1 {
        font-size: 29px;
    }


    .collection-hero {
        padding: 95px 15px 45px;
    }


    .collection-hero h1 {
        font-size: 30px;
    }


    .collection-grid {
        width: 94%;
    }


    .dress-image img {
        height: 380px;
    }


    .dress-info h3 {
        font-size: 20px;
    }

}