/* --- CSS VARIABLES --- */
:root {
    --primary-green: #1a4d2e; 
    --accent-gold: #d4af37;   
    --text-dark: #333333;
    --text-light: #f4f4f4;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- NAVIGATION --- */
nav {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 0.8rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px; 
}

/* --- TRANSPARENCY TRICK (NAVBAR) --- */
.nav-logo-img {
    height: 50px; 
    width: auto;
    /* This makes the black background invisible on the green header */
    mix-blend-mode: screen; 
    /* Slightly increases brightness to make it pop */
    filter: brightness(1.1);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-gold);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.nav-links a:hover::after {
    width: 100%;
}

/* --- HERO SECTION --- */
header {
    height: 100vh;
    background: linear-gradient(rgba(26, 77, 46, 0.8), rgba(26, 77, 46, 0.6)), url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards 0.5s;
}

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

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-gold);
    color: var(--primary-green);
    font-weight: 800;
    border-radius: 5px;
    transition: var(--transition);
    border: 2px solid var(--accent-gold);
}

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

/* --- SECTIONS GENERAL --- */
section {
    padding: 5rem 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-green);
    font-size: 2.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-gold);
    margin: 10px auto 0;
}

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

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    border-bottom: 5px solid transparent;
    opacity: 0;
    transform: translateY(20px);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    border-bottom: 5px solid var(--primary-green);
}

.card-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--primary-green);
}

/* --- ABOUT & LOGO DISPLAY --- */
.bg-light {
    background-color: #f4f4f4;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    /* IMPORTANT: The background must be green for the transparency trick to work */
    background-color: var(--primary-green); 
    height: 350px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* --- TRANSPARENCY TRICK (ABOUT SECTION) --- */
.feature-logo {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    /* This makes the black background invisible */
    mix-blend-mode: screen; 
    filter: brightness(1.1);
}

/* --- CONTACT --- */
.contact-section {
    background-color: #f9f9f9;
    text-align: center;
}

.contact-info {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.address-box {
    background: var(--white);
    padding: 2rem;
    display: inline-block;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 5px solid var(--accent-gold);
}

/* --- FOOTER --- */
footer {
    background-color: var(--primary-green);
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

.footer-sub {
    font-size: 0.8rem; 
    opacity: 0.7;
}

/* --- ANIMATIONS --- */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.visible {
    animation: fadeUp 0.8s forwards;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .about-container {
        flex-direction: column;
    }
    .about-image {
        width: 100%;
        height: 250px;
    }
}