/* ===== VARIABLES ===== */
:root {
    /* Colors - Private Equity Palette */
    --navy: #00204E;
    --navy-light: #003366;
    --charcoal: #2D2D2D;
    --slate: #4A4A4A;
    --gold: #B8860B;
    --gold-light: #D4A84B;
    --cream: #F8F6F3;
    --white: #FFFFFF;
    --gray-light: #E8E6E3;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1200px;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--charcoal);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--navy);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    margin-top: 8px;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--navy);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid var(--navy);
    cursor: pointer;
    transition: var(--transition);
}

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

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    padding: 24px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 16px 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 2px;
}

.navbar.scrolled .logo {
    color: var(--navy);
}

.logo span {
    font-weight: 400;
    color: var(--gold);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--white);
    position: relative;
}

.navbar.scrolled .nav-menu a {
    color: var(--charcoal);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: var(--transition);
}

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

.btn-contact {
    padding: 12px 24px !important;
    border: 1px solid var(--white) !important;
}

.btn-contact::after {
    display: none !important;
}

.btn-contact:hover {
    background-color: var(--white);
    color: var(--navy) !important;
}

.navbar.scrolled .btn-contact {
    border-color: var(--navy) !important;
    color: var(--navy) !important;
}

.navbar.scrolled .btn-contact:hover {
    background-color: var(--navy);
    color: var(--white) !important;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .hamburger span {
    background-color: var(--navy);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-subtitle {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn-primary {
    background-color: transparent;
    border-color: var(--white);
}

.hero .btn-primary:hover {
    background-color: var(--white);
    color: var(--navy);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content p {
    color: var(--slate);
    margin-bottom: 40px;
}

.about-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--navy);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--slate);
    margin-top: 4px;
}

.about-image {
    position: relative;
}

.image-placeholder {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--cream) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate);
    font-size: 0.875rem;
}

/* ===== STRATEGY SECTION ===== */
.strategy {
    padding: var(--section-padding) 0;
    background-color: var(--cream);
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.strategy-card {
    background-color: var(--white);
    padding: 48px 40px;
    transition: var(--transition);
}

.strategy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 32, 78, 0.1);
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    color: var(--gold);
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.strategy-card h3 {
    margin-bottom: 16px;
}

.strategy-card p {
    color: var(--slate);
    font-size: 0.9375rem;
}

.sectors {
    text-align: center;
}

.sectors h3 {
    margin-bottom: 32px;
}

.sectors-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.sectors-list span {
    padding: 12px 28px;
    background-color: var(--white);
    border: 1px solid var(--gray-light);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--charcoal);
    transition: var(--transition);
}

.sectors-list span:hover {
    border-color: var(--gold);
    color: var(--navy);
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.portfolio-item {
    background-color: var(--cream);
    padding: 48px;
    text-align: center;
    transition: var(--transition);
}

.portfolio-item:hover {
    background-color: var(--navy);
}

.portfolio-item:hover .portfolio-logo span,
.portfolio-item:hover h4,
.portfolio-item:hover p {
    color: var(--white);
}

.portfolio-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.portfolio-logo span {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 2px;
    transition: var(--transition);
}

.portfolio-info h4 {
    margin-bottom: 4px;
    transition: var(--transition);
}

.portfolio-info p {
    font-size: 0.875rem;
    color: var(--slate);
    transition: var(--transition);
}

/* ===== TEAM SECTION ===== */
.team {
    padding: var(--section-padding) 0;
    background-color: var(--cream);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.team-member {
    text-align: center;
}

.member-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate);
    font-size: 0.875rem;
}

.team-member h4 {
    margin-bottom: 4px;
}

.member-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.member-bio {
    font-size: 0.9375rem;
    color: var(--slate);
    max-width: 280px;
    margin: 0 auto;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info p {
    color: var(--slate);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item strong {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.contact-item p {
    margin-bottom: 0;
    color: var(--charcoal);
}

.contact-form {
    background-color: var(--cream);
    padding: 48px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--gray-light);
    background-color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--charcoal);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    width: 100%;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--navy);
    padding: 80px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.footer-logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 2px;
}

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

.footer-logo p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-top: 16px;
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal a:hover {
    color: var(--white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .strategy-grid,
    .portfolio-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--navy);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        transition: var(--transition);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        color: var(--white) !important;
        font-size: 1.25rem;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .strategy-grid,
    .portfolio-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 16px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
