* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #fff;
}


/* ================= HEADER ================= */
header {
    text-align: center;
    padding: 30px;
    background: linear-gradient(90deg, #2196f3, #03a9f4);
    color: #fff;
}


/* ================= NAVBAR ================= */
nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 14px;
    background: #1a1a2e;
}

nav a {
    color: #ffcc80;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

nav a:hover {
    color: #ffffff;
}


/* ================= BANNER ================= */
.slider {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.slide {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}



/* ================= SECTIONS ================= */
.section {
    padding: 50px 20px;
    text-align: center;
}

.section h2 {
    color: #ffcc00;
    margin-bottom: 20px;
}

.section h3 {
    color: #4dd0e1;
    margin: 30px 0 20px;
}


/* ================= PRODUCTS ================= */
.product-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 products on laptop */
    gap: 25px;
    margin-top: 30px;
}
@media (max-width: 768px) {
    .product-container {
        grid-template-columns: repeat(2, 1fr); /* 2 products on mobile */
    }
}


.product-card {
    background: linear-gradient(145deg, #1f1c2c, #928dab);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    padding: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(255,152,0,0.6);
}


/* IMAGE – FINAL PERFECT SETTING */
.product-card img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    background: #ffffff;
    padding: 10px;
    border-radius: 8px;
    border: 3px solid #ff9800;
}


/* PRODUCT TEXT */
.product-card h4 {
    margin-top: 15px;
    color: #ffe082;
}

.product-card p {
    font-size: 14px;
    margin: 4px 0;
}

/* ================= CONTACT ================= */
.contact {
    background: linear-gradient(135deg, #232526, #414345);
    border-top: 3px solid #ff9800;
}


/* ================= FOOTER ================= */
footer {
    text-align: center;
    padding: 15px;
    border-top: 1px solid #333;
    color: #aaa;
}

/* ================= THEME TOGGLE BUTTON ================= */
.theme-toggle {
    background: #ff9800;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    color: #000;
}

/* ================= ORDER BUTTON ================= */
.order-btn {
    margin-top: 10px;
    padding: 8px 15px;
    background: #ff9800;
    border: none;
    color: #000;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
}

.order-btn:hover {
    background: #ffc107;
}

/* ================= MODAL ================= */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 999;
}

.modal-content {
    background: #fff;
    color: #000;
    width: 90%;
    max-width: 400px;
    margin: 80px auto;
    padding: 20px;
    border-radius: 10px;
    position: relative;
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 15px;
}

.modal-content input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
}

.modal-content button {
    width: 100%;
    padding: 10px;
    background: #ff9800;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

.modal-content textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    resize: none;
    height: 80px;
}

.close {
    position: absolute;
    right: 12px;
    top: 8px;
    font-size: 24px;
    cursor: pointer;
}


/* ================= WHATSAPP FLOAT ================= */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: #fff;
    font-size: 28px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    z-index: 999;
}

.whatsapp-float:hover {
    background: #1ebc59;
}


/* ===== SUCCESS POPUP ===== */
.success-popup {
    display: none;               
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1000;

    align-items: center;
    justify-content: center;
}

.success-popup.active {
    display: flex;               
}

.success-box {
    background: linear-gradient(135deg, #43cea2, #185a9d);
    color: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    text-align: center;
    animation: popupScale 0.4s ease;
}

@keyframes popupScale {
    from {
        transform: scale(0.6);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

