*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial,Helvetica,sans-serif;
}

body{
background:#f4f7fb;
color:#222;
}

header{
background:white;
box-shadow:0 2px 12px rgba(0,0,0,.08);
}

.nav{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 8%;
position:sticky;
top:0;
background:white;
z-index:100;
}

.logo{
display:flex;
align-items:center;
gap:12px;
font-size:30px;
font-weight:bold;
color:#008da8;
}

.logo img{
width:55px;
height:55px;
border-radius:50%;
}

.nav ul{
display:flex;
gap:25px;
list-style:none;
}

.nav a{
text-decoration:none;
color:#222;
font-weight:600;
transition:.3s;
}

.nav a:hover{
color:#0097b2;
}

#cartBtn{
background:#0097b2;
color:white;
border:none;
padding:10px 18px;
border-radius:30px;
cursor:pointer;
font-size:18px;
}

.hero{
position:relative;
height:520px;
overflow:hidden;
}

.hero img{
width:100%;
height:100%;
object-fit:cover;
}

.heroText{
position:absolute;
top:50%;
left:8%;
transform:translateY(-50%);
color:white;
max-width:600px;
}

.heroText h1{
font-size:64px;
margin-bottom:15px;
}

.heroText p{
font-size:22px;
margin-bottom:30px;
line-height:1.6;
}

.heroText a{
display:inline-block;
padding:15px 35px;
background:#00a8c7;
color:white;
text-decoration:none;
border-radius:30px;
font-weight:bold;
}

section{
padding:70px 8%;
}

section h2{
text-align:center;
margin-bottom:40px;
font-size:38px;
color:#0097b2;
}

.products{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
gap:30px;
}

.product{
background:white;
border-radius:18px;
overflow:hidden;
box-shadow:0 5px 20px rgba(0,0,0,.08);
transition:.3s;
}

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

.product img{
width:100%;
height:320px;
object-fit:cover;
}

.productContent{
padding:18px;
}

.product h3{
margin-bottom:10px;
font-size:22px;
}

.product p{
color:#666;
line-height:1.5;
margin-bottom:15px;
}

.price{
font-size:24px;
font-weight:bold;
color:#0097b2;
margin-bottom:15px;
}

.buyBtn{
width:100%;
padding:14px;
background:#0097b2;
color:white;
border:none;
border-radius:8px;
font-size:16px;
cursor:pointer;
}

.buyBtn:hover{
background:#007f97;
}

footer{
background:#00394a;
color:white;
padding:60px 8%;
text-align:center;
}

footer h3{
font-size:34px;
margin-bottom:15px;
}

footer p{
max-width:900px;
margin:auto;
line-height:1.8;
}

@media(max-width:900px){

.nav{
flex-direction:column;
gap:20px;
}

.nav ul{
flex-wrap:wrap;
justify-content:center;
}

.heroText h1{
font-size:42px;
}

.heroText p{
font-size:18px;
}

}

.footerLogo{
    width:180px;
    display:block;
    margin:0 auto 20px;
}

.footerImage{
    width:100%;
    max-width:700px;
    display:block;
    margin:25px auto;
    border-radius:16px;
}

footer{
    text-align:center;
    padding:60px 20px;
}
.product img{
    width:100%;
    height:350px;
    object-fit:contain;
    background:#fff;
    cursor:pointer;
    transition:0.3s;
}

.product img:hover{
    transform:scale(1.03);
}

.imageModal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.92);
    justify-content:center;
    align-items:center;
    z-index:9999;
    cursor:pointer;
}

.imageModal img{
    max-width:95%;
    max-height:95%;
    object-fit:contain;
    border-radius:12px;
    box-shadow:0 0 30px rgba(255,255,255,.25);
}
/* =======================
   CART MODAL
======================= */

.cartModal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.75);
    z-index:10000;
    justify-content:center;
    align-items:center;
    padding:20px;
}

.cartWindow{
    width:100%;
    max-width:650px;
    max-height:90vh;
    overflow:auto;
    background:#fff;
    border-radius:18px;
    padding:25px;
    box-shadow:0 15px 40px rgba(0,0,0,.3);
}

.cartHeader{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.closeCart{
    border:none;
    background:none;
    font-size:28px;
    cursor:pointer;
}

.cartItem{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:12px 0;
    border-bottom:1px solid #ddd;
}

.cartTotal{
    margin:25px 0;
    font-size:24px;
    font-weight:bold;
    text-align:right;
    color:#0097b2;
}

#orderForm{
    display:flex;
    flex-direction:column;
    gap:15px;
}

#orderForm input,
#orderForm textarea{
    padding:14px;
    border:1px solid #ccc;
    border-radius:10px;
    font-size:16px;
}

#orderForm textarea{
    resize:vertical;
    min-height:90px;
}

#sendOrderBtn{
    background:#0097b2;
    color:white;
    border:none;
    padding:15px;
    border-radius:10px;
    font-size:18px;
    cursor:pointer;
    transition:.3s;
}

#sendOrderBtn:hover{
    background:#007f97;
}
