﻿:root {
    --primary-color: #6FC149;
    /* #6366f1;*/
    --secondary-color: #4CA328;
    /* #818cf8;*/
    --accent-color: #a5b4fc;
    --bg-color: #f8fafc;
    --text-color: #1e293b;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Montserrat Alternates', 'Segoe UI', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

header {
    width: 100%;
    padding: 10px;
    background-color: #6FC149;
    color: #fff;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 90px;
    cursor:pointer;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-align: left;
}

.hdr-info {
    margin-left: 1.5rem;
    text-decoration: none;
    color: #2c2c2c;
    font-weight: 500;
    transition: color 0.3s ease;
    text-align: center;
    font-size: 2.3rem;
    margin-top: 14px;
    padding-top: 5px;
}

h1 {
    font-size: 2.5rem;
    margin-top: 10px;
    animation: slideIn 1s ease-out;
}

.product-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 55px;
    animation: fadeInUp 1s ease-in-out;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 350px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .product-card img {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }

    .product-card h3 {
        font-size: 1.4rem;
        margin: 10px 0;
    }

    .product-card p {
        font-size: 1rem;
        color: #777;
        padding: 0 15px;
    }

    .product-card .price {
        font-size: 1.5rem;
        font-weight: bold;
        margin: 10px 0;
        color: #007bff;
    }

footer {
    background-color: #6FC149;
    color: white;
    padding: 5px;
    text-align: center;
    margin-top: 30px;
    width: 100%;
    padding-bottom: 5px;
}

    footer a {
        color: #fff;
        margin: 0 10px;
        font-size: 1.3rem;
    }

        footer a:hover {
            color: #f8f9fa;
        }

.buy-btn,
.back-btn {
    background: var(--primary-color);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 12px;
    width: 100%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

    .buy-btn:hover,
    .back-btn:hover {
        background: var(--secondary-color);
    }

/* Responsive Design */
@media (max-width: 768px) {

    .hdr-info {
        margin-left: 1rem;
    }

    .product-container {
        grid-template-columns: 1fr;
    }
}
