/* --- HEADER SPECIFIC TO PROJECTS --- */
.project-header {
    height: 40vh; 
    min-height: 300px;
    background: linear-gradient(rgba(26, 77, 46, 0.9), rgba(26, 77, 46, 0.7)), 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;
}

/* --- MAIN CONTENT AREA --- */
.projects-section {
    padding: 3rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- HEADINGS --- */
.projects-section h3 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
    border-left: 5px solid var(--accent-gold);
    padding-left: 15px;
    font-size: 1.5rem;
}

/* --- TABLE DESIGN --- */
.table-container {
    overflow-x: auto;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-radius: 8px;
    border: 1px solid #eee;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    min-width: 700px;
}

/* Table Header */
thead {
    background-color: var(--primary-green);
    color: var(--white);
}

th {
    padding: 18px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Table Body */
td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
    color: #444;
    font-size: 0.95rem;
    vertical-align: middle; /* Aligns text and button */
}

/* Zebra Stripes */
tbody tr:nth-child(even) {
    background-color: #f8fcf9;
}

/* Hover Effect */
tbody tr:hover {
    background-color: #e6f7ea;
    transition: background-color 0.2s ease;
}

/* --- MAP BUTTON STYLES (NEW) --- */
.map-btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--accent-gold);
    color: var(--primary-green);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid var(--accent-gold);
    white-space: nowrap; /* Prevents button text from breaking */
}

.map-btn:hover {
    background-color: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* --- NAVIGATION ACTIVE STATE --- */
.active-page {
    color: var(--accent-gold) !important;
}
.active-page::after {
    width: 100% !important;
}