/* Brochure Specific Styles */
@import url('style.css');
/* Import main variables and base styles */

:root {
    --sidebar-width: 320px;
    /* Wider sidebar */
    --content-max-width: 1400px;
}

body {
    background-color: var(--bg-dark);
    display: flex;
    flex-direction: row;
    overflow-x: hidden;
    font-size: 18px;
    /* Base font size increase */
}

/* Sidebar Navigation */
.brochure-nav {
    width: var(--sidebar-width);
    height: 100vh;
    background: rgba(13, 17, 23, 0.95);
    border-right: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-header {
    margin-bottom: 3rem;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    display: block;
    margin-bottom: 0.5rem;
}

.nav-back {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.nav-back:hover {
    color: var(--accent-primary);
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 1rem;
    /* Increased from 0.85rem */
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(0, 255, 157, 0.05);
    color: var(--accent-primary);
    border-color: rgba(0, 255, 157, 0.1);
    transform: translateX(5px);
}

/* Main Content Area */
.brochure-main {
    margin-left: var(--sidebar-width);
    flex: 1;
    padding: 4rem 4rem 8rem;
    max-width: calc(100% - var(--sidebar-width));
}

.brochure-section {
    min-height: auto;
    /* Remove fixed min-height to reduce gaps */
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brochure-section:last-child {
    border-bottom: none;
}

/* Typography & Hero */
.section-subtitle {
    font-family: var(--font-mono);
    color: var(--accent-primary);
    font-size: 1rem;
    /* Increased from 0.9rem */
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.hero-title {
    font-size: 6rem;
    /* Massive scale for main title */
    line-height: 1;
    margin-bottom: 2rem;
    color: #fff;
    font-weight: 800;
    letter-spacing: -3px;
    background: linear-gradient(90deg, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: 4.5rem;
    /* Much larger */
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    /* Fix lint */
    -webkit-text-fill-color: transparent;
}

.section-intro {
    font-size: 1.6rem;
    /* Increased from 1.25rem */
    color: var(--text-secondary);
    max-width: 100%;
    line-height: 1.6;
    margin-bottom: 4rem;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    /* Adjusted ratio */
    gap: 3rem;
    align-items: stretch;
    /* Stretch to fill height */
}

/* Technical Detail Box */
.tech-box h3 {
    font-family: var(--font-mono);
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tech-box h3::after {
    content: '';
    height: 1px;
    background: var(--accent-secondary);
    flex: 1;
    opacity: 0.5;
}

.tech-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tech-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    /* More padding */
    border-radius: 12px;
    border-left: 4px solid var(--accent-primary);
    transition: var(--transition-smooth);
    margin-bottom: 1rem;
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.tech-item strong {
    color: var(--accent-primary);
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    /* Increased from 0.95rem */
}

.tech-item p {
    font-size: 1.05rem;
    /* Increased from 0.95rem */
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Sidebar Info Box */
.info-sidebar {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.6), rgba(10, 10, 10, 0.8));
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 2rem;
}

.info-sidebar h4 {
    color: var(--accent-secondary);
    font-family: var(--font-mono);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-transform: uppercase;
}

.info-list {
    list-style: none;
}

.info-list li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1rem;
    /* Increased from 0.9rem */
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-list li::before {
    content: '>';
    color: var(--accent-secondary);
    font-family: var(--font-mono);
    font-weight: bold;
}

/* Footer CTA */
.brochure-footer {
    text-align: center;
    padding: 6rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-quote {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.brochure-cta-btn {
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    background: var(--accent-primary);
    color: #000;
    font-weight: 700;
}

.brochure-cta-btn:hover {
    box-shadow: 0 0 30px var(--accent-glow);
    color: #000;
    transform: translateY(-2px);
}

.footer-meta {
    margin-top: 3rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 1024px) {
    body {
        flex-direction: column;
    }

    .brochure-nav {
        position: relative;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 1rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .nav-header {
        margin-bottom: 0;
    }

    .nav-menu {
        display: none;
        /* Hide menu on mobile/tablet for simplicity, or add toggle */
    }

    .brochure-main {
        margin-left: 0;
        max-width: 100%;
        padding: 2rem;
    }

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

    .info-sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
        /* Reduce from 6rem */
        letter-spacing: -1px;
    }

    .section-title {
        font-size: 2.5rem;
        /* Reduce from 4.5rem */
    }

    .section-intro {
        font-size: 1.1rem;
        /* Reduce from 1.6rem */
        margin-bottom: 2rem;
    }

    .brochure-main {
        padding: 6rem 1.5rem 4rem;
        /* Adjust padding */
    }

    .tech-item {
        padding: 1.5rem;
    }

    .footer-quote {
        font-size: 1.5rem;
    }
}