/* =========================
   RESET & BASE
========================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI', Arial, sans-serif;
}

body{
    background:linear-gradient(135deg,#e8f5e9,#ffffff);
    color:#222;
}

/* =========================
   HEADER
========================= */
header{
    background:linear-gradient(135deg,#0b3d2e,#145a3a);
    color:white;
    text-align:center;
    padding:20px 10px;
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
}

header img{
    width:70px;
    margin-bottom:8px;
    transition:0.4s;
}

header img:hover{
    transform:scale(1.1) rotate(5deg);
}

/* =========================
   NAVBAR
========================= */
nav{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    background:#145a3a;
    box-shadow:0 3px 10px rgba(0,0,0,0.2);
}

nav a{
    color:white;
    padding:12px 18px;
    text-decoration:none;
    transition:0.3s;
}

nav a:hover{
    background:#0b3d2e;
    transform:scale(1.05);
}

/* MOBILE NAV */
@media(max-width:600px){
    nav{
        flex-direction:column;
        text-align:center;
    }
}

/* =========================
   CONTAINER
========================= */
.container{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    padding:15px;
}

/* =========================
   PRODUCT CARD (3D)
========================= */
.product{
    background:white;
    width:260px;
    margin:12px;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
    transition:0.4s;
    transform:perspective(1000px) rotateX(0deg) rotateY(0deg);
}

.product:hover{
    transform:perspective(1000px) rotateX(5deg) rotateY(5deg) scale(1.03);
    box-shadow:0 20px 40px rgba(0,0,0,0.25);
}

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

.product h3{
    padding:10px;
    font-size:18px;
}

.product p{
    padding:0 10px;
    font-weight:bold;
    color:#0b3d2e;
}

/* =========================
   BUTTON
========================= */
a, button{
    display:inline-block;
    margin:10px;
    padding:10px 15px;
    background:linear-gradient(135deg,#0b3d2e,#1e8449);
    color:white;
    border:none;
    border-radius:8px;
    text-decoration:none;
    transition:0.3s;
    cursor:pointer;
}

a:hover, button:hover{
    transform:scale(1.08);
    background:linear-gradient(135deg,#145a3a,#0b3d2e);
}

/* =========================
   FORM INPUT
========================= */
input, textarea{
    width:100%;
    padding:12px;
    margin-bottom:12px;
    border-radius:8px;
    border:1px solid #ccc;
    transition:0.3s;
}

input:focus, textarea:focus{
    border-color:#0b3d2e;
    box-shadow:0 0 8px rgba(11,61,46,0.3);
    outline:none;
}

/* =========================
   FOOTER
========================= */
footer{
    background:#0b3d2e;
    color:white;
    text-align:center;
    padding:20px 10px;
    margin-top:30px;
}

footer a{
    color:#a9dfbf;
    text-decoration:none;
}

footer a:hover{
    text-decoration:underline;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media(max-width:600px){
    .product{
        width:90%;
    }

    header h2{
        font-size:18px;
    }
}

/* =========================
   BODY
========================= */
body{
    font-family:Arial, sans-serif;
    background:linear-gradient(135deg,#e8f5e9,#ffffff);
    margin:0;
    padding:0;
    text-align:center;
}

/* =========================
   TITLE
========================= */
h2{
    margin-top:20px;
    color:#0b3d2e;
}

/* =========================
   PRODUCT CONTAINER
========================= */
.products{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    padding:10px;
}

/* =========================
   PRODUCT CARD
========================= */
.products div{
    background:#fff;
    width:220px;
    margin:10px;
    padding:10px;
    border-radius:12px;
    box-shadow:0 8px 20px rgba(0,0,0,0.15);
    transition:0.4s;
}

/* 3D Hover Effect */
.products div:hover{
    transform:scale(1.05) rotateY(5deg);
    box-shadow:0 20px 35px rgba(0,0,0,0.25);
}

/* =========================
   IMAGE
========================= */
.products img{
    width:100%;
    height:150px;
    object-fit:cover;
    border-radius:10px;
}

/* =========================
   PRODUCT NAME
========================= */
.products h3{
    font-size:18px;
    margin:10px 0;
}

/* =========================
   PRICE
========================= */
.products p{
    color:#0b3d2e;
    font-weight:bold;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media(max-width:600px){
    .products div{
        width:90%;
    }
}