/* ThirtyfourInvestments - Elegant Black & White Design */

:root {
    --black: #1a1a1a;
    --dark-gray: #2d2d2d;
    --medium-gray: #666666;
    --light-gray: #999999;
    --pale-gray: #f5f5f5;
    --border-gray: #e0e0e0;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    line-height: 1.8;
    color: var(--black);
    background: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--black);
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.3;
}

h4 {
    font-size: 1.15rem;
}

p {
    margin-bottom: 1.25rem;
    color: var(--medium-gray);
    font-size: 1.05rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.6;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    padding: 1.5rem 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid var(--border-gray);
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    color: var(--black);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--black);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    opacity: 1;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    cursor: pointer;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--black);
    transition: all 0.3s ease;
}

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

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

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

/* Hero Section */
.hero {
    min-height: 70vh;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12rem 6% 6rem;
}

.hero-content {
    max-width: 900px;
}

.hero .tagline {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 3rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--black);
    line-height: 1.3;
}

.hero p {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto 3rem;
    line-height: 1.9;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid var(--black);
    color: var(--black);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--black);
    color: var(--white);
    opacity: 1;
}

.btn-white {
    border-color: var(--white);
    color: var(--white);
}

.btn-white:hover {
    background: var(--white);
    color: var(--black);
}

/* Sections */
.section {
    padding: 4rem 6%;
}

.section-dark {
    background: var(--black);
}

.section-light {
    background: var(--pale-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    position: relative;
    display: inline-block;
}

.section-title p {
    margin-top: 1rem;
    font-size: 1.1rem;
}

.section-dark .section-title h2 {
    color: var(--white);
}

.section-dark p {
    color: var(--light-gray);
}

/* Section Divider */
.service-divider {
    height: 1px;
    background: var(--border-gray);
    max-width: 1200px;
    margin: 0 auto;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 3rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-family: 'Georgia', serif;
}

.stat-label {
    color: var(--light-gray);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 1300px;
    margin: 0 auto;
}

.service-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.8;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-text h3 {
    color: var(--medium-gray);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.about-text h2 {
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-visual {
    background: transparent;
    width: 100%;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-visual img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Philosophy Section */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.philosophy-item {
    text-align: center;
    padding: 1rem;
}

.philosophy-item h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.philosophy-item p {
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 6rem 6%;
    background: var(--black);
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 550px;
    margin: 0 auto 2.5rem;
}

/* Footer */
.footer {
    background: var(--black);
    padding: 5rem 6% 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
    height: 35px;
    margin-bottom: 1.5rem;
}

.footer-brand .footer-logo-text {
    display: none;
}

.footer-brand p {
    color: var(--light-gray);
    font-size: 0.95rem;
    max-width: 280px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 0.65rem;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
    color: var(--light-gray);
    font-size: 0.8rem;
}

.footer-links a {
    color: var(--light-gray);
    font-size: 0.8rem;
}

.footer-links a:hover {
    color: var(--white);
    opacity: 1;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--medium-gray);
    font-size: 0.85rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-bottom: none;
    }
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 5%;
    }

    .logo {
        display: flex;
        align-items: center;
    }

    .logo img {
        height: 32px;
    }

    .burger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.3s ease;
        z-index: 1000;
    }

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

    .nav-links a {
        font-size: 1rem;
        letter-spacing: 0.15em;
    }

    .hero {
        min-height: auto;
        padding: 10rem 5% 5rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero .tagline {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .services-grid,
    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item,
    .stat-item:nth-child(1),
    .stat-item:nth-child(2),
    .stat-item:nth-child(3) {
        border-bottom: 1px solid rgba(255,255,255,0.15) !important;
        padding: 1.5rem;
    }

    .stat-item:nth-child(4) {
        border-bottom: none !important;
    }

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

    .about-content {
        gap: 2rem;
    }

    .about-visual {
        max-width: 300px;
    }

    .about-text h2 {
        font-size: 1.75rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
    }

    .footer-brand img {
        display: none !important;
    }

    .footer-brand .footer-logo-text {
        display: block !important;
        font-family: Georgia, 'Times New Roman', Times, serif;
        font-size: 1.4rem;
        color: var(--white);
        letter-spacing: -1px;
        margin-bottom: 1.5rem;
    }

    .footer-brand p {
        text-align: center !important;
    }

    .footer-links {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .section {
        padding: 4rem 5%;
    }

    .section-title {
        margin-bottom: 3rem;
    }

    .philosophy-grid {
        gap: 2rem;
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .stat-item {
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .section {
        padding: 5rem 5%;
    }
}
