/*=========================================
            CONTACT CTA
=========================================*/

.contact-cta {
    position: relative;
    padding: 140px 20px;

    background-image: url("images/books-footer.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}


/* CTA Overlay */

.cta-overlay {
    position: absolute;
    inset: 0;

    background: rgba(255, 255, 255, 0.78);
}


/* CTA Content */

.cta-content {
    position: relative;
    z-index: 2;

    max-width: 760px;
    margin: auto;

    text-align: center;
}


/* CTA Heading */

.cta-content h2 {
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-weight: 700;

    font-size: 64px;

    color: #4a403a;

    margin-bottom: 25px;
}


/* CTA Paragraph */

.cta-content p {
    font-family: "Lato", sans-serif;

    font-size: 24px;
    line-height: 1.8;

    color: #4e4e4e;

    margin-bottom: 45px;
}


/* CTA Button */

.cta-btn {
    display: inline-block;

    width: 400px;
    max-width: 100%;

    padding: 18px 20px;

    background: #f5a623;
    color: #333;

    font-size: 28px;
    font-weight: 700;

    text-decoration: none;

    border-radius: 50px;

    transition: 0.35s;
}


/* CTA Button Hover */

.cta-btn:hover {
    background: #e49412;
    color: #fff;

    transform: translateY(-3px);
}


/*=========================================
            RESPONSIVE
=========================================*/

@media (max-width: 768px) {

    .contact-cta {
        padding: 90px 20px;
    }

    .cta-content h2 {
        font-size: 42px;
    }

    .cta-content p {
        font-size: 18px;
    }

    .cta-btn {
        width: 100%;
        font-size: 22px;
    }

}
/* =========================================================
   HOME.CSS
   Joan Hammersmith — Home Page
========================================================= */


/* =========================================================
   GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background: #ffffff;

    color: #4a403a;

    font-family: "Lato", "Inter", sans-serif;

    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}


/* =========================================================
   HOME HERO
========================================================= */

.home-hero {
    position: relative;

    min-height: 650px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background-image: url("../images/slide-bg.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}


/* Dark overlay */

.home-overlay {
    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.42);

    z-index: 1;
}


/* Hero content */

.home-content {
    position: relative;

    z-index: 3;

    width: 100%;
    max-width: 900px;

    padding: 40px 20px 120px;

    color: #ffffff;
}


/* Small heading */

.home-subtitle {
    margin: 0 0 15px;

    font-family: "Cormorant Garamond", serif;

    font-size: 28px;

    font-weight: 500;

    letter-spacing: 1px;

    color: #ffffff;
}


/* Main heading */

.home-content h1 {
    margin: 0 0 20px;

    font-family: "Playfair Display", serif;

    font-size: 76px;

    font-style: italic;

    font-weight: 800;

    line-height: 1.1;

    color: #ffffff;
}


/* Description */

.home-description {
    margin: 0 auto 40px;

    font-family: "Cormorant Garamond", serif;

    font-size: 30px;

    font-weight: 500;

    letter-spacing: 1px;

    color: #ffffff;
}


/* =========================================================
   HOME BUTTONS
========================================================= */

.home-buttons {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 18px;

    flex-wrap: wrap;
}


.home-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 220px;

    min-height: 58px;

    padding: 15px 30px;

    border-radius: 50px;

    font-family: "Inter", sans-serif;

    font-size: 16px;

    font-weight: 700;

    letter-spacing: 0.5px;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;

    cursor: pointer;
}


/* Primary */

.primary-btn {
    background: #f5a623;

    color: #ffffff;
}

.primary-btn:hover {
    background: #df9015;

    color: #ffffff;

    transform: translateY(-3px);
}


/* Secondary */

.secondary-btn {
    background: transparent;

    color: #ffffff;

    border: 2px solid #ffffff;
}

.secondary-btn:hover {
    background: #ffffff;

    color: #4a403a;

    transform: translateY(-3px);
}


/* =========================================================
   HERO DIVIDER
========================================================= */

.home-divider {
    position: absolute;

    bottom: -1px;
    left: 0;

    width: 100%;

    height: 130px;

    display: block;

    z-index: 4;

    pointer-events: none;
}


/* =========================================================
   SECTION LABEL
========================================================= */

.section-label {
    display: inline-block;

    margin-bottom: 15px;

    font-family: "Inter", sans-serif;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 3px;

    color: #f2a12f;

    text-transform: uppercase;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.home-introduction {
    padding: 100px 20px 120px;

    background: #ffffff;
}


.home-introduction .container {
    width: 100%;

    max-width: 1150px;

    margin: 0 auto;
}


.intro-content {
    display: grid;

    grid-template-columns: 420px 1fr;

    align-items: center;

    gap: 80px;
}


/* Intro image */

.intro-image {
    display: flex;

    justify-content: center;
}


.intro-frame {
    padding: 15px;

    background: #ffffff;

    border: 1px solid rgba(0, 0, 0, 0.08);

    border-radius: 18px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.12),
        0 5px 15px rgba(0, 0, 0, 0.07);
}


.intro-frame img {
    display: block;

    width: 450px;

    max-width: 100%;

    height: auto;

    border-radius: 12px;
}


/* Intro text */

.intro-text h2 {
    margin: 0 0 25px;

    font-family: "Playfair Display", serif;

    font-size: 42px;

    font-style: italic;

    font-weight: 700;

    line-height: 1.25;

    color: #4a403a;
}


.intro-text p {
    margin: 0 0 20px;

    font-family: "Lato", "Inter", sans-serif;

    font-size: 18px;

    line-height: 1.9;

    color: #5a5551;

    text-align: justify;
}


/* Read more */

.read-more-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-top: 15px;

    padding: 14px 30px;

    background: #f5a623;

    color: #000000;

    border-radius: 50px;

    font-family: "Inter", sans-serif;

    font-size: 15px;

    font-weight: 700;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}


.read-more-btn:hover {
    background: #df9015;

    color: #ffffff;

    transform: translateY(-3px);
}


/* =========================================================
   BOOK SECTION
========================================================= */

.home-book {
    padding: 110px 20px;

    background: #ffffff;
}


.home-book .container {
    width: 100%;

    max-width: 1150px;

    margin: 0 auto;
}


.book-content {
    display: grid;

    grid-template-columns: 1fr 420px;

    align-items: center;

    gap: 80px;
}


/* Book text */

.book-text h2 {
    margin: 0 0 5px;

    font-family: "Playfair Display", serif;

    font-size: 60px;

    font-style: italic;

    font-weight: 800;

    line-height: 1.2;

    color: #4a403a;
}


.book-text h3 {
    margin: 0 0 25px;

    font-family: "Cormorant Garamond", serif;

    font-size: 35px;

    font-weight: 600;

    color: #6b625c;
}


.book-text p {
    margin: 0 0 30px;

    font-family: "Lato", "Inter", sans-serif;

    font-size: 18px;

    line-height: 1.9;

    color: #5a5551;

    text-align: justify;
}


/* Book button */

.book-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 15px 32px;

    background: #f5a623;

    color: #ffffff;

    border-radius: 50px;

    font-family: "Inter", sans-serif;

    font-size: 15px;

    font-weight: 700;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}


.book-btn:hover {
    background: #df9015;

    color: #ffffff;

    transform: translateY(-3px);
}


/* Book image */

.book-image {
    display: flex;

    justify-content: center;
}


.book-image img {
    display: block;

    width: 500px;

    max-width: 100%;

    height: auto;

    border-radius: 8px;

   

    transition: transform 0.3s ease;
}


.book-image img:hover {
    transform: translateY(-8px);
}


/* =========================================================
   BOOK TRAILER
========================================================= */

.home-trailer {
    padding: 110px 20px;

    background: #ffffff;

    text-align: center;
}


.home-trailer .container {
    width: 100%;

    max-width: 1000px;

    margin: 0 auto;
}


.trailer-content h2 {
    margin: 0 0 15px;

    font-family: "Playfair Display", serif;

    font-size: 52px;

    font-style: italic;

    font-weight: 800;

    color: #4a403a;
}


.trailer-content > p {
    max-width: 700px;

    margin: 0 auto 40px;

    font-family: "Lato", "Inter", sans-serif;

    font-size: 18px;

    line-height: 1.8;

    color: #5a5551;
}


/* Video */

.trailer-video {
    position: relative;

    width: 100%;

    max-width: 900px;

    margin: 0 auto 35px;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 15px;

    background: #000;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.15);
}


.trailer-video iframe {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;
}


/* Trailer button */

.trailer-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 15px 32px;

    background: #f5a623;

    color: #ffffff;

    border-radius: 50px;

    font-family: "Inter", sans-serif;

    font-size: 15px;

    font-weight: 700;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}


.trailer-btn:hover {
    background: #df9015;

    color: #ffffff;

    transform: translateY(-3px);
}


/* =========================================================
   VIDEO HIGHLIGHTS
========================================================= */

.home-highlights {
    position: relative;

    padding: 110px 20px;

    background:
        linear-gradient(
            rgba(74, 64, 58, 0.88),
            rgba(74, 64, 58, 0.88)
        ),
        url("../images/books-footer.jpg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    text-align: center;
}


.home-highlights .container {
    width: 100%;

    max-width: 850px;

    margin: 0 auto;
}


.highlights-content {
    color: #ffffff;
}


.highlights-content .section-label {
    color: #f5a623;
}


.highlights-content h2 {
    margin: 0 0 20px;

    font-family: "Playfair Display", serif;

    font-size: 52px;

    font-style: italic;

    font-weight: 800;

    line-height: 1.25;

    color: #ffffff;
}


.highlights-content p {
    max-width: 700px;

    margin: 0 auto 35px;

    font-family: "Lato", "Inter", sans-serif;

    font-size: 19px;

    line-height: 1.8;

    color: #ffffff;
}


/* Highlights button */

.highlights-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 16px 32px;

    background: #f5a623;

    color: #ffffff;

    border-radius: 50px;

    font-family: "Inter", sans-serif;

    font-size: 15px;

    font-weight: 700;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}


.highlights-btn:hover {
    background: #df9015;

    color: #ffffff;

    transform: translateY(-3px);
}


/* =========================================================
   CONTACT CTA
========================================================= */

.contact-cta {
    position: relative;

    padding: 140px 20px;

    background-image: url("../images/books-footer.jpg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    overflow: hidden;
}


.cta-overlay {
    position: absolute;

    inset: 0;

    background: rgba(255, 255, 255, 0.78);
}


.cta-content {
    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 760px;

    margin: 0 auto;

    text-align: center;
}


.cta-content h2 {
    margin: 0 0 25px;

    font-family: "Playfair Display", serif;

    font-size: 64px;

    font-style: italic;

    font-weight: 700;

    line-height: 1.2;

    color: #4a403a;
}


.cta-content p {
    margin: 0 auto 45px;

    font-family: "Lato", "Inter", sans-serif;

    font-size: 24px;

    line-height: 1.8;

    color: #4e4e4e;
}


.cta-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 400px;

    max-width: 100%;

    padding: 18px 20px;

    background: #f5a623;

    color: #333333;

    border-radius: 50px;

    font-family: "Inter", sans-serif;

    font-size: 28px;

    font-weight: 700;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.cta-btn:hover {
    background: #e49412;

    color: #ffffff;

    transform: translateY(-3px);
}


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1100px) {

    .intro-content,
    .book-content {
        gap: 50px;
    }

    .home-content h1 {
        font-size: 65px;
    }

    .intro-text h2 {
        font-size: 36px;
    }

    .book-text h2 {
        font-size: 45px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .home-hero {
        min-height: 580px;
    }

    .home-content {
        padding-bottom: 90px;
    }

    .home-content h1 {
        font-size: 55px;
    }

    .home-subtitle {
        font-size: 24px;
    }

    .home-description {
        font-size: 25px;
    }


    .intro-content,
    .book-content {
        grid-template-columns: 1fr;

        text-align: center;

        gap: 50px;
    }


    .intro-text p,
    .book-text p {
        text-align: justify;
    }


    .intro-text h2,
    .book-text h2,
    .book-text h3 {
        text-align: center;
    }


    .book-content .book-image {
        order: -1;
    }


    .home-introduction,
    .home-book,
    .home-trailer,
    .home-highlights {
        padding-top: 80px;
        padding-bottom: 80px;
    }


    .cta-content h2 {
        font-size: 52px;
    }

    .cta-content p {
        font-size: 21px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .home-hero {
        min-height: 520px;

        background-position: center;
    }


    .home-content {
        padding: 30px 18px 80px;
    }


    .home-subtitle {
        font-size: 20px;
    }


    .home-content h1 {
        font-size: 42px;

        line-height: 1.15;
    }


    .home-description {
        font-size: 21px;

        margin-bottom: 30px;
    }


    .home-buttons {
        flex-direction: column;

        width: 100%;
    }


    .home-btn {
        width: 100%;

        max-width: 300px;
    }


    .home-divider {
        height: 80px;
    }


    .home-introduction,
    .home-book,
    .home-trailer,
    .home-highlights {
        padding: 70px 20px;
    }


    .intro-frame {
        padding: 10px;
    }


    .intro-frame img {
        width: 100%;
    }


    .intro-text h2,
    .book-text h2,
    .trailer-content h2,
    .highlights-content h2 {
        font-size: 36px;
    }


    .intro-text p,
    .book-text p,
    .trailer-content > p,
    .highlights-content p {
        font-size: 16px;

        line-height: 1.8;
    }


    .book-text h3 {
        font-size: 25px;
    }


    .book-image img {
        width: 300px;
    }


    .cta-content h2 {
        font-size: 42px;
    }


    .cta-content p {
        font-size: 18px;

        line-height: 1.7;

        margin-bottom: 35px;
    }


    .cta-btn {
        width: 100%;

        font-size: 21px;
    }

}


/* =========================================================
   EXTRA SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .home-content h1 {
        font-size: 36px;
    }


    .home-subtitle {
        font-size: 18px;
    }


    .home-description {
        font-size: 19px;
    }


    .intro-text h2,
    .book-text h2,
    .trailer-content h2,
    .highlights-content h2 {
        font-size: 31px;
    }


    .cta-content h2 {
        font-size: 36px;
    }

}
