/* style.css - Advanced Version */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #1B5E20; /* Deep Agro Green */
    --secondary: #E65100; /* Rich Spice Orange */
    --accent: #FFC107; /* Gold for highlights */
    --dark: #121212;
    --light: #f4f6f8;
    --text-gray: #555;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* --- Top Bar --- */
.top-bar {
    background: var(--dark);
    color: white;
    padding: 10px 0;
    font-size: 0.85rem;
    border-bottom: 2px solid var(--primary);
}
.top-bar i { color: var(--accent); margin-right: 8px; }
.social-icons a {
    color: white;
    margin-left: 15px;
    transition: 0.3s;
}
.social-icons a:hover { color: var(--secondary); }

/* --- Navbar --- */
.navbar {
    padding: 15px 0;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.navbar-brand img { height: 65px; width: auto; }
.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 10px 15px !important;
    transition: 0.3s;
}
.nav-link:hover, .nav-link.active { color: var(--secondary) !important; }
.btn-quote {
    background: linear-gradient(45deg, var(--secondary), #d84315);
    color: white !important;
    border-radius: 30px;
    padding: 10px 25px !important;
    box-shadow: 0 4px 15px rgba(230, 81, 0, 0.4);
    transition: transform 0.3s;
}
.btn-quote:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(230, 81, 0, 0.6); }

/* --- Hero Carousel --- */
.carousel-item { height: 85vh; min-height: 500px; position: relative; }
.carousel-img {
    height: 100%; width: 100%; object-fit: cover;
    filter: brightness(0.6);
}
.carousel-caption {
    bottom: 30%; left: 10%; right: 10%; text-align: left;
    z-index: 2;
}
.hero-badge {
    background: var(--accent); color: var(--dark);
    padding: 5px 15px; border-radius: 4px; font-weight: 700;
    text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px;
    display: inline-block; margin-bottom: 15px;
}
.display-4 {
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    font-size: 3.5rem;
}
@media (max-width: 768px) {
    .display-4 { font-size: 2rem; }
    .carousel-item { height: 60vh; }
}

/* --- Features Section --- */
.feature-box {
    background: white; padding: 40px 30px;
    border-radius: 10px; border-bottom: 4px solid transparent;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.3s; height: 100%; position: relative; overflow: hidden;
}
.feature-box:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--secondary);
}
.feature-icon {
    font-size: 3rem; color: var(--primary);
    margin-bottom: 20px; transition: 0.3s;
}
.feature-box:hover .feature-icon { transform: scale(1.1); color: var(--secondary); }

/* --- Product Cards (Advanced) --- */
.section-header h5 { color: var(--secondary); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.section-header h2 { font-weight: 700; color: var(--dark); font-size: 2.5rem; }

.product-card-adv {
    border-radius: 15px; overflow: hidden;
    background: white; position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
}
.product-card-adv:hover { box-shadow: 0 15px 30px rgba(0,0,0,0.15); }
.product-img-wrap { overflow: hidden; height: 250px; position: relative; }
.product-img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s;
}
.product-card-adv:hover .product-img-wrap img { transform: scale(1.1); }
.product-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: 0.3s;
}
.product-card-adv:hover .product-overlay { opacity: 1; }
.btn-overlay {
    background: white; color: var(--dark); padding: 10px 25px;
    border-radius: 25px; font-weight: 600; text-decoration: none;
}
.btn-overlay:hover { background: var(--secondary); color: white; }
.product-info { padding: 20px; text-align: center; }
.product-cat { color: var(--text-gray); font-size: 0.85rem; }
.product-title { font-weight: 700; font-size: 1.2rem; margin: 5px 0; }

/* --- Parallax Stats --- */
.stats-section {
    background: linear-gradient(rgba(27, 94, 32, 0.9), rgba(27, 94, 32, 0.9)), url('https://images.unsplash.com/photo-1500937386664-56d1dfef3854?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-attachment: fixed;
    background-size: cover;
    color: white; padding: 80px 0;
}
.stat-item h2 { font-size: 3.5rem; font-weight: 700; color: var(--accent); margin-bottom: 0; }
.stat-item p { font-size: 1.1rem; opacity: 0.9; }

/* --- Client/Cert Strip --- */
.client-strip { background: var(--light); padding: 40px 0; }
.cert-logo {
    height: 80px; width: auto; filter: grayscale(100%); opacity: 0.6;
    transition: 0.3s; margin: 0 30px;
}
.cert-logo:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.05); }

/* --- Footer --- */
footer { background: #1a1a1a; color: #bbb; padding-top: 70px; }
.footer-logo { max-height: 80px; margin-bottom: 20px; background: white; padding: 5px; border-radius: 5px; }
.footer-widget h4 { color: white; font-weight: 600; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-widget h4::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 40px; height: 3px; background: var(--secondary);
}
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #bbb; text-decoration: none; transition: 0.3s; }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.contact-list li { margin-bottom: 15px; display: flex; align-items: flex-start; }
.contact-list i { color: var(--secondary); margin-top: 5px; margin-right: 12px; }

/* --- WhatsApp --- */
.float-wa {
    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: 32px; box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000; transition: 0.3s; animation: pulse 2s infinite;
}
.float-wa:hover { transform: scale(1.1); background: #128C7E; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}