/* ==========================================================
   Artisan Cookie Co.
   Demo Website
========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{

    --cream:#fbf8f2;
    --white:#ffffff;
    --text:#2b241d;
    --muted:#7a7067;
    --accent:#b78456;
    --border:#eee5dc;

}

html{

    scroll-behavior:smooth;

}

body{

    background:var(--cream);

    color:var(--text);

    font-family:
        Inter,
        sans-serif;

    line-height:1.7;

}

/* ==========================
HEADER
========================== */

header{

    height:82px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 70px;

    background:rgba(255,255,255,.85);

    backdrop-filter:blur(12px);

    position:sticky;

    top:0;

    z-index:100;

    border-bottom:1px solid var(--border);

}

.logo{

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:2rem;

    font-weight:700;

}

nav{

    display:flex;

    gap:34px;

}

nav a{

    color:var(--muted);

    text-decoration:none;

    transition:.3s;

}

nav a:hover{

    color:var(--text);

}

/* ==========================
HERO
========================== */

.hero{

    display:grid;

    grid-template-columns:1fr 1fr;

    align-items:center;

    gap:70px;

    max-width:1280px;

    margin:auto;

    padding:90px 70px;

}

.eyebrow{

    display:inline-block;

    padding:10px 18px;

    border-radius:999px;

    background:white;

    border:1px solid var(--border);

    font-size:.8rem;

    letter-spacing:.12em;

    text-transform:uppercase;

    color:var(--muted);

}

.hero h1{

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:4.5rem;

    line-height:.95;

    margin:24px 0;

    font-weight:600;

}

.hero p{

    color:var(--muted);

    font-size:1.08rem;

    max-width:520px;

}

.buttons{

    margin-top:42px;

    display:flex;

    gap:18px;

}

.primary{

    background:#222;

    color:white;

    padding:18px 36px;

    border-radius:999px;

    text-decoration:none;

    transition:.3s;

}

.primary:hover{

    background:var(--accent);

}

.secondary{

    border:1px solid var(--border);

    padding:18px 34px;

    border-radius:999px;

    color:var(--text);

    text-decoration:none;

    background:white;

    transition:.3s;

}

.secondary:hover{

    background:#f5efe6;

}

.hero-image{

    border-radius:36px;

    overflow:hidden;

    box-shadow:
        0 25px 60px rgba(0,0,0,.12);

}

.hero-image img{

    width:100%;

    height:620px;

    object-fit:cover;

    display:block;

}

/* ==========================
COLLECTIONS
========================== */

.collections{

    max-width:1280px;

    margin:0 auto;

    padding:0 70px 90px;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:28px;

}

.card{

    background:white;

    padding:42px;

    border-radius:26px;

    border:1px solid var(--border);

    transition:.35s;

}

.card:hover{

    transform:translateY(-8px);

    box-shadow:
        0 20px 45px rgba(0,0,0,.08);

}

.card h3{

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:2rem;

    margin-bottom:14px;

}

.card p{

    color:var(--muted);

}

/* ==========================
STORY
========================== */

.story{

    max-width:1280px;

    margin:auto;

    padding:0 70px 100px;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.story h2{

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:3.5rem;

    line-height:1;

    margin-bottom:28px;

}

.story p{

    color:var(--muted);

    max-width:500px;

}

.story img{

    width:100%;

    height:500px;

    object-fit:cover;

    border-radius:30px;

}

/* ==========================
REVIEWS
========================== */

.reviews{

    max-width:1280px;

    margin:auto;

    padding:0 70px 120px;

}

.reviews h2{

    text-align:center;

    font-family:
        "Cormorant Garamond",
        serif;

    font-size:3.2rem;

    margin-bottom:50px;

}

.review-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:28px;

}

.review{

    background:white;

    border-radius:26px;

    border:1px solid var(--border);

    padding:38px;

    transition:.35s;

}

.review:hover{

    transform:translateY(-8px);

}

.review p{

    margin:20px 0;

    color:var(--muted);

}

.review strong{

    font-weight:600;

}

/* ==========================
FOOTER
========================== */

footer{

    background:white;

    border-top:1px solid var(--border);

    padding:35px;

    text-align:center;

    color:var(--muted);

}

/* ==========================
RESPONSIVE
========================== */

@media(max-width:1000px){

.hero{

    grid-template-columns:1fr;

    padding:70px 40px;

}

.collections{

    grid-template-columns:1fr;

    padding:0 40px 70px;

}

.story{

    grid-template-columns:1fr;

    padding:0 40px 80px;

}

.review-grid{

    grid-template-columns:1fr;

}

.reviews{

    padding:0 40px 80px;

}

header{

    padding:0 30px;

}

nav{

    display:none;

}

.hero h1{

    font-size:3.2rem;

}

.hero-image img{

    height:420px;

}

}