/* Global Resets & Basic Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FFFFFF;
}

/* Brand Colors */
:root {
    --dark-green: #2E4723;
    --earthy-orange: #C97F2F;
    --black-bg: #000000;
    --white-text: #FFFFFF;
    --light-gray-bg: #f9f9f9;
    --medium-gray: #666;
    --light-text-on-dark: #f1f1f1;
}

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

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-green);
    margin-bottom: 0.8em;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.7rem; }

p {
    margin-bottom: 1em;
    color: #444;
}

a {
    text-decoration: none;
    color: var(--earthy-orange);
}

a:hover, .main-nav ul li a:hover {
    color: var(--dark-green);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.py-1 { padding-top: 1rem; padding-bottom: 1rem; }
.py-2 { padding-top: 2rem; padding-bottom: 2rem; }
.py-3 { padding-top: 3rem; padding-bottom: 3rem; }
.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    color: var(--dark-green);
    position: relative;
    padding-bottom: 10px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--earthy-orange);
}


/* Header */
.site-header {
    background-color: var(--black-bg);
    color: var(--white-text);
    padding: 10px 0;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 5px;
    padding-bottom: 5px;
}

.site-logo img {
    max-height: 75px; /* Increased logo size */
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 20px;
}

.main-nav ul li a {
    color: var(--white-text);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 5px;
    position: relative;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--earthy-orange);
    transition: width 0.3s ease-in-out;
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}
.main-nav ul li a.active {
    color: var(--earthy-orange);
}


/* Mobile Menu (Hamburger) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white-text);
    font-size: 24px;
    cursor: pointer;
}


/* Hero Section */
.hero {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--white-text);
    text-align: center;
    padding: 100px 20px;
    position: relative;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5em;
    color: var(--white-text);
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 1.5em;
    color: var(--light-text-on-dark);
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--earthy-orange);
    color: var(--white-text);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 2px solid var(--earthy-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
}

.btn:hover {
    background-color: #a86822;
    border-color: #a86822;
    color: var(--white-text);
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-secondary {
    background-color: transparent;
    color: var(--dark-green);
    border: 2px solid var(--dark-green);
}

.btn-secondary:hover {
    background-color: var(--dark-green);
    color: var(--white-text);
    border-color: var(--dark-green);
}


/* General Section Styling */
.page-section {
    padding: 60px 0;
}
.page-section.bg-light {
    background-color: var(--light-gray-bg);
}
.page-section.bg-dark-green {
    background-color: var(--dark-green);
    color: var(--white-text);
}
.page-section.bg-dark-green h2,
.page-section.bg-dark-green h3,
.page-section.bg-dark-green p {
    color: var(--white-text);
}
.page-section.bg-dark-green .section-title::after {
    background-color: var(--earthy-orange);
}


/* Services Section (Homepage Example) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

/* Updated Service Item styles with hover effect */
.service-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #eee; /* Adds a very light, clean border */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooths the hover effect */
}

.service-item:hover {
    transform: translateY(-5px); /* Lifts the box up slightly on hover */
    box-shadow: 0 8px 25px rgba(46, 71, 35, 0.15); /* Adds a soft green-tinted shadow */
}

.service-item img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
    /* FIX FOR CENTERING */
    margin-left: auto;
    margin-right: auto;
}

.service-item h3 {
    color: var(--dark-green);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 0.95rem;
    color: var(--medium-gray);
    margin-bottom: 15px;
    min-height: 80px; /* Helps align buttons if text length varies */
}

/* About Page Specific */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.about-content img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Gallery Page */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 71, 35, 0.7);
    color: var(--white-text);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    padding: 15px;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay h4 {
    color: var(--white-text);
    margin-bottom: 5px;
    font-size: 1.2rem;
}
.gallery-item .overlay p {
    color: var(--light-text-on-dark);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Basic CSS Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
}
.lightbox:target {
    display: flex;
}
.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border: 3px solid white;
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
}
.lightbox .close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    text-decoration: none;
}


/* =================================
   New Sleek Contact Form Styles
   ================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.contact-info-sleek {
    padding: 25px;
    background-color: var(--light-gray-bg);
    border-radius: 8px;
}

.contact-info-sleek h3 {
    color: var(--dark-green);
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--earthy-orange);
    padding-bottom: 10px;
}

.contact-info-sleek p {
    font-size: 1rem;
    color: var(--medium-gray);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info-sleek p i {
    color: var(--earthy-orange);
    margin-right: 15px;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.contact-info-sleek p a {
    color: var(--dark-green);
    font-weight: 500;
}

.contact-info-sleek p a:hover {
    color: var(--earthy-orange);
    text-decoration: none;
}

.contact-info-sleek .serving-area {
    font-style: italic;
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-top: 20px;
}

.map-container {
    width: 100%;
    height: 250px; /* Adjusted height for this layout */
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.sleek-contact-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.sleek-contact-form .form-title {
    text-align: center;
    color: var(--dark-green);
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: 700;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--medium-gray);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    border-color: var(--earthy-orange);
    outline: none;
    box-shadow: 0 0 0 3px rgba(201, 127, 47, 0.2);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.sleek-contact-form .btn {
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 1.1rem;
}

/* =================================
   New Service Page Styles
   ================================= */
.service-feature-box {
    background-color: var(--light-gray-bg);
    border-left: 5px solid var(--earthy-orange);
    border-radius: 8px;
    padding: 30px;
    margin: 40px 0;
    text-align: center;
}

.service-feature-box .feature-icon {
    font-size: 2.5rem;
    color: var(--earthy-orange);
    margin-bottom: 15px;
}

.service-feature-box h2 {
    color: var(--dark-green);
    margin-top: 0;
}

.service-category {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.service-category h2 {
    font-size: 2rem;
    color: var(--dark-green);
    margin-bottom: 10px;
}

.service-category h2 i {
    margin-right: 15px;
    color: var(--earthy-orange);
}

.service-category p {
    font-style: italic;
    color: var(--medium-gray);
    max-width: 800px;
}

.service-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    column-count: 2;
    column-gap: 30px;
}

.service-list li {
    padding: 8px 0;
    font-size: 1.05rem;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.service-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--dark-green);
    margin-right: 12px;
}


/* Sticky Call Now Button on Mobile */
.sticky-call-now {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--earthy-orange);
    color: var(--white-text);
    text-align: center;
    padding: 15px 0;
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 999;
    text-decoration: none;
}
.sticky-call-now:hover {
    background-color: #a86822;
    color: var(--white-text);
    text-decoration: none;
}


/* Footer */
.site-footer {
    background-color: var(--black-bg);
    color: var(--light-text-on-dark);
    padding: 40px 0 20px;
    text-align: center;
}

.site-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo img {
    max-height: 70px;
    margin-bottom: 20px;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-nav ul li {
    margin: 0 15px;
}

.footer-nav ul li a {
    color: var(--light-text-on-dark);
    font-size: 0.9rem;
}
.footer-nav ul li a:hover {
    color: var(--earthy-orange);
    text-decoration: underline;
}

.footer-contact p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}
.footer-contact p a {
    color: var(--light-text-on-dark);
}
.footer-contact p a:hover {
    color: var(--earthy-orange);
}

.copyright {
    margin-top: 20px;
    font-size: 0.85rem;
    border-top: 1px solid #444;
    padding-top: 20px;
    width: 100%;
    max-width: 600px;
}


/* =================================
   Responsive Media Queries
   ================================= */

/* Tablets and larger phones */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    .hero h1 { font-size: 2.4rem; }
    .hero p { font-size: 1.1rem; }
    h2 { font-size: 1.8rem; }
    .section-title { font-size: 2rem; }

    .site-header .container {
        flex-direction: row;
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--black-bg);
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out;
    }

    .main-nav.active {
        max-height: 300px;
        padding-bottom: 10px;
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .main-nav ul li {
        margin: 10px 0;
        width: 100%;
    }
    .main-nav ul li a {
        display: block;
        padding: 10px;
    }
    .main-nav ul li a::after {
        display: none;
    }


    .about-content {
        grid-template-columns: 1fr;
    }
    .about-content img {
        margin-bottom: 20px;
    }

    .sticky-call-now {
        display: block;
    }

    .footer-nav ul {
        flex-direction: column;
    }
    .footer-nav ul li {
        margin: 5px 0;
    }

    .service-list {
        column-count: 1;
    }
}

/* Smaller mobile phones */
@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    h2 { font-size: 1.6rem; }
    .section-title { font-size: 1.8rem; }

    .container {
        width: 95%;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .sleek-contact-form {
        padding: 20px;
    }
}
