/* ===== SOMA CEA Consistent Styling ===== */
:root {
    --gold: #d4af37;
    --gold-light: #f3d572;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --light-text: #f0f0f0;
    --gray-light: #aaa;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
}
/* Header (matching main site) */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    height: 85px;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    z-index: 1000;
    border-bottom: 1px solid rgba(212,175,55,0.3);
}
.logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gold);
    border-radius: 6px;
    position: relative;
}
.logo-icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold);
    border-radius: 8px;
    transform: translate(4px, -4px);
}
.nav-links {
    display: flex;
    gap: 40px;
}
.nav-links a {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 1px;
    transition: 0.3s;
    position: relative;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: 0.3s;
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}
/* Main container */
.container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 40px;
}
.portfolio-title {
    text-align: center;
    margin-bottom: 30px;
}
.portfolio-title h1 {
    font-size: 2.5rem;
    color: var(--gold);
    letter-spacing: 2px;
}
.portfolio-title p {
    color: var(--gray-light);
    font-size: 1.1rem;
}
/* Document viewer layout */
.doc-viewer-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background: rgba(20,20,20,0.6);
    backdrop-filter: blur(4px);
    border-radius: 28px;
    padding: 30px;
    border: 1px solid rgba(212,175,55,0.2);
}
.doc-list {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.doc-list button {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 14px 20px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
    font-size: 1rem;
    text-align: left;
}
.doc-list button:hover {
    background: var(--gold);
    color: #000;
    transform: translateX(5px);
}
.viewer {
    flex: 3;
    min-width: 300px;
    height: 70vh;
    background: #111;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(212,175,55,0.3);
}
iframe {
    width: 100%;
    height: 100%;
    border: none;
}
/* Footer */
.footer {
    background: #030303;
    padding: 40px 40px 20px;
    border-top: 1px solid rgba(212,175,55,0.2);
    margin-top: 60px;
    text-align: center;
}
.footer p {
    color: #aaa;
    font-size: 0.9rem;
}
.footer a {
    color: var(--gold);
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}
/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 0 20px;
        height: 70px;
    }
    .logo {
        font-size: 22px;
    }
    .nav-links {
        gap: 20px;
    }
    .nav-links a {
        font-size: 13px;
    }
    .container {
        padding: 0 20px;
    }
    .doc-viewer-wrapper {
        flex-direction: column;
    }
    .viewer {
        height: 50vh;
    }
}