/* Variables */
:root {
    --primary-color: #2E5D3A; /* Forest Green */
    --primary-dark: #1E4026;
    --secondary-color: #8D6E63; /* Earthy Brown */
    --accent-color: #E8F5E9; /* Very light green */
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #F9F7F2; /* Cream/Off-white */
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; color: var(--text-light); }

/* Layout Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-lg) 0;
}

.bg-light { background-color: var(--bg-light); }
.bg-accent { background-color: var(--primary-color); }
.text-white { color: var(--white); }
.text-white p, .text-white h2 { color: var(--white); }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

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

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

.btn-white:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Header & Nav */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

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

.main-nav a:not(.btn-primary-nav):hover {
    color: var(--primary-color);
}

.btn-primary-nav {
    background-color: var(--secondary-color);
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: 4px;
}

.btn-primary-nav:hover {
    background-color: #7a5e53;
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 10s ease; /* Subtle zoom effect */
}

/* Small zoom animation on load */
.hero:hover .hero-bg {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(46, 93, 58, 0.8));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    animation: fadeUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-sub {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #f0f0f0;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Page Header (About/Contact) */
.page-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

/* Section Components */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: var(--secondary-color);
    margin: 1rem auto;
}

.divider-left {
    height: 3px;
    width: 60px;
    background-color: var(--secondary-color);
    margin: 1rem 0;
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--secondary-color);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.gallery-item {
    width: 100%;
    aspect-ratio: 1 / 1; /* Makes them square */
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills the square without distortion */
    transition: transform 0.5s ease;
}

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

/* Split Layout (About Page) */
.split-layout {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
}

.shadow-img {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.feature-list {
    margin-top: 1rem;
    list-style-type: disc;
    padding-left: 1.5rem;
    color: var(--text-color);
}

.feature-list li {
    margin-bottom: 0.5rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-item h3 {
    color: var(--primary-color);
}

/* Contact Page Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    font-size: 1.5rem;
}

.contact-image-wrapper {
    margin-top: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.contact-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(46, 93, 58, 0.1);
}

.btn-block {
    display: block;
    width: 100%;
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background-color: #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    border-radius: var(--border-radius);
}

/* CTA Section */
.cta-section {
    text-align: center;
    background-color: var(--secondary-color);
    color: var(--white);
}

.cta-section h2 { color: var(--white); }
.cta-section p { color: rgba(255,255,255,0.9); margin-bottom: 2rem; }
.cta-section .btn { background-color: var(--white); color: var(--secondary-color); }
.cta-section .btn:hover { background-color: var(--bg-light); }

/* Footer */
.site-footer {
    background-color: #222;
    color: #aaa;
    padding: 4rem 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    background-color: #111;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
}

.social-link a {
    display: inline-block;
    margin-top: 1rem;
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    
    .mobile-toggle { display: block; }
    
    .main-nav {
        display: none; /* Hidden by default on mobile, toggled via JS */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 1rem 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    
    .main-nav.active { display: block; }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .split-layout {
        flex-direction: column;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
    }
}