/* ===================================================
COZY CROCHET STUDIO
PREMIUM E-COMMERCE SHOWCASE
style.css
=================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* =========================
ROOT VARIABLES
========================= */
:root{
--cream:#FFF8F2;
--beige:#F3E9DD;
--blush:#F8D7DA;
--lavender:#E8DFF8;
--rose:#D9A5B3;
--brown:#6F5A4E;
--dark:#333333;
--white:#ffffff;


--shadow-sm:0 4px 12px rgba(0,0,0,.08);
--shadow-md:0 10px 25px rgba(0,0,0,.10);
--shadow-lg:0 20px 40px rgba(0,0,0,.12);

--radius:20px;
--transition:all .35s ease;


}

/* =========================
GLOBAL RESET
========================= */
*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:'Poppins',sans-serif;
background:var(--cream);
color:var(--dark);
overflow-x:hidden;
}

img{
width:100%;
display:block;
}

a{
text-decoration:none;
}

ul{
list-style:none;
}

.section-padding{
padding:100px 0;
}

/* =========================
CUSTOM SCROLLBAR
========================= */
::-webkit-scrollbar{
width:8px;
}

::-webkit-scrollbar-track{
background:#f3f3f3;
}

::-webkit-scrollbar-thumb{
background:var(--rose);
border-radius:50px;
}

/* =========================
LOADER
========================= */
#loader{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:linear-gradient(135deg,var(--blush),var(--lavender));
display:flex;
align-items:center;
justify-content:center;
z-index:99999;
}

.loader-content{
text-align:center;
color:#fff;
}

.loader-content p{
font-size:18px;
font-weight:500;
}

/* =========================
NAVBAR
========================= */
.custom-navbar{
background:rgba(255,255,255,.85);
backdrop-filter:blur(14px);
box-shadow:0 2px 15px rgba(0,0,0,.05);
padding:12px 0;
}

.navbar-brand{
font-family:'Cormorant Garamond',serif;
font-size:2rem;
color:var(--brown)!important;
}

.nav-link{
font-weight:500;
margin-left:15px;
color:var(--dark)!important;
transition:var(--transition);
}

.nav-link:hover{
color:var(--rose)!important;
}

.btn-cart{
background:var(--rose);
color:#fff;
border:none;
width:48px;
height:48px;
border-radius:50%;
transition:var(--transition);
}

.btn-cart:hover{
transform:scale(1.08);
}

/* =========================
HERO SECTION
========================= */
.hero-section{
background:
linear-gradient(
rgba(255,248,242,.8),
rgba(255,248,242,.8)),
url("https://images.unsplash.com/photo-1512436991641-6745cdb1723f");
background-size:cover;
background-position:center;
}

.hero-tag{
display:inline-block;
background:var(--lavender);
color:var(--brown);
padding:10px 18px;
border-radius:30px;
font-size:14px;
}

.hero-title{
font-family:'Cormorant Garamond',serif;
font-size:4rem;
font-weight:700;
color:var(--brown);
margin-bottom:20px;
}

.hero-subtitle{
font-size:1.1rem;
line-height:1.8;
margin-bottom:30px;
}

.hero-buttons{
display:flex;
gap:15px;
flex-wrap:wrap;
}

.btn-primary-custom{
background:var(--rose);
color:#fff;
padding:14px 30px;
border-radius:50px;
font-weight:600;
transition:var(--transition);
}

.btn-primary-custom:hover{
transform:translateY(-3px);
color:#fff;
box-shadow:var(--shadow-md);
}

.btn-outline-custom{
border:2px solid var(--rose);
color:var(--rose);
padding:14px 30px;
border-radius:50px;
font-weight:600;
transition:var(--transition);
}

.btn-outline-custom:hover{
background:var(--rose);
color:#fff;
}

.hero-image{
border-radius:30px;
box-shadow:var(--shadow-lg);
animation:float 4s ease-in-out infinite;
}

@keyframes float{
0%{transform:translateY(0);}
50%{transform:translateY(-15px);}
100%{transform:translateY(0);}
}

/* =========================
SECTION HEADING
========================= */
.section-heading h2{
font-family:'Cormorant Garamond',serif;
font-size:3rem;
color:var(--brown);
margin-bottom:10px;
}

.section-heading p{
color:#777;
}

/* =========================
SEARCH & FILTER
========================= */
.form-control,
.form-select{
border:none;
padding:15px;
border-radius:15px;
box-shadow:var(--shadow-sm);
}

.form-control:focus,
.form-select:focus{
box-shadow:0 0 0 3px rgba(217,165,179,.2);
}

/* =========================
PRODUCT CARD
========================= */
.product-card{
background:rgba(255,255,255,.75);
backdrop-filter:blur(10px);
border-radius:25px;
overflow:hidden;
transition:var(--transition);
box-shadow:var(--shadow-sm);
height:100%;
}

.product-card:hover{
transform:translateY(-10px);
box-shadow:var(--shadow-lg);
}

.product-card img{
height:260px;
object-fit:cover;
}

.product-body{
padding:20px;
}

.product-body h5{
font-weight:600;
margin-bottom:10px;
}

.price{
color:var(--rose);
font-weight:700;
font-size:1.2rem;
}

.add-cart-btn{
width:100%;
background:var(--rose);
color:#fff;
border:none;
padding:12px;
border-radius:12px;
font-weight:600;
transition:var(--transition);
}

.add-cart-btn:hover

/* =========================
ABOUT SECTION
========================= */
.about-section{
background:linear-gradient(
to right,
var(--cream),
var(--lavender));
}

.about-section img{
border-radius:25px;
box-shadow:var(--shadow-lg);
}

.about-section h2{
font-family:'Cormorant Garamond',serif;
font-size:3rem;
color:var(--brown);
}

.about-section p{
line-height:1.9;
margin-top:15px;
}

/* =========================
WHY CHOOSE US
========================= */
.why-us{
background:#fff;
}

.feature-card{
background:var(--white);
border-radius:20px;
padding:35px 20px;
text-align:center;
box-shadow:var(--shadow-sm);
transition:var(--transition);
}

.feature-card:hover{
transform:translateY(-8px);
}

.feature-card i{
font-size:2.4rem;
color:var(--rose);
margin-bottom:15px;
}

.feature-card h5{
margin:0;
}

/* =========================
REVIEW CARD
========================= */
.review-card{
background:#fff;
border-radius:20px;
padding:30px;
box-shadow:var(--shadow-sm);
transition:var(--transition);
}

.review-card:hover{
transform:translateY(-8px);
}

.review-card p{
font-style:italic;
line-height:1.8;
}

.review-card h6{
color:var(--rose);
margin-top:15px;
}

/* =========================
INSTAGRAM SECTION
========================= */
.insta-img{
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.insta-img:hover{
    transform: translateY(-5px) scale(1.03);
}

/* =========================
CONTACT
========================= */
.contact-section{
background:linear-gradient(
135deg,
var(--blush),
var(--lavender));
}

.contact-section h2{
font-family:'Cormorant Garamond',serif;
font-size:3rem;
}

.contact-links{
display:flex;
gap:20px;
justify-content:center;
flex-wrap:wrap;
}

.contact-links a{
background:#fff;
color:var(--brown);
padding:15px 25px;
border-radius:50px;
font-weight:600;
box-shadow:var(--shadow-sm);
transition:var(--transition);
}

.contact-links a:hover{
transform:translateY(-4px);
}

/* =========================
OFFCANVAS CART
========================= */
.offcanvas{
border-top-left-radius:25px;
border-bottom-left-radius:25px;
}

#cart-items{
max-height:450px;
overflow:auto;
}

/* =========================
CHECKOUT MODAL
========================= */
.modal-content{
border:none;
border-radius:25px;
}

.modal-header{
border-bottom:none;
}

.modal-footer{
border-top:none;
}

#placeOrderBtn{
background:var(--rose);
border:none;
padding:12px 30px;
border-radius:12px;
}

/* =========================
FLOATING WHATSAPP
========================= */
.floating-whatsapp{
position:fixed;
bottom:25px;
left:25px;
width:60px;
height:60px;
background:#25D366;
color:#fff;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:28px;
z-index:999;
box-shadow:var(--shadow-lg);
transition:var(--transition);
}

.floating-whatsapp:hover{
transform:scale(1.1);
color:#fff;
}

/* =========================
BACK TO TOP
========================= */
#backToTop{
position:fixed;
right:25px;
bottom:25px;
width:55px;
height:55px;
border:none;
border-radius:50%;
background:var(--rose);
color:#fff;
font-size:20px;
display:none;
z-index:999;
box-shadow:var(--shadow-md);
}

#backToTop:hover{
transform:translateY(-4px);
}

/* =========================
FOOTER
========================= */
.footer{
background:#2e2e2e;
color:#fff;
padding:70px 0 20px;
}

.footer h5{
margin-bottom:20px;
}

.footer-links li{
margin-bottom:10px;
}

.footer-links a{
color:#ddd;
}

.footer-links a:hover

.social-icons{
display:flex;
gap:15px;
}

.social-icons a{
width:45px;
height:45px;
background:rgba(255,255,255,.1);
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
color:#fff;
transition:var(--transition);
}

.social-icons a:hover{
background:var(--rose);
}

.footer hr{
border-color:rgba(255,255,255,.1);
}

/* =========================
RESPONSIVE
========================= */
@media(max-width:991px){

.hero-title{
    font-size:3rem;
}

.section-padding{
    padding:80px 0;
}

.about-section{
    text-align:center;
}


}

@media(max-width:768px){


.hero-title{
    font-size:2.5rem;
}

.section-heading h2{
    font-size:2.2rem;
}

.contact-links{
    flex-direction:column;
    align-items:center;
}

.hero-buttons{
    justify-content:center;
}

.hero-section{
    text-align:center;
}


}

@media(max-width:576px){


.hero-title{
    font-size:2rem;
}

.navbar-brand{
    font-size:1.5rem;
}

.section-padding{
    padding:60px 0;
}

.product-card img{
    height:220px;
}

}
