/* ══════════════════════════════════════════
   Boss Ventures — Global Styles
   ══════════════════════════════════════════ */

:root {
    --gold: #C8A951;
    --gold-hover: #D4B96A;
    --dark-bg: #161616;
    --black-bg: #000000;
    --grey-bg: #2a2a2a;
    --card-bg: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #e2e2e2;
    --text-muted: #919191;
    --nav-bg: rgba(0, 0, 0, 0.85);
    --font-heading: 'Archivo Black', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* ── Navigation ── */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-logo:hover {
    color: var(--text-primary);
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero (Home) ── */

.hero {
    min-height: 500px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 72px 24px 56px;
    position: relative;
    background: url('../img/hero-bg.png') center center / cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 54px;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-gold {
    background: var(--gold);
    color: #000000;
}

.btn-gold:hover {
    background: var(--gold-hover);
    color: #000000;
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: #000000;
}

/* ── Page Banner (Interior Pages) ── */

.page-banner {
    padding: 140px 24px 60px;
    text-align: center;
    background: var(--black-bg);
    position: relative;
}

.page-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 60px;
    height: 3px;
    background: var(--gold);
}

.page-banner h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    line-height: 1.2;
    color: var(--text-primary);
}

/* ── Sections (shared) ── */

.section {
    padding: 80px 24px;
}

.section-inner {
    max-width: 984px;
    margin: 0 auto;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 36px;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 40px;
    text-align: center;
}

.section-subheading {
    font-size: 18px;
    color: var(--text-muted);
    text-align: center;
    max-width: 640px;
    margin: -20px auto 48px;
    line-height: 1.7;
}

/* Section backgrounds */
.bg-black { background-color: var(--black-bg); }
.bg-dark { background-color: var(--dark-bg); }
.bg-grey { background-color: var(--grey-bg); }

/* ── Approach Teaser (Home) ── */

.approach-teaser {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.approach-teaser p {
    font-size: 19px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.approach-teaser .btn {
    margin-top: 8px;
}

/* ── Portfolio Grid (Home preview) ── */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 12px;
    align-items: center;
}

.portfolio-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-decoration: none;
}

.portfolio-link:hover {
    opacity: 0.8;
}

.portfolio-link img {
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 12px;
}

.portfolio-link-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.portfolio-cta {
    text-align: center;
    margin-top: 40px;
}

/* ── Portfolio Cards (Portfolio page) ── */

.portfolio-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 840px;
    margin: 0 auto;
}

.portfolio-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 48px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: center;
}

.portfolio-card:hover {
    border-color: rgba(200, 169, 81, 0.25);
}

.portfolio-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-card-logo img {
    max-width: 180px;
    max-height: 90px;
    object-fit: contain;
}

.portfolio-card-info h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.portfolio-card-info p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.portfolio-card-info .btn {
    padding: 10px 24px;
    font-size: 12px;
}

/* ── Mission Section (About) ── */

.mission-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.mission-image img {
    width: 100%;
    max-width: 520px;
    display: block;
    margin: 0 auto;
}

.mission-text {
    font-size: 19px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ── Philosophy Section (About) ── */

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

.philosophy-item {
    text-align: center;
    padding: 32px 20px;
}

.philosophy-item h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    color: var(--gold);
    margin-bottom: 16px;
}

.philosophy-item p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ── Stats Bar ── */

.stats-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    padding: 48px 24px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--gold);
    display: block;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
}

/* ── Contact Form ── */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.contact-info p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.contact-info a {
    color: var(--gold);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text-primary);
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    outline: none;
    transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    margin-top: 4px;
}

/* Honeypot */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* Form messages */
.form-message {
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.5;
}

.form-message.success {
    background: rgba(200, 169, 81, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
}

.form-message.error {
    background: rgba(220, 60, 60, 0.1);
    border: 1px solid #dc3c3c;
    color: #f07070;
}

/* ── Footer ── */

footer {
    background-color: var(--black-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
    max-width: 984px;
    margin: 0 auto;
    padding: 48px 24px 32px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--text-primary);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

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

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
}

.footer-nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
}

.footer-nav a {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--text-primary);
}

.footer-contact {
    font-size: 14px;
    color: var(--text-muted);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    text-align: center;
}

.footer-copy {
    font-size: 13px;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

/* ══════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════ */

@media (min-width: 1280px) {
    .section-inner,
    .hero-content {
        max-width: 1160px;
    }
}

@media (min-width: 1536px) {
    body {
        font-size: 18px;
    }
    .section-inner,
    .hero-content {
        max-width: 1280px;
    }
}

@media (max-width: 1023px) {
    .hero-title {
        font-size: 42px;
    }
    .section-heading {
        font-size: 30px;
    }
    .page-banner h1 {
        font-size: 36px;
    }
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .portfolio-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 36px 28px;
    }
    .portfolio-card-logo {
        margin-bottom: 8px;
    }
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        min-height: 400px;
        padding: 100px 24px 56px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .section {
        padding: 56px 24px;
    }

    .section-heading {
        font-size: 26px;
        margin-bottom: 24px;
    }

    .page-banner {
        padding: 110px 24px 48px;
    }

    .page-banner h1 {
        font-size: 30px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .portfolio-link img {
        max-height: 70px;
    }

    .mission-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .mission-text {
        font-size: 17px;
    }

    .stats-bar {
        gap: 32px;
    }

    .stat-divider {
        display: none;
    }

    .stat-number {
        font-size: 28px;
    }

    .footer-top {
        flex-direction: column;
        gap: 28px;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 12px;
    }
}
