/* Variables & Resets */
:root {
    --primary-green: #0a3321;
    --accent-cream: #e8dfcc;
    --bg-light: #f5f1ea;
    --text-dark: #222;
    --form-bg: #808d7c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: clamp(1rem, 0.98rem + 0.15vw, 1.125rem);
    line-height: 1.6;
}

button,
input,
textarea {
    font: inherit;
}

.brand-title,
.sub-title,
.about-text h3,
.section-title,
.contact-details h3,
.page-title,
.product-detail-text h3 {
    font-family: 'Abel', sans-serif;
}

html {
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   NAVBAR & HEADER
   ============================================================ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 7%;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    margin-top: 10px;
    height: 80px;
    width: auto;
    display: block;
    object-fit: contain;
    box-shadow: 4px 4px 10px rgba(0, 14, 4, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo img:hover {
    transform: scale(1.1);
}

/* The three lines (hamburger menu) - HIDDEN BY DEFAULT on Desktop */
.menu-toggle {
    display: none; 
    font-size: 26px;
    cursor: pointer;
    color: var(--primary-green);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    margin-left : auto;
    margin-right: 40px;
}

.nav-links a {
    text-decoration: none;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-dark);
    font-size: 19px;
    font-weight: 500;
}

/* Dropdowns */
.dropdown { position: relative; }

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 130px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    top: 100%;
    left: 0;
    border-top: 3px solid var(--primary-green);
}

.dropdown-content a {
    padding: 12px 16px;
    display: block;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.dropdown-content a:hover { background: #f9f9f9; color: var(--primary-green); }
.dropdown:hover .dropdown-content { display: block; }

.btn-contact-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 120px;
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 4px 4px 10px rgba(0, 14, 4, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-contact-nav:hover {
    transform: scale(1.05);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    margin-top: 80px;
    background: #f2e8db;
    padding: 80px 8%;
    border-top-right-radius: 250px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text { flex: 1; }

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-bottom-left-radius: 40px;
}

.brand-title { 
    transition: letter-spacing 0.5s ease, color 0.5s ease;
    cursor: default;
    color: var(--primary-green); 
    font-size: clamp(2.4rem, 5.5vw, 5.5rem); 
    margin-top: 8px;
    letter-spacing: 3px; 
}

.brand-title:hover {
    letter-spacing: 6px;
    color: #1a4d35;
}

.sub-title { color: #777; font-size: clamp(1.4rem, 2.4vw, 2.2rem); margin: 8px 0 70px; }
.hero-text p { color: #444; font-size: clamp(1.05rem, 1.3vw, 1.25rem); font-weight: 600; max-width: 500px; margin-bottom: 60px;}

.hero .btn-quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    height: auto;
    min-height: 60px;
    padding: 15px 24px;
    font-size: clamp(0.8rem, 1.1vw, 1.1rem);
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.btn-quote {
    height: 60px;
    width: 320px;
    margin-top: 30px;
    background: var(--primary-green);
    color: white;
    padding: 15px 30px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 16px;
    box-shadow: 4px 4px 10px rgba(0, 14, 4, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.about { padding: 80px 7%; }
.about-content { display: flex; gap: 60px; align-items: flex-start; }
.about-text { flex: 1.2; }
.about-text h3 { margin-top: 80px; font-size: clamp(2.4rem, 5.5vw, 5.5rem); color: var(--primary-green); margin-bottom: 60px; }
.about-text p { font-size: clamp(1rem, 1.1vw, 1.15rem); font-weight: 500; line-height: 1.8; color: #333; }
.about-image img { flex: 0.8; height:auto; width: 100%; }

.mission {
    padding: 80px 7%;
    background-color:#f2e8db; 
}

.section-title { 
    font-size: clamp(2.4rem, 5.5vw, 5.5rem);
    color: var(--primary-green); 
    margin-bottom: 80px;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px;
}

.mission-card {
    padding: 30px;
    border-radius: 18px;
    background: #fff;
    text-align: center;
}

.mission-icon {
    display: flex;
    min-height: 110px;
    align-items: center;
    justify-content: center;
}

.mission-icon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.mission-card h4 { 
    margin-top: 20px;
    font-size: 2rem;
    color: var(--primary-green);
    font-weight: bold;
}

.mission-card p {
    margin-top: 12px;
    line-height: 1.6;
}

/* Products Showcase (3 per row) */
.products-showcase { padding: 80px 8%; text-align: center; background: #fff; }
.product-grid { 
    display: grid; 
    grid-template-columns: repeat(3, minmax(0, 1fr)); 
    gap: 28px; 
    margin-top: 40px; 
}
.prod-item {
    overflow: hidden;
    border-radius: 14px;
    background: var(--bg-light);
}

.prod-item img { width: 100%; height: 250px; object-fit: cover; display: block; }

.prod-item span {
    display: block;
    padding: 16px 12px;
    color: var(--primary-green);
    font-size: 1.15rem;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Contact Section */

.contact-section { background: var(--accent-cream); padding: 80px 8%; }

.contact-flex { display: flex; gap: 50px; }

.contact-details { flex: 1; }

.contact-details h3 {
    margin-bottom: 36px;
    font-size: clamp(2rem, 3vw, 3rem);
    color: var(--primary-green);
}

.detail-item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    margin: 0 0 28px;
}

.distance, .bluecolor { min-width: 0; }

.detail-item .contact-text,
.detail-item .contact-subtitle {
    overflow-wrap: anywhere;
}

.detail-item i {
    margin-top: 3px;
    font-size: 1.25rem;
    color: var(--primary-green);
    text-align: center;
}

.contact-title {
    display: block;
    margin-bottom: 5px;
    color: var(--primary-green);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.detail-item .contact-subtitle {
    margin: 0 0 6px;
    color: #59645a;
    font-size: 0.9rem;
    font-weight: 400;
}

.detail-item .contact-text {
    margin: 0 0 4px;
    color: #303832;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.55;
}

.bluecolor .contact-text{
    color: #303832;
}



.contact-form-container {

    width: 550px;

    background: var(--form-bg);

    padding: 40px;

    border-radius: 10px;

}

.contact-form-container h4 { margin-bottom: 20px; font-size: 2.5rem; color: #fff; }

.contact-form-container input, .contact-form-container textarea {

    width: 100%; padding: 12px; margin-bottom: 15px; border-radius: 5px; border: none;

}

.contact-form-container button {

    width: 100%; background: var(--primary-green); color: #fff; padding: 15px; border: none; cursor: pointer; font-weight: bold;

}

.contact-form-container button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-message {
    margin-top: 12px;
    font-weight: bold;
    min-height: 1.2em;
}

.form-message.success { color: #b6f5c9; }
.form-message.error { color: #ffb3b3; }



.map-section iframe { width: 100%; height: 450px; display: block; }

/* Footer */

footer { background: var(--primary-green); color: #ccc; padding: 60px 8% 20px; }

.footer-top { margin-right: 120px; display: flex; justify-content: space-between; margin-bottom: 40px; }

.footer-brand{

    margin-right: 20px;

}

.footer-brand img{

    margin-bottom: 30px;

}

.footer-brand p{

    font-size: 1.1rem;

}

.footer-brand { max-width: 400px;}

.footer-reach{

    margin-right: 10px;

}

.footer-reach h4 {

    margin-top: 6px;

    font-size: 1.5rem;

    color: #fff;

    margin-bottom: 15px;

    }

.footer-reach p{

    font-size: 1.1rem;

}



.social-media {

    display: flex;

    flex-direction: column;   /* Makes items go vertically */

    align-items: flex-start;  /* Align everything to left */

}



.social-media a {

    font-size: 1.8rem;

    color: var(--primary-green);

    background: #fff;

    width: 45px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    text-decoration: none;

    transition: 0.3s ease;

}



.social-media h4 {

    font-size: 1.5rem;

    margin-bottom: 15px;

    color: #fff;

}



.social-icons {

    margin-top: 15px;

    display: flex;        /* THIS makes them same line */

    gap: 20px;            /* space between icons */

    align-items: left;

    justify-content: flex-start;

}



.social-media a:hover {

    background: var(--primary-green);

    color: #fff;

    transform: translateY(-5px);

}

.footer-bottom { text-align: right; border-top: 1px solid #1a4d35; padding-top: 20px; font-size: 14px; }
/* ============================================================
   RESPONSIVE (Mobile/Tablet)
   ============================================================ */
@media (max-width: 992px) {
    .menu-toggle {
        display: block; /* Hamburger icon shows on mobile */
    }

    .nav-links {
        display: none; /* Hidden until "active" class is added by JS */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        max-height: calc(100vh - 100%);
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
    }

    /* Dropdowns become tap-to-open accordions on mobile - :hover doesn't work reliably on touch */
    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        border-top: none;
        border-left: 3px solid var(--primary-green);
        margin: 5px 0 5px 10px;
    }

    .dropdown.open .dropdown-content {
        display: block;
    }

    .hero-container, .about-content, .contact-flex { flex-direction: column; text-align: center; }

    .hero {
        border-top-right-radius: 100px;
    }

    .hero-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .btn-quote {
        width: 100%;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .hero .btn-quote {
        width: fit-content;
        max-width: 100%;
        padding: 14px 16px;
        font-size: clamp(0.8rem, 3.8vw, 0.95rem);
        display: inline-flex;
    }

    .mission-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .detail-item { justify-content: initial; text-align: left; }

    .contact-form-container {
        width: 100%;
        max-width: 550px;
        margin: 0 auto;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-right: 0;
        gap: 40px;
    }

    .footer-brand {
        max-width: 100%;
        margin-right: 0;
    }

    .social-media {
        align-items: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
    }
}

/* ============================================================
   EXTRA SMALL DEVICES (phones)
   ============================================================ */
@media (max-width: 480px) {
    .logo img {
        height: 55px;
        margin-top: 0;
    }

    .btn-contact-nav {
        width: 108px;
        height: 38px;
        padding: 8px 10px;
        font-size: 13px;
    }

    .hero {
        padding: 60px 6%;
        border-top-right-radius: 60px;
    }

    .brand-title { letter-spacing: 1px; }
    .sub-title { margin: 8px 0 30px; }
    .hero-text p { margin-bottom: 30px; }

    .about-text h3, .section-title, .contact-details h3 { margin-bottom: 40px; }
    .about-text h3 { margin-top: 40px; }

    .about, .mission, .products-showcase, .contact-section { padding: 50px 6%; }

    .contact-form-container { padding: 25px; }
    .contact-form-container h4 { font-size: 1.8rem; }

    .prod-item img { height: 180px; }
    .mission-grid, .product-grid { grid-template-columns: 1fr; }
}