@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Earthy Brown & White Palette */
    --primary-brown: #4A3B32; /* Deep soil brown */
    --primary-brown-dark: #32261E;
    --secondary-tan: #C2A88D; /* Warm sand/tan */
    --accent-tan: #E5D5C5; /* Light cream */
    
    --text-dark: #2C241E;
    --text-light: #7A6F66;
    --white: #FFFFFF;
    --bg-light: #FAF8F5; /* Very soft warm off-white */
    --bg-gray: #F0EBE6;
    
    /* Typography */
    --font-main: 'Poppins', sans-serif;
    
    /* Transitions & Shadows */
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(74, 59, 50, 0.05);
    --shadow-md: 0 15px 35px rgba(74, 59, 50, 0.1);
    --shadow-lg: 0 25px 50px rgba(74, 59, 50, 0.15);
}

/* Reset & Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-main); color: var(--text-dark);
    background-color: var(--white); line-height: 1.7; overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-weight: 800; color: var(--primary-brown); line-height: 1.1; letter-spacing: -1px; }
p { margin-bottom: 1.2rem; color: var(--text-light); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* Filter for the original Green/Blue logo to match brown theme */
.logo img, .footer-logo img {
    filter: sepia(1) hue-rotate(330deg) saturate(0.8) brightness(0.6) contrast(1.2);
}
.footer-logo img { filter: sepia(1) hue-rotate(330deg) saturate(0.8) brightness(2) contrast(1.2); }

/* Layout Utilities - Unique Asymmetrical/Overlapping Approach */
.container { width: 100%; max-width: 1300px; margin: 0 auto; padding: 0 30px; position: relative; }
.section { padding: 120px 0; position: relative; z-index: 1; overflow: hidden; }

/* Organic Shapes & Backgrounds */
.section-bg-light { background-color: var(--bg-light); }
.section-bg-dark { background-color: var(--primary-brown); color: var(--white); }
.section-bg-dark h1, .section-bg-dark h2, .section-bg-dark h3, .section-bg-dark p, .section-bg-dark .section-subtitle { color: var(--white); }

/* Decorative Elements */
.deco-circle {
    position: absolute; border-radius: 50%; background: var(--bg-gray); z-index: -1;
}

/* Typography Utilities */
.section-title {
    font-size: 3.5rem; margin-bottom: 1.5rem; position: relative; display: inline-block;
    text-transform: uppercase;
}
.section-title::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 40%; height: 8px;
    background-color: var(--secondary-tan);
}

.section-subtitle {
    font-size: 1rem; color: var(--secondary-tan); font-weight: 700;
    text-transform: uppercase; letter-spacing: 4px; margin-bottom: 1rem; display: block;
}

/* Vertical Text Element (Unique Style) */
.vertical-text {
    position: absolute; left: 0; top: 50%; transform: translateY(-50%) rotate(-90deg);
    font-size: 6rem; font-weight: 900; color: var(--bg-gray); opacity: 0.5;
    z-index: -1; white-space: nowrap; pointer-events: none;
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 16px 35px; font-weight: 700; cursor: pointer; border: none;
    transition: var(--transition); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px;
    position: relative; overflow: hidden; border-radius: 0; /* Square brutalist buttons */
}
.btn::before {
    content: ''; position: absolute; top: 0; left: 0; width: 0; height: 100%;
    background: rgba(255,255,255,0.2); transition: var(--transition); z-index: 1;
}
.btn:hover::before { width: 100%; }
.btn-primary { background-color: var(--primary-brown); color: var(--white); }
.btn-primary:hover { background-color: var(--primary-brown-dark); color: var(--white); transform: translateY(-5px); box-shadow: var(--shadow-md); }
.btn-secondary { background-color: var(--secondary-tan); color: var(--primary-brown); }
.btn-secondary:hover { background-color: var(--primary-brown); color: var(--white); transform: translateY(-5px); }

/* Header & Navbar */
.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98); border-bottom: 1px solid var(--bg-gray);
    transition: var(--transition); padding: 15px 0;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 0 30px; max-width: 1400px; margin: 0 auto; }
.logo img { height: 50px; transition: var(--transition); }
.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-link { font-weight: 600; color: var(--text-dark); position: relative; padding: 5px 0; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.nav-link::before {
    content: ''; position: absolute; bottom: 0; left: 0; width: 10px; height: 10px;
    background-color: var(--secondary-tan); border-radius: 50%; opacity: 0; transform: translateY(10px); transition: var(--transition);
}
.nav-link:hover::before, .nav-link.active::before { opacity: 1; transform: translateY(0); }
.nav-link:hover, .nav-link.active { color: var(--primary-brown); }

.mobile-menu-btn { display: none; background: none; border: none; font-size: 28px; color: var(--primary-brown); cursor: pointer; }

/* Layout Grids */
.grid-2-asym { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: center; }
.grid-2-asym-rev { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 50px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }

/* Image Overlaps (Unique Style) */
.img-overlap-wrapper { position: relative; padding-bottom: 40px; padding-right: 40px; }
.img-overlap-main { width: 100%; height: 500px; object-fit: cover; z-index: 2; position: relative; border-radius: 0 50px 0 50px; }
.img-overlap-bg { position: absolute; bottom: 0; right: 0; width: 80%; height: 80%; background: var(--accent-tan); z-index: 1; border-radius: 50px 0 50px 0; }

/* Service/Feature Cards */
.card-minimal {
    background: var(--white); padding: 50px 40px; border: 1px solid var(--bg-gray);
    transition: var(--transition); position: relative; z-index: 1;
}
.card-minimal::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 0;
    background: var(--primary-brown); transition: var(--transition); z-index: -1;
}
.card-minimal:hover { transform: translateY(-10px); border-color: var(--primary-brown); }
.card-minimal:hover::before { height: 10px; }
.card-minimal-icon { font-size: 40px; color: var(--secondary-tan); margin-bottom: 25px; }

/* Footer */
.footer { background-color: var(--primary-brown-dark); color: var(--white); padding: 100px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 50px; margin-bottom: 60px; }
.footer-title { color: var(--secondary-tan); font-size: 1.3rem; margin-bottom: 25px; letter-spacing: 2px; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 10px; }
.footer-links a:hover { color: var(--white); transform: translateX(10px); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.4); }

/* Animations */
.fade-in-up { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), transform 1s cubic-bezier(0.25, 0.8, 0.25, 1); }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
    .grid-2-asym, .grid-2-asym-rev { grid-template-columns: 1fr; }
    .section-title { font-size: 2.5rem; }
    .vertical-text { display: none; }
    
    .nav-links {
        position: fixed; top: 80px; left: -100%; width: 100%; height: calc(100vh - 80px);
        background-color: var(--white); flex-direction: column; justify-content: flex-start; padding-top: 50px;
        transition: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
    .nav-links.active { left: 0; }
    .nav-link { font-size: 1.5rem; }
    .mobile-menu-btn { display: block; }
}
