/* assets/css/style.css */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Lato', sans-serif;
    color: #1d4f67;
    overflow-x: hidden;
    position: relative;
    background-color: #f4f4f4;
}

/* =========================================
    BODY BACKGROUND IMAGE
========================================= */

body::before{
    content: "";
    position: fixed;
    inset: 0;
    background: url('../images/bg.webp') center center no-repeat;
    background-size: cover;
    opacity: 0.5;
    z-index: -2;
}

/* Optional white transparent overlay */

body::after{
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.72);
    z-index: -1;
}

.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1480px;
}


/* =========================================
    HEADER
========================================= */

.site-header{
    padding: 0px 0;
    position: absolute;
    width: 100%;
    z-index: 99;
}

.header-wrapper{
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.logo img {
    width: 160px;
    position: relative;
    top: 40px;
}

/* =========================================
    HERO SECTION
========================================= */

.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0px 0 0px;
    overflow: hidden;
    margin-bottom: -60px;
    background-color: #fff;
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 0.92;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: rgba(28, 143, 141, 1);
}

.hero-desc {
    font-size: 28px;
    font-style: italic;
    margin-bottom: 6px;
    font-weight: 500;
    color: rgba(28, 143, 141, 1);
}

.hero-location{
    font-size: 22px;
    font-weight: 500;
    color: rgba(28, 143, 141, 1);
}

/* =========================================
    BOOK SECTION
========================================= */

.book-wrapper{
    position: relative;
    text-align: center;
    z-index: 2;
}

.book-bg {
    position: absolute;
    top: 52%;
    left: 0;
    transform: translateY(-50%);
    width: 2000px;
    height: 380px;
    z-index: 1;
    background: rgba(28, 143, 141, 1);
}

.book-image {
    position: relative;
    z-index: 2;
    max-width: 100%;
    width: 650px;
    filter: drop-shadow(0px 18px 30px rgba(0,0,0,0.35));
}



/* =========================================
    ABOUT BOOK SECTION
========================================= */

.about-book-section {
    position: relative;
    padding: 0;
    background: #fff;
    overflow: hidden;
}

/*.about-book-section::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to top, rgba(255,255,255,0.85), transparent);
    pointer-events: none;
}*/

.fisherwoman-image img{
    max-height: 750px;
    object-fit: contain;
}

.about-content,
.purpose-content{
    margin-bottom: 50px;
}

.about-content h2,
.purpose-content h2{
    font-size: 48px;
    font-weight: 900;
    color: #11182d;
    margin-bottom: 28px;
    text-transform: uppercase;
}

.about-content p,
.purpose-content p{
    font-size: 17px;
    line-height: 1.9;
    color: #202020;
    margin-bottom: 15px;
    font-weight: 400;
}




/* =========================================
    ABOUT AUTHOR SECTION
========================================= */

.about-author-section{
    padding: 90px 0;
    position: relative;
}

.author-content h2{
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: rgba(15, 23, 43, 1);

}

.author-content h3{
    font-size: 40px;
    font-weight: 700;
    color: rgba(15, 23, 43, 1);
    margin-bottom: 8px;
}

.author-content h5{
    font-size: 20px;
    line-height: 1.7;
    color: rgba(15, 23, 43, 1);
    font-weight: 600;
    margin-bottom: 35px;
}

.author-content p{
    font-size: 16px;
    line-height: 1.9;
    color: rgba(15, 23, 43, 1);
    margin-bottom: 22px;
    font-weight: 400;
}

.author-content h6{
    font-size: 20px;
    font-weight: 800;
    color: rgba(15, 23, 43, 1);
    margin-top: 30px;
}

.author-image{
    text-align: right;
}

.author-image img {
    max-width: 100%;
    border: 0;
    border-radius: 6px;
    padding: 0;
    width: 60%;
}



section#purchase-section .card {
    padding: 60px !important;
    border: 1px solid rgba(28, 143, 141, 0.6);
    height: 100%;
}
section#purchase-section h2 {
    font-family: Lato;
    font-weight: 700;
    font-size: 40px;
    line-height: 20px;
    letter-spacing: 1.4px;
    margin-bottom: 50px;
    text-transform: uppercase;
    color: rgba(15, 23, 43, 1);
    line-height: 115%;
}

figure.book-img img { width: 100%; }
textarea#address {
    height: 275px;
}

h5.form-title {
    font-weight: 500;
    font-size: 34px;
    line-height: 32px;
    letter-spacing: 0px;
    margin-bottom: 35px;
    color: rgba(15, 23, 43, 1);
}

section#purchase-section .form-control, 
section#purchase-section .form-select {
    border: 1px solid rgba(28, 143, 141, 0.5);
    padding: 0.700rem 0.75rem;
}

button#payNowBtn {
    background: rgba(15, 23, 43, 1);
    border: 0;
    padding: 15px 0;
}

section#purchase-section .card>hr {
    border: 1px solid rgba(28, 143, 141, 0.5);
    opacity: 1;
}
.form-control.is-invalid, .was-validated .form-control:invalid,
.form-select.is-invalid, .was-validated .form-select:invalid {
    border-color: var(--bs-form-invalid-border-color) !important;
}





/* =========================================
    FOOTER
========================================= */

footer.footer-section.pt-5.pb-4 {
    border-top: 1px solid rgb(119 188 187);
    margin-top: 2em;
}
.footer-heading {
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 16px;
  color: #000;
}

.footer-section a {
  color: #000;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-section a:hover {
  color: rgba(28, 143, 141, 1);
}

.footer-links span {
  margin: 0 6px;
  color: #bbb;
}

.footer-copy {
  color: #000;
}



.footer-contact-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-contact-line a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: rgba(15, 23, 43, 1);
}

.footer-contact-line i {
  font-size: 14px;
  color: #000; /* your theme accent */
}

.footer-divider {
  opacity: 0.5;
}








/* =========================================
    RESPONSIVE
========================================= */


@media(max-width: 1600px){
    .hero-section {
        min-height: 92vh;
    }

    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1380px;
    }

    textarea#address {
        height: 230px;
    }
}

@media (max-width: 1199px){

    .hero-content h1{
        font-size: 56px;
    }

}

@media (max-width: 991px){

    section {
        overflow: hidden;
    }

    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 720px;
    }

    .hero-section{
        text-align: center;
        padding-top: 140px;
    }

    .hero-content h1{
        font-size: 52px;
    }

    .book-bg{
        right: calc(-50vw + 50%);
        height: 280px;
    }


     .about-book-section{
        padding: 60px 0;
    }

    .fisherwoman-image{
        margin-bottom: 20px;
    }

    .fisherwoman-image img{
        max-height: 420px;
    }

    .about-content h2,
    .purpose-content h2{
        font-size: 38px;
    }



    .about-author-section{
        padding: 70px 0;
    }

    .author-content h2{
        font-size: 38px;
    }

    .author-content h3{
        font-size: 28px;
    }

    .author-image{
        text-align: center;
    }

}

@media (max-width: 767px){

.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    padding: 0 25px;
}

.header-wrapper {
    justify-content:  center;
}

    .logo img{
        width: 100px;
        top: 0;
    }

.hero-content h1, section#purchase-section h2 {
    font-size: 30px;
    line-height: 115%;
}

    .hero-desc{
        font-size: 18px;
    }

    .book-bg{
        height: 220px;
    }

    .fisherwoman-image img {
        max-height: unset;
        width: 70%;
    }

    .about-book-section {
        padding: 60px 0 0;
    }


    .about-content h2,
    .purpose-content h2{
        font-size: 30px;
        margin-bottom: 20px;
    }

    .about-content p,
    .purpose-content p{
        font-size: 15px;
        line-height: 1.8;
    }

    .author-image img {
        width: 100%;
    }


    .about-author-section{
        padding: 60px 0 0;
    }

    .author-content h2{
        font-size: 30px;
    }

    .author-content h3{
        font-size: 24px;
    }

    .author-content h5{
        font-size: 15px;
    }

    .author-content p{
        font-size: 15px;
        line-height: 1.8;
    }


    section#purchase-section .card {
        padding: 20px !important;
    }

    .footer-contact-line {
        flex-direction: column;
    }
    .footer-divider {
        display: none;
    }

    .g-5, .gx-5 {
        --bs-gutter-x: unset;
    }

}