:root {
    --primary-green: #2E7D32;
    --light-green: #4CAF50;
    --dark-bg: #121212;
    --card-bg: #1E1E1E;
    --text-color: #E0E0E0;
    --white: #FFFFFF;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #2a2a2a;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 15px;
    animation: fadeIn 1s ease-in;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 700;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-green);
}

/* Hero Section */
#hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('hero-bg.png') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
}

.hero-content {
    animation: slideUp 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: var(--light-green);
    transform: translateY(-3px);
}

/* Content Sections */
.content-section {
    padding: 5rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 3rem;
    position: relative;
}

.content-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-green);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Products Section */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #2a2a2a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.product-card img {
    max-width: 100px;
    margin-bottom: 1.5rem;
}

.product-card h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.product-card p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.price-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.old-price {
    font-size: 1rem;
    color: var(--text-color);
    text-decoration: line-through;
    opacity: 0.6;
}

.price {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--light-green);
    margin-bottom: 0;
}

.buy-button {
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s;
}

.buy-button:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

.buy-button.out-of-stock {
    background: var(--card-bg);
    border-color: #555;
    color: #777;
    cursor: not-allowed;
}

.buy-button.out-of-stock:hover {
    background: var(--card-bg);
    color: #777;
}

.sale-badge {
    position: absolute;
    top: 15px;
    right: -45px;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 5px 50px;
    font-size: 0.9rem;
    font-weight: 700;
    transform: rotate(45deg);
    z-index: 1;
    text-transform: uppercase;
}

/* About & Contact Section */
#about p, #contact p, #news p {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.8;
}

#news h3 {
    text-align: center;
    font-size: 1.5rem;
    color: var(--light-green);
    margin-bottom: 2rem;
    font-weight: 400;
}

#contact .contact-details {
    max-width: 800px;
    margin: 0 auto;
}

#contact .contact-details p {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

#contact .contact-details i {
    color: var(--primary-green);
    font-size: 1.5rem;
    width: 25px;
    text-align: center;
}

#contact a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

#contact a:hover {
    color: var(--light-green);
}

/* Footer */
footer {
    background-color: #101010;
    color: #777;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    .logo {
        margin-bottom: 1rem;
    }

    nav ul {
        padding-left: 0;
    }

    nav ul li {
        margin: 0 0.8rem;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .content-section h2 {
        font-size: 2rem;
    }
}