/* ---------- Global ---------- */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Nunito',sans-serif;

    color:#374151;

    background:
        linear-gradient(#faf6ef,#f8f3ea);

    line-height:1.8;

    font-size:18px;
}

/* ---------- Layout ---------- */

.container{

    width:min(1150px,92%);

    margin:auto;
}

/* ---------- Header ---------- */

header{

    position:sticky;

    top:0;

    z-index:100;

    background:rgba(49,67,93,.92);

    backdrop-filter:blur(12px);

    box-shadow:0 3px 20px rgba(0,0,0,.08);
}

header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:22px 0;
}

header h1{

    color:white;

    font-size:2rem;

    font-family:'Cormorant Garamond',serif;

    font-weight:700;
}

nav a{

    color:white;

    text-decoration:none;

    margin-left:28px;

    font-weight:600;

    transition:.25s;
}

nav a:hover{

    color:#F4D06F;
}

/* ---------- Hero ---------- */

.hero{

    min-height:88vh;

    display:flex;

    align-items:center;

    text-align:center;

    padding:80px 0 100px;
}

.hero h2{

    font-family:'Cormorant Garamond',serif;

    font-size:4rem;

    color:#31435D;

    margin-bottom:24px;

    line-height:1.1;
}

.hero> .container> p{

    max-width:820px;

    margin:auto;

    font-size:1.25rem;

    color:#555;
}

/* ---------- Book Card ---------- */

.book-card{

    margin:60px auto;

    max-width:520px;

    background:white;

    border-radius:24px;

    padding:35px;

    box-shadow:

        0 30px 60px rgba(0,0,0,.08);

    transition:.35s;
}

.book-card:hover{

    transform:translateY(-8px);
}

.cover{

    border:none;

    background:none;

    height:auto;

    margin-bottom:25px;
}

.cover img{

    width:100%;

    border-radius:14px;

    display:block;
}

.book-card h3{

    font-size:2rem;

    margin-bottom:15px;

    font-family:'Cormorant Garamond',serif;

    color:#31435D;
}

.book-card p{

    color:#555;

    margin-bottom:28px;
}

/* ---------- Button ---------- */

.button{

    display:inline-block;

    padding:16px 34px;

    border-radius:999px;

    text-decoration:none;

    background:#31435D;

    color:white;

    font-weight:700;

    transition:.25s;
}

.button:hover{

    background:#435a7c;
}

.disabled{

    opacity:.75;
}

/* ---------- Sections ---------- */

section{

    padding:120px 0;
}

section h2{

    font-size:3rem;

    font-family:'Cormorant Garamond',serif;

    color:#31435D;

    margin-bottom:25px;
}

section p{

    max-width:900px;

    margin-bottom:24px;
}

ul{

    margin:25px 0 35px 25px;
}

li{

    margin-bottom:10px;
}

/* ---------- Contact ---------- */

.contact-form{

    max-width:760px;

    margin:45px auto 0;
}

.form-group{

    margin-bottom:25px;
}

label{

    display:block;

    margin-bottom:8px;

    font-weight:700;
}

.required-asterisk{

    color:#e74c3c;

    font-weight:700;

    margin-left:4px;
}

input,
textarea{

    width:100%;

    padding:16px 18px;

    border-radius:12px;

    border:1px solid #ddd;

    font-size:17px;

    font-family:inherit;

    transition:.25s;
}

input:focus,
textarea:focus{

    outline:none;

    border-color:#31435D;

    box-shadow:0 0 0 4px rgba(49,67,93,.12);
}

textarea{

    min-height:180px;

    resize:vertical;
}

/* ---------- Footer ---------- */

footer{

    margin-top:80px;

    padding:40px;

    text-align:center;

    background:#31435D;

    color:white;
}

/* ---------- Mobile ---------- */

@media(max-width:768px){

header .container{

    flex-direction:column;

    gap:18px;
}

.hero h2{

    font-size:2.6rem;
}

section h2{

    font-size:2.2rem;
}

nav{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

    justify-content:center;
}

nav a{

    margin:0;
}

.book-card{

    padding:25px;
}

}