:root {
    --primary: #1a5d1a;
    --primary-light: #87c43c;
    --dark: #222;
    --light: #f9f9f9;
    --white: #ffffff;
    --gray: #666;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Marquee Bar */
.top-bar {
    background: var(--primary);
    color: var(--white);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: hidden;
    white-space: nowrap;
}

.marquee {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* Header */
.main-header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 999;
}

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

.logo img {
    height: 60px;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

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

.main-nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition);
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary);
}

.social-icons a {
    color: var(--primary);
    margin-left: 15px;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--primary-light);
}

/* Hero */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.6);
    animation: zoom 20s infinite alternate;
}

@keyframes zoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-content {
    max-width: 600px;
    margin-left: 10%;
    animation: fadeInUp 1s ease-out;
}

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

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

/* Utility Classes */
.bg-light { background-color: var(--light); }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.pb-80 { padding-bottom: 80px; }
.text-content-narrow { max-width: 800px; margin: 0 auto; }
.lead { font-size: 1.2rem; color: var(--gray); margin-bottom: 20px; }

/* Sub Hero */
.sub-hero {
    height: 40vh;
    background: linear-gradient(rgba(26, 93, 26, 0.8), rgba(26, 93, 26, 0.8)), url('../hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.sub-hero h1 {
    font-size: 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary-light);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(135, 196, 60, 0.4);
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* Grids */
.section {
    padding: 80px 0;
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.category-card {
    text-align: center;
    padding: 20px;
    border-radius: 20px;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.category-card img {
    width: 100%;
    max-width: 200px;
    margin-bottom: 15px;
}

/* Products */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: var(--shadow);
}

.product-img-wrap {
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fdfdfd;
}

.product-img-wrap img {
    max-height: 90%;
}

.product-info {
    padding: 20px;
}

.product-price {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: bold;
    margin: 10px 0;
}

/* Services */
.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: 20px;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1001;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(34, 34, 34, 0.95);
    color: white;
    padding: 15px 0;
    z-index: 2000;
    display: none;
}

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

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 20px 0 10px;
    font-size: 0.85rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    height: 30px;
    filter: brightness(0) invert(1);
}

.footer-contact-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-contact-row span {
    color: #ccc;
}

.footer-contact-row i {
    color: var(--primary-light);
    margin-right: 5px;
}

.footer-links-horizontal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    flex-wrap: wrap;
}

.footer-links-horizontal a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-links-horizontal a:hover {
    color: var(--white);
}

.footer-links-horizontal .sep {
    color: #444;
    user-select: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 5px;
    font-size: 0.75rem;
    color: #666;
}

/* Contact Page Specific */
.contact-form {
    display: grid;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 20px;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    border-bottom-color: var(--primary);
    color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .grid-2, .grid-4 {
        grid-template-columns: 1fr;
    }
    .main-nav {
        display: none;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
}