/* Base Reset and Fonts */
@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@300;400;600;700&display=swap');

:root {
    --primary-green: #366634;
    --body-bg: #F4F3F0;
    --text-color: #656363;
    --heading-color: #366634;
    --white: #ffffff;
    --max-width: 1050px;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Mulish', sans-serif;
    background-color: var(--body-bg);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 15px;
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #234421;
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-family: 'Mulish', sans-serif;
    font-weight: 600;
    margin-bottom: 0.7em;
    margin-top: 1em;
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
}

h3 {
    font-size: 16px;
    text-transform: uppercase;
}

p {
    margin-bottom: 1em;
}

/* =========================================
   Header & Navigation
   ========================================= */
header {
    width: 100vw;
    background-image: url('assets/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding-top: 20px;
    padding-bottom: 40px;
    min-height: 250px;
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 20px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    max-height: 80px;
    margin-right: 15px;
}

.site-title {
    color: var(--white);
    font-family: 'Trebuchet MS', Helvetica, sans-serif;
}

.site-title h1 {
    font-size: 28px;
    margin: 0;
    font-weight: normal;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.site-title span {
    font-size: 14px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Desktop Navigation */
.main-nav {
    margin-top: 10px;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.nav-links > li {
    position: relative; /* For dropdown */
}

.nav-links a {
    display: block;
    color: var(--white);
    text-decoration: none;
    padding: 10px 15px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.nav-links a:hover {
    color: #ddd;
    text-decoration: none;
}

/* Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.95);
    min-width: 220px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1001;
    top: 100%;
    left: 0;
    list-style: none;
    border-top: 3px solid var(--primary-green);
}

.dropdown-content li {
    border-bottom: 1px solid var(--border-color);
}

.dropdown-content a {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-color);
    text-shadow: none;
    text-transform: none;
}

.dropdown-content a:hover {
    background-color: #f0f0f0;
    color: var(--primary-green);
}

@media (min-width: 769px) {
    .dropdown:hover .dropdown-content {
        display: block;
    }
}

/* Burger Menu */
.burger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: 0.3s;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* =========================================
   Main Layout Container
   ========================================= */
.site-content {
    background-color: var(--body-bg);
    padding: 40px 0;
}

.content-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    background-color: var(--body-bg);
}

/* Main Content Area */
.content-area {
    width: 740px;
    padding-right: 40px;
}

/* Sidebar Area */
.sidebar {
    width: 240px;
    padding-left: 30px;
    border-left: 1px solid var(--primary-green);
}

.sidebar-widget {
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    color: var(--primary-green);
    border-bottom: none;
    margin-bottom: 15px;
}

.sidebar-widget p {
    font-size: 13px;
    margin-bottom: 10px;
}

.sidebar-widget .sidebar-img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    display: block;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 15px;
}

td {
    padding: 4px 0;
    vertical-align: top;
}

td:first-child {
    padding-right: 15px;
    font-weight: 600;
}

/* =========================================
   Footer
   ========================================= */
footer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    font-size: 12px;
    margin-top: 40px;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-color);
    margin: 0 10px;
}

/* =========================================
   Cookie Banner
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 20px;
    border-top: 4px solid var(--primary-green);
}

.cookie-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cookie-content h3 {
    margin-bottom: 10px;
    color: var(--primary-green);
}

.cookie-content p {
    font-size: 14px;
    margin-bottom: 15px;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #234421;
}

/* =========================================
   Mobile Responsiveness
   ========================================= */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        width: 100%;
        display: flex;
        justify-content: flex-end;
        margin-top: -40px;
    }

    .burger-menu {
        display: block;
    }

    .nav-links {
        display: none !important;
        width: 100%;
        flex-direction: column;
        background-color: var(--primary-green);
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        padding: 0;
    }

    .nav-links.active-menu {
        display: flex !important;
    }

    .nav-links li {
        width: 100%;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .nav-links a {
        text-shadow: none;
        padding: 15px 20px;
    }

    .dropdown-content {
        position: static !important;
        display: none !important;
        width: 100%;
        box-shadow: none !important;
        background-color: rgba(0,0,0,0.1) !important;
        border-top: none;
    }

    .dropdown-content.mobile-open {
        display: block !important;
    }

    .dropdown-content a {
        padding-left: 30px !important;
        color: var(--white);
    }
    
    .dropdown-content a:hover {
        background-color: rgba(0,0,0,0.2);
        color: var(--white);
    }

    .content-wrapper {
        flex-direction: column;
    }

    .content-area, .sidebar {
        width: 100%;
        padding: 0;
    }

    .sidebar {
        border-left: none;
        border-top: 1px solid var(--primary-green);
        padding-top: 30px;
        margin-top: 30px;
    }
}

/* Responsive Content Images */
.content-area img { 
    max-width: 100%; 
    height: auto; 
    border-radius: 4px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
    margin: 1.5rem 0; 
    display: block; 
}

/* Strato Column Wrappers */
.cm_column_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 2rem;
}
.cm_column {
    flex: 1;
    min-width: 300px;
}
.cm_column_gap {
    display: none;
}

/* Employee Grid Layout */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.team-member {
    text-align: center;
    margin-bottom: 2rem;
}
.team-member img {
    width: 100%;
    max-width: 250px !important;
    height: 250px !important;
    object-fit: cover;
    margin: 0 auto 1rem !important;
    display: block;
}
.team-member h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}
.team-member p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}
