/* Enhanced Portfolio CSS - Multi-Page Version */

:root {
    --bg-color: #0f172a; /* Clearly Dark Blue */
    --section-bg: #1e293b; /* Slightly Lighter Blue-Gray for sections */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --accent-color: #38bdf8;
    --accent-glow: rgba(56, 189, 248, 0.2);
    --card-bg: rgba(30, 41, 59, 0.7);
    --border-color: rgba(148, 163, 184, 0.2);
    --header-height: 100px;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Outfit:wght@300;500;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Background Texture Mode --- */
.bg-texture {
    background-image: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.6)), url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* --- Navigation --- */

header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-color); /* Same as rest of page */
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
}

.logo img {
    height: 70px;
}

.logo span {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

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

/* --- Hero & Home Page --- */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-height);
}

.hero-logo img {
    height: 180px; /* Large logo for home page */
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px var(--accent-glow));
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Sub-Page Layout --- */

.subpage-header {
    padding: 150px 0 60px;
    background: var(--bg-color);
    text-align: center;
}

.content-section {
    padding: 60px 0 100px;
}

/* --- Cards & Lists --- */

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
}

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

.plus-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
}

.plus-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 18px;
    height: 18px;
    background-image: url('../images/plusplus_10.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
}

/* --- Legal Overlay --- */

#legal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    overflow-y: auto;
    padding: 50px 20px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links a {
    color: var(--accent-color);
    margin: 0 10px;
    text-decoration: none;
}

@media (max-width: 768px) {
    .nav-links { gap: 15px; }
    .nav-links a { font-size: 0.8rem; }
    .hero-content h1 { font-size: 2.5rem; }
}
