*{
margin:0;
padding:0;
box-sizing:border-box;
font-family: 'Poppins', sans-serif;
}

body{
background:#f7f4ed;
color:#333;
}

.container{
width:90%;
max-width:1200px;
margin:auto;
padding:60px 0;
}

.container h2{
text-align:center;
margin-bottom: 20px;
font-size:32px;
}

/* NAVBAR */
/*
.navbar{
.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 10%;
background:#A8C686;
}

.logo img{
height:60px;
}

.nav-links a{
margin-left:25px;
text-decoration:none;
color:#1E3A23;
font-weight:600;
}
*/

/* NAVBAR */

.navbar{
display:flex;
align-items:center;
background:white;
}

/* LOGO */

.logo img{
height: 60px;
margin-left:30px;
margin-top:10px;
margin-bottom:10px;
}

/* NAVIGATION LINKS */

.nav-links{
display:flex;
}

.nav-links a{
text-decoration:none;
margin-right:5px;
font-size:16px;
font-weight:600;
color:#1E3A23;
padding:8px 14px;
border-radius:6px;
transition:0.3s;
}

/* HOVER EFFECT */

.nav-links a:hover{
background:#1E3A23;
color:white;
}

/* HERO */

.hero{
height:80vh;
background:url("../images/flowers.jpeg") center/cover no-repeat;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
}

.hero-box{
background:rgba(255,255,255,0.95);
padding:45px;
border-radius:15px;
max-width:600px;
}

.hero h1{
font-size:40px;
margin-bottom:10px;
}

.btn{
background:#7da56b;
padding:12px 25px;
border-radius:25px;
text-decoration:none;
color:white;
display:inline-block;
margin-top:10px;
transition:0.3s;
}

/* BUTTON HOVER */

.btn:hover{
background:#1E3A23;
color:white;
}

/* HERO IMAGE */

.hero-image img{
width:100%;
max-width:1100px;
border-radius:10px;
display:block;
margin:auto;
}

/* PRODUCT GRID */

.products{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:30px;
padding:50px 0;
}

.product-card{
background:white;
padding:20px;
border-radius:15px;
text-align:center;
box-shadow:0 4px 10px rgba(0,0,0,0.08);
transition:0.3s;
}

.product-card:hover{
transform:translateY(-5px);
}

/*
.product-card{
background:white;
padding:15px;
border-radius:15px;
text-align:center;
}
*/
.product-card img{
width:100%;
border-radius:10px;
}

.price{
font-weight:bold;
margin:8px 0;
}



/* PRODUCT PAGE */

.product-page{
display:grid;
grid-template-columns:1fr 1fr;
gap:50px;
padding:60px 0;
}

.product-page img{
width:100%;
border-radius:15px;
}

/* ABOUT */

.about{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
padding:60px 0;
}

.about img{
width:100%;
border-radius:15px;
}

/* CONTACT */

.contact{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
padding:60px 0;
}

input, textarea{
width:100%;
padding:12px;
margin:10px 0;
border-radius:8px;
border:1px solid #ccc;
}

.footer{
background:#A8C686;
color:#1E3A23;
padding:40px 10%;
margin-top:50px;
}

.footer-container{
display:flex;
justify-content:space-between;
flex-wrap:wrap;
gap:40px;
}

.footer h2{
margin-bottom:10px;
}

.footer h3{
margin-bottom:10px;
}

.footer ul{
list-style:none;
padding:0;
}

.footer ul li{
margin-bottom:8px;
}

.footer a{
text-decoration:none;
color:#1E3A23;
font-weight:500;
}

.footer a:hover{
text-decoration:underline;
}

.footer-bottom{
text-align:center;
margin-top:30px;
font-size:14px;
}

/* Knit Section Home Page*/

.knit-section{
display:flex;
align-items:center;
justify-content:center;
gap:30px;
padding:30px 0;
flex-wrap:wrap;
}

.knit-image img{
background:white;
padding:15px;
border-radius:15px;
width:350px;
box-shadow:0 4px 10px rgba(0,0,0,0.08);
}

.knit-text{
max-width:500px;
}

.knit-text h2{
font-size:30px;
margin-bottom:10px;
}

.knit-text p{
line-height:1.6;
margin-bottom:15px;
}

/* Section Spacing*/

section{
padding:30px 0;
}

/* .container:nth-child(even){
background:#fdfbf7;
} */

/* FLOATING CROCHET BACKGROUND */

.crochet-bg{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
overflow:hidden;
z-index:-1;
}

.crochet-bg span{
position:absolute;
display:block;
width:80px;
height:80px;
background:rgba(168,198,134,0.25);
border-radius:50%;
animation:float 20s linear infinite;
bottom:-150px;
}

/* different sizes & positions */

.crochet-bg span:nth-child(1){
left:10%;
animation-delay:0s;
}

.crochet-bg span:nth-child(2){
left:25%;
width:60px;
height:60px;
animation-delay:2s;
animation-duration:18s;
}

.crochet-bg span:nth-child(3){
left:40%;
animation-delay:4s;
}

.crochet-bg span:nth-child(4){
left:55%;
width:70px;
height:70px;
animation-delay:6s;
}

.crochet-bg span:nth-child(5){
left:70%;
animation-delay:8s;
}

.crochet-bg span:nth-child(6){
left:80%;
width:50px;
height:50px;
animation-delay:3s;
}

.crochet-bg span:nth-child(7){
left:90%;
width:90px;
height:90px;
animation-delay:5s;
}

.crochet-bg span:nth-child(8){
left:15%;
width:65px;
height:65px;
animation-delay:7s;
}

/* floating animation */

@keyframes float{

0%{
transform:translateY(0) rotate(0deg);
opacity:0.7;
}

100%{
transform:translateY(-1000px) rotate(360deg);
opacity:0;
}

}