:root {
    --primary: #00405D;
    --accent: #AA7737;
    --accent-dark: #5A1414;
    --background: #fafaf8;
    --gold: #AA7637;
    --burgundy: #5A1414;
    --text: #000000;
    --text-light: #666666;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.08);
    --font-family-sans: "Montserrat", "Gotham", "Open Sans", "Helvetica Neue", Helvetica, sans-serif !important;
    --font-family-serif: "Georgia", serif !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-sans);
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(200, 168, 130, 0.2);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
    margin-bottom: 0 !important;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    /* font-size: 0.95rem; */
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-dark);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.4rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Logo visibility */
.logo-desktop {
    display: block;
}

.logo-mobile {
    display: none;
}

/* Mission Statement Section */
.mission-statement {
    background: var(--burgundy);
    color: var(--white);
    padding: 4rem 3rem;
    text-align: center;
}

.mission-content {
    max-width: 1000px;
    margin: 0 auto;
}

.mission-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.mission-content p:last-child {
    margin-bottom: 0;
}

/* Hero Section */
.hero {
    margin-top: 8rem;
    height: 85vh;
    /* background: 
        linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(44, 44, 44, 0.7) 100%),
        url('../assets/C street-1.png') center / cover no-repeat; */
    background: 
        linear-gradient(135deg, rgba(26, 26, 26, 0.7) 0%, rgba(44, 44, 44, 0.7) 100%),
        url('https://static.clubs.nfl.com/image/upload/t_editorial_landscape_12_desktop/f_auto/commanders/cpfufgqxjxov8aag3ktb.jpg') center / cover no-repeat;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(200, 168, 130, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(200, 168, 130, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    /* font-family: 'Cormorant Garamond', serif; */
    text-shadow: #000000 0px 0px 10px;
    font-size: 4.5rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
    font-weight: 300;
}

.logo-image {
    height: 80px;
    width: auto;
}

.hero .subtitle {
    font-size: 1.1rem;
    color: #faaf51;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 2rem;
}

/* Section Styling */
.section {
    padding: 6rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    /* font-family: 'Cormorant Garamond', serif; */
    font-size: 3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 3rem;
    /* margin-top: 3rem; */
    line-height: 1.1;
    text-align: center;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    /* margin-top: 4rem; */
}

.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.spotlight-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
    width: 100%;
}

.project-card.project-spotlight {
    width: 100%;
    margin: 0;
    display: block;
}

.spotlight-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
    width: 100%;
}

/* .project-spotlight .project-image {
    height: 350px;
} */

.project-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #c8a882 0%, #9d8162 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: white;
    font-weight: 600;
}

.project-content {
    padding: 2rem;
    text-align: center;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1;
    height: 3rem;
}

.project-subtitle {
    display: inline-block;
    /* background: var(--gold); */
    background: #C79252;
    color: #000;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    margin: 0.5rem 0 1rem 0;
    text-align: center;
}
.project-subtitle2 {
    display: inline-block;
    /* background: var(--gold); */
    color: #000;
    /* padding: 0.35rem 0.75rem; */
    border-radius: 8px;
    font-weight: 500;
    font-size: 1.25rem;
    /* margin: 0.5rem 0 1rem 0; */
    margin-bottom: 1rem;
    text-align: center;
}

.project-client {
    display: block;
    color: var(--text);
    font-weight: 600;
}

.project-description {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

#rfk-visual .overlay-caption {
    position: absolute;
    left: 0.25rem;
    bottom: 0.15rem;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
    border-radius: 3px;
    max-width: calc(100% - 1.5rem);
    line-height: 1.2;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.team-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.4s ease;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-8px);
}

.team-photo {
    width: 100%;
    height: 24rem;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--accent);
}

.team-content {
    padding: 2rem;
}

.team-name {
    /* font-family: 'Cormorant Garamond', serif; */
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.team-title {
    color: var(--accent-dark);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.team-bio {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.9rem;
}

/* Capabilities Button */
.capabilities-section {
    text-align: center;
}

.capabilities-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(200, 168, 130, 0.3);
}

.capabilities-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(200, 168, 130, 0.4);
    color: var(--white);
}

#rfk-visual { position: relative; }
#rfk-visual .overlay-caption {
    position: absolute;
    left: 0.75rem;
    bottom: 0.5rem;
    background: rgba(0,0,0,0.9);
    color: #ffffff;
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
    border-radius: 3px;
    max-width: calc(100% - 1.5rem);
    line-height: 1.2;
}
@media (max-width: 600px) {
    #rfk-visual .overlay-caption { font-size: 0.7rem; left: 0.5rem; bottom: 0.4rem; }
}
.modal-photo-caption {
    position: absolute;
    left: 0.75rem;
    bottom: 0.5rem;
    background: rgba(0,0,0,0.9);
    color: #ffffff;
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
    border-radius: 3px;
    max-width: calc(100% - 1.5rem);
    line-height: 1.2;
    text-decoration: none;
    display: inline-block;
}
.modal-photo-caption:hover {
    background: rgba(0,0,0,1);
    text-decoration: underline;
}
@media (max-width: 600px) {
    .modal-photo-caption { font-size: 0.7rem; left: 0.5rem; bottom: 0.4rem; }
}

#rfk-roadway {
    background: url('../assets/RFK_roadway.jpeg') center / cover no-repeat;
}
#dc-plug {
    background: url('../assets/DC-PLUG.jpg') center / cover no-repeat;
}
#i-95-cap {
    background: url('../assets/hp-project-1.jpg') center / cover no-repeat;
}
#arboretum-bridge {
    background: url('../assets/Arboretum-Bridge.jpg') center / cover no-repeat;
}
#howard-university {
    background: url('../assets/Howard-University.png') center / cover no-repeat;
}
#pinehurst {
    background: url('../assets/Pinehurst.png') center / cover no-repeat;
}
#rfk-visual {
    background: url('../assets/ASM-Global.png') center / cover no-repeat;
}
#citizens-bank {
    background: url('https://www.pennoni.com/wp-content/uploads/2018/05/75-CBP-full.png') center / cover no-repeat;
}
#talon-energy-stadium {
    background: url('https://www.pennoni.com/wp-content/uploads/2018/01/60.-Talen-Stadium-full.png') center / cover no-repeat;
}
#nrg-park {
    background: url('https://cdn.houstonpublicmedia.org/wp-content/uploads/2021/04/12155937/DJI_0052-1-scaled.jpg') center / cover no-repeat;
}



/* Footer */
footer {
    background: var(--burgundy);
    color: var(--white);
    padding: 3rem;
    text-align: center;
}

footer p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Page Content */
.page-content {
    display: none;
}

.page-content.active {
    display: block;
}

/* Responsive */
@media (max-width: 968px) {
    .project-title {
        height: 4rem !important;
    }
    .nav-container {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .projects-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Team Modal */
.modal {
    /* use opacity/visibility for transitions instead of display */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 260ms cubic-bezier(.4,0,.2,1), visibility 260ms ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 1200px;
    width: 90%;
    position: relative;
    max-height: 800px;
    overflow-y: auto;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(12px) scale(0.985);
    transition: transform 260ms cubic-bezier(.4,0,.2,1), box-shadow 200ms ease;
}
.modal-content-2 {
    background: var(--white);
    border-radius: 20px;
    /* width: 90%; */
    position: relative;
    max-height: 95vh;
    overflow-y: auto;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(12px) scale(0.985);
    transition: transform 260ms cubic-bezier(.4,0,.2,1), box-shadow 200ms ease;
}

.modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    color: var(--accent-dark);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 3rem;
}

.modal-photo {
    width: 100%;
    min-height: 500px;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    border-radius: 15px;
    background-size: cover;
    background-position: center;
}

.modal-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-name {
    font-size: 2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.modal-name-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.modal-linkedin {
    color: var(--primary);
    font-size: 2rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.modal-linkedin:hover {
    color: var(--accent-dark);
}

.modal-title {
    color: var(--accent-dark);
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.modal-bio {
    color: var(--text);
    line-height: 1.8;
    font-size: 0.95rem;
}

@media (max-width: 968px) {
    .modal-body {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .modal-photo {
        height: 300px !important;
        min-height: 300px !important;
    }

    .modal-name {
        font-size: 1.5rem;
    }
    
    .modal-content {
        background: var(--white);
        border-radius: 20px;
        /* max-width: 1200px; */
        width: 95%;
        position: relative;
        max-height: 95vh;
        overflow-y: auto;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
        transform: translateY(12px) scale(0.985);
        transition: transform 260ms cubic-bezier(.4,0,.2,1), box-shadow 200ms ease;
    }

    .modal-close {
        right: 10px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 968px) {
    .project-content {
        padding: 1.5rem;
        text-align: center;
    }
    .spotlight-row {
        grid-template-columns: 1fr;
    }

    .project-card.project-spotlight {
        width: 100%;
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }

    /* Show hamburger menu */
    .hamburger {
        display: flex;
    }

    /* Hide desktop nav links, show as mobile menu */
    .nav-links {
        position: absolute;
        top: 110px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 1px solid rgba(200, 168, 130, 0.2);
        box-shadow: 0 4px 20px var(--shadow);
    }

    .nav-links.active {
        max-height: 300px;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem 1.5rem;
        color: var(--text);
        border-bottom: 1px solid rgba(200, 168, 130, 0.1);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover {
        background: rgba(200, 168, 130, 0.1);
        color: var(--accent-dark);
    }

    /* Logo swap */
    .logo-desktop {
        display: none;
    }

    .logo-mobile {
        display: block;
        max-width: 120px;
        width: auto;
    }

    .nav-links {
        gap: 0;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .projects-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}