/* ==========================================
   CROCHETCRAZE WEBSITE
   STYLE.CSS
   PART 1
========================================== */

/* Google Font Fallback */

:root{

    --primary:#6B4F4F;
    --secondary:#C59D5F;
    --accent:#E8C7C8;

    --background:#FFF8F3;
    --white:#FFFFFF;

    --text:#3D302B;
    --light-text:#6D625C;

    --shadow:0 10px 30px rgba(0,0,0,.08);

    --radius:18px;

    --transition:.35s ease;

}


/* ==========================================
RESET
========================================== */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

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

    background:var(--background);

    color:var(--text);

    overflow-x:hidden;

    line-height:1.7;

}

img{

    width:100%;

    display:block;

}

a{

    text-decoration:none;

    color:inherit;

}

ul{

    list-style:none;

}

.container{

    width:min(1200px,90%);
    margin:auto;

}

section{

    padding:90px 0;

}


/* ==========================================
TYPOGRAPHY
========================================== */

h1,
h2,
h3{

    font-family:'Cormorant Garamond',serif;

    font-weight:700;

    color:var(--text);

}

h1{

    font-size:4rem;

    line-height:1.1;

}

h2{

    font-size:3rem;

    margin-bottom:15px;

}

h3{

    font-size:1.7rem;

}

p{

    color:var(--light-text);

    font-size:1rem;

}

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title span{

    color:var(--secondary);

    font-weight:600;

    letter-spacing:1px;

}

.section-title p{

    width:min(700px,100%);
    margin:20px auto 0;

}


/* ==========================================
BUTTONS
========================================== */

.primary-btn{

    display:inline-block;

    padding:14px 34px;

    background:var(--primary);

    color:var(--white);

    border-radius:50px;

    transition:var(--transition);

    font-weight:500;

    box-shadow:var(--shadow);

}

.primary-btn:hover{

    background:var(--secondary);

    transform:translateY(-4px);

}

.secondary-btn{

    display:inline-block;

    padding:14px 34px;

    border:2px solid var(--primary);

    border-radius:50px;

    color:var(--primary);

    transition:var(--transition);

    font-weight:500;

}

.secondary-btn:hover{

    background:var(--primary);

    color:var(--white);

}


/* ==========================================
HEADER
========================================== */

.header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:999;

    background:rgba(255,248,243,.88);

    backdrop-filter:blur(12px);

    box-shadow:0 2px 15px rgba(0,0,0,.05);

}

.navbar{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 0;

}

.logo img{

    width:72px;

}

.nav-links{

    display:flex;

    gap:35px;

}

.nav-links a{

    font-size:.95rem;

    font-weight:500;

    transition:var(--transition);

}

.nav-links a:hover{

    color:var(--secondary);

}

.instagram-btn{

    padding:10px 24px;

    border-radius:40px;

    background:#E1306C;

    color:#fff;

    transition:var(--transition);

    font-size:.9rem;

}

.instagram-btn:hover{

    transform:translateY(-3px);

}

.menu-btn{

    display:none;

    font-size:2rem;

    background:none;

    border:none;

    cursor:pointer;

}


/* ==========================================
HERO
========================================== */

.hero{

    position:relative;

    height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    overflow:hidden;

}

.hero-image{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

    z-index:-2;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        90deg,
        rgba(0,0,0,.65),
        rgba(0,0,0,.35),
        rgba(0,0,0,.15)
    );

    z-index:-1;

}

.hero-content{

    width:min(700px,90%);

    color:#fff;

}

.hero-tag{

    display:inline-block;

    padding:8px 20px;

    background:rgba(255,255,255,.15);

    backdrop-filter:blur(8px);

    border-radius:40px;

    margin-bottom:25px;

    color:#fff;

}

.hero-content h1{

    color:#fff;

    margin-bottom:25px;

}

.hero-content p{

    color:#f3f3f3;

    margin-bottom:40px;

    font-size:1.1rem;

}

.hero-buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

.scroll-indicator{

    position:absolute;

    bottom:35px;

    left:50%;

    transform:translateX(-50%);

}

.scroll-indicator span{

    display:block;

    width:22px;

    height:38px;

    border:2px solid #fff;

    border-radius:20px;

    position:relative;

}

.scroll-indicator span::before{

    content:"";

    position:absolute;

    width:6px;

    height:6px;

    background:#fff;

    border-radius:50%;

    left:50%;

    transform:translateX(-50%);

    top:8px;

}

/* ==========================================
FEATURED COLLECTION
========================================== */

.featured-section{

    background:#fff;

}

.featured-card{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}

.featured-image img{

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}

.badge{

    display:inline-block;

    padding:8px 18px;

    border-radius:40px;

    background:var(--secondary);

    color:#fff;

    margin-bottom:20px;

    font-size:.9rem;

}

.featured-content h3{

    margin-bottom:20px;

}

.featured-content p{

    margin-bottom:30px;

}

.featured-buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}



/* ==========================================
COLLECTIONS
========================================== */

.collection-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.collection-card{

    position:relative;

    overflow:hidden;

    border-radius:var(--radius);

    cursor:pointer;

    box-shadow:var(--shadow);

}

.collection-card img{

    height:320px;

    object-fit:cover;

    transition:.5s;

}

.collection-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(to top,
    rgba(0,0,0,.65),
    rgba(0,0,0,.05));

    z-index:1;

}

.collection-card h3{

    position:absolute;

    bottom:25px;

    left:25px;

    color:#fff;

    z-index:2;

}

.collection-card:hover img{

    transform:scale(1.08);

}



/* ==========================================
BEST SELLERS
========================================== */

.best-seller-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}

.product-card{

    background:#fff;

    border-radius:var(--radius);

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:.3s;

}

.product-card:hover{

    transform:translateY(-8px);

}

.product-card img{

    height:260px;

    object-fit:cover;

}

.product-info{

    padding:20px;

}

.product-info h3{

    margin-bottom:10px;

}

.product-price{

    color:var(--primary);

    font-size:1.2rem;

    font-weight:600;

    margin-bottom:18px;

}



/* ==========================================
WHY CROCHETCRAZE
========================================== */

.features-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}

.feature-box{

    background:#fff;

    padding:40px 30px;

    border-radius:var(--radius);

    text-align:center;

    box-shadow:var(--shadow);

    transition:.35s;

}

.feature-box:hover{

    transform:translateY(-10px);

}

.feature-icon{

    font-size:3rem;

    margin-bottom:20px;

}

.feature-box h3{

    margin-bottom:15px;

}



/* ==========================================
CUSTOM ORDER
========================================== */

.custom-order{

    background:linear-gradient(
    135deg,
    #6B4F4F,
    #8B6A61);

    color:#fff;

}

.custom-order-content{

    width:min(750px,100%);

    margin:auto;

    text-align:center;

}

.section-tag{

    display:inline-block;

    padding:8px 18px;

    border:1px solid rgba(255,255,255,.3);

    border-radius:30px;

    margin-bottom:25px;

}

.custom-order h2{

    color:#fff;

    margin-bottom:25px;

}

.custom-order p{

    color:#f2f2f2;

    margin-bottom:40px;

}



/* ==========================================
CONTACT
========================================== */

.contact-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.contact-card{

    background:#fff;

    border-radius:var(--radius);

    text-align:center;

    padding:40px 30px;

    box-shadow:var(--shadow);

    transition:.35s;

}

.contact-card:hover{

    transform:translateY(-10px);

}

.contact-icon{

    font-size:3rem;

    margin-bottom:20px;

}

.contact-card h3{

    margin-bottom:15px;

}

.contact-card p{

    margin-bottom:20px;

}

.contact-card a{

    color:var(--primary);

    font-weight:600;

}



/* ==========================================
FOOTER
========================================== */

.footer{

    background:#3D302B;

    color:#fff;

    padding:70px 0 25px;

}

.footer-content{

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:60px;

    margin-bottom:50px;

}

.footer-brand img{

    width:90px;

    margin-bottom:20px;

}

.footer-brand p{

    color:#ddd;

}

.footer-links h3{

    color:#fff;

    margin-bottom:20px;

}

.footer-links li{

    margin-bottom:12px;

}

.footer-links a{

    color:#ddd;

    transition:.3s;

}

.footer-links a:hover{

    color:#fff;

}

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.1);

    padding-top:25px;

    display:flex;

    justify-content:space-between;

    flex-wrap:wrap;

    gap:15px;

}

.footer-bottom p{

    color:#bbb;

}
