/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #2E583E;
    --secondary-green: #4A7C59;
    --accent: #C8A27A;
    --light-beige: #F5F0E6;
    --dark-bg: #1A2A2A;
    --text-dark: #333333;
    --text-light: #F8F8F8;
    --card-bg: #FFFFFF;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #FAFAFA;
}

h1,
h2,
h3,
h4 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent);
}

.section-title h2:after {
    left: 50%;
    transform: translateX(-50%);
}

p {
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary-green);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: var(--secondary-green);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-outline:hover {
    background: var(--primary-green);
    color: var(--text-light);
}

section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background: var(--primary-green);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-icon {
    font-size: 32px;
    color: var(--accent);
    margin-right: 12px;
}

.logo-text {
    font-family: 'Merriweather', serif;
    font-size: 24px;
    color: var(--light-beige);
    font-weight: bold;
}

.logo-text span {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--light-beige);
    font-weight: 500;
    position: relative;
    font-size: 1.05rem;
    transition: var(--transition);
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-menu a:hover:after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--accent);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--light-beige);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('https://placehold.co/1200x800/2E583E/FFFFFF/png?text=Placeholder') no-repeat center/cover;
    color: var(--text-light);
}

/* Page-specific hero backgrounds */
    .team-page .hero {
        background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
        url('images/pagebackground1.png ') no-repeat center/cover;
    }

    .index-page .hero {
        background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
        url('images/title-asset-onthenews.png') center/cover;
    }

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 3.2rem;
    color: var(--light-beige);
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--light-beige);
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* ===== SERVICES SECTION ===== */
#services {
    background: var(--light-beige);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-img {
    height: 220px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-green);
}

.service-content p {
    color: #666;
    margin-bottom: 20px;
}

/* ===== TEAM SECTION (Gallery Page) ===== */
.team-section {
    background: var(--light-beige);
}

.team-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 25px;
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-green);
    color: var(--text-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.team-member {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 350px;
    cursor: pointer;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .team-img {
    transform: scale(1.05);
}

.team-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: white;
    opacity: 0;
    transition: var(--transition);
}

.team-member:hover .team-overlay {
    opacity: 1;
}

.team-name {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: white;
}

.team-bio {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
}

.team-role {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
}

/* Team Highlights Section */
#highlights {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 60px 20px;
}

#highlights .section-title h2 {
    color: var(--light-beige);
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.service-icon {
    color: var(--accent);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.service-card h3 {
    color: var(--light-beige);
    margin-bottom: 10px;
}

.service-card p {
    color: #ccc;
}


/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    overflow: auto;
    padding: 60px 0;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 2001;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--accent);
}

.modal-title {
    color: white;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2rem;
}

.modal-subtitle {
    color: var(--accent);
    text-align: center;
    margin-bottom: 40px;
    font-style: italic;
}

.modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.modal-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
}

.modal-gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* ===== CONTACT SECTION ===== */
.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info,
.contact-form {
    background: var(--light-beige);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-form {
    background: var(--card-bg);
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-green);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 20px;
    color: var(--primary-green);
    margin-right: 15px;
    min-width: 30px;
    margin-top: 5px;
}

.contact-item div h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-green);
}

.contact-item div p {
    color: #666;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-green);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background: #f9f9f9;
    color: var(--text-dark);
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
}

.form-control:focus {
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 88, 62, 0.1);
    background: #fff;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ===== FOOTER ===== */
footer {
    background: var(--primary-green);
    color: var(--light-beige);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-widget h3 {
    color: var(--light-beige);
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-beige);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: var(--primary-green);
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        text-align: center;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }

    .hero {
        height: auto;
        padding: 100px 0;
    }

    section {
        padding: 80px 0;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .contact-info,
    .contact-form {
        padding: 25px;
    }

    .service-img,
    .team-img {
        height: 200px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-member {
        height: 300px;
    }
}