/* ==============================================
   Fancy Hat — Boutique Venture Capital
   ============================================== */

:root {
    --color-bg: #0b0b0f;
    --color-bg-dark: #070709;
    --color-bg-accent: #10101a;
    --color-gold: #c8a44e;
    --color-gold-light: #dbb85a;
    --color-gold-dark: #b08f3a;
    --color-text: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.7);
    --color-text-muted: rgba(255, 255, 255, 0.45);
    --color-border: rgba(255, 255, 255, 0.08);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--color-gold);
    color: var(--color-bg);
}

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

/* --- Navigation --- */
.navbar {
    padding: 1.25rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(11, 11, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
}

.nav-logo {
    height: 32px;
    width: auto;
    filter: brightness(1.8);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.nav-logo:hover {
    opacity: 1;
}

.navbar-nav .nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--color-gold);
}

.navbar-toggler {
    color: var(--color-text);
    font-size: 1.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* --- Buttons --- */
.btn-gold {
    background: var(--color-gold);
    color: var(--color-bg);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--color-gold);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-gold:hover,
.btn-gold:focus {
    background: var(--color-gold-light);
    border-color: var(--color-gold-light);
    color: var(--color-bg);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(200, 164, 78, 0.25);
}

.btn-gold.btn-lg {
    padding: 0.8rem 2.25rem;
    font-size: 1rem;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--color-text);
    transform: translateY(-1px);
}

.btn-outline-light.btn-lg {
    padding: 0.8rem 2.25rem;
    font-size: 1rem;
}

/* --- Hero --- */
.hero-section {
    min-height: 100vh;
    min-height: 100svh;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center top;
    filter: blur(2px) saturate(0.5);
    transform: scale(1.05);
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(11, 11, 15, 0.5) 0%,
        rgba(11, 11, 15, 0.25) 35%,
        rgba(11, 11, 15, 0.6) 75%,
        rgba(11, 11, 15, 1) 100%
    );
}

.hero-logo {
    width: 400px;
    max-width: 80vw;
    height: auto;
    filter: brightness(2);
}

.hero-divider {
    width: 60px;
    height: 2px;
    background: var(--color-gold);
    margin: 1.5rem auto;
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-text);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.hero-meta {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
    text-decoration: none;
    transition: border-color 0.3s ease;
}

.scroll-indicator:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.scroll-indicator-dot {
    width: 3px;
    height: 8px;
    background: var(--color-gold);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0.2; }
}

/* --- Section Utilities --- */
.py-section {
    padding: 7rem 0;
}

.py-section-sm {
    padding: 4.5rem 0;
}

.bg-darker {
    background-color: var(--color-bg-dark);
}

.bg-accent {
    background: linear-gradient(135deg, var(--color-bg-accent), var(--color-bg));
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
}

.section-heading {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 0;
    color: var(--color-text);
}

.accent-line {
    width: 50px;
    height: 2px;
    background: var(--color-gold);
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--color-text-secondary);
    font-weight: 300;
    max-width: 680px;
    margin: 0 auto 1.5rem;
}

.section-text:last-child {
    margin-bottom: 0;
}

/* --- Criteria Cards --- */
.criteria-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 2.5rem 1.75rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.criteria-card:hover {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(200, 164, 78, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.criteria-icon {
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 1.25rem;
}

.criteria-card h3 {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-text);
}

.criteria-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    font-weight: 300;
    margin: 0;
}

/* --- Approach Timeline --- */
.approach-timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.approach-timeline::before {
    content: '';
    position: absolute;
    left: 42px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: linear-gradient(
        to bottom,
        var(--color-gold),
        rgba(200, 164, 78, 0.3),
        var(--color-border)
    );
}

.approach-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.approach-step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 84px;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-gold);
    line-height: 1;
    text-align: center;
    position: relative;
}

.step-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.step-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    font-weight: 300;
    margin: 0;
}

/* --- Stats --- */
.stat-item {
    padding: 1.5rem 0;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* --- Team --- */
.team-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 3rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(200, 164, 78, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
    color: var(--color-bg);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 20px rgba(200, 164, 78, 0.25);
}

.team-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1.25rem;
}

.team-bio {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    font-weight: 300;
    margin: 0;
}

/* --- Contact --- */
#contact .btn-gold {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

/* --- Footer --- */
.site-footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--color-border);
    background-color: var(--color-bg);
}

.footer-logo {
    height: 24px;
    width: auto;
    filter: brightness(1.5);
    opacity: 0.5;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.footer-location {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
    .hero-tagline {
        font-size: 1.85rem;
    }

    .section-heading {
        font-size: 2.1rem;
    }

    .py-section {
        padding: 5.5rem 0;
    }
}

@media (max-width: 767.98px) {
    .hero-logo {
        width: 280px;
    }

    .hero-tagline {
        font-size: 1.5rem;
    }

    .hero-meta {
        font-size: 0.8rem;
        letter-spacing: 0.1em;
    }

    .hero-ctas {
        flex-direction: column;
        padding: 0 1rem;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .section-heading {
        font-size: 1.75rem;
    }

    .section-text {
        font-size: 1rem;
    }

    .py-section {
        padding: 4rem 0;
    }

    .approach-timeline::before {
        display: none;
    }

    .approach-step {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .step-number {
        width: auto;
        font-size: 2rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .navbar-collapse {
        background: rgba(11, 11, 15, 0.98);
        margin-top: 0.75rem;
        padding: 1rem;
        border-radius: 8px;
        border: 1px solid var(--color-border);
    }

    .navbar-nav .btn-gold {
        width: 100%;
        text-align: center;
        margin-left: 0 !important;
        margin-top: 0.5rem;
    }

    .scroll-indicator {
        display: none;
    }

    .team-card {
        padding: 2.5rem 1.5rem;
    }

    #contact .btn-gold {
        font-size: 1rem;
        padding: 0.85rem 2rem;
    }
}

@media (max-width: 479.98px) {
    .hero-logo {
        width: 220px;
    }

    .hero-tagline {
        font-size: 1.3rem;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .criteria-card {
        padding: 2rem 1.25rem;
    }

    .py-section {
        padding: 3.5rem 0;
    }
}
