:root {
    --bg-navy: #0f172a;
    --bg-accent: #1e293b;
    --sky-blue: #38bdf8;
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
    background-color: var(--bg-navy);
    background-image: radial-gradient(circle at top right, var(--bg-accent), var(--bg-navy));
    background-attachment: fixed;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
}

/* --- NAVIGATION --- */
header {
    height: 80px;
    display: flex;
    justify-content: space-between; /* Pushes Brand Left, Nav Right */
    align-items: center;
    padding: 0 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

.brand-name a { 
    color: var(--sky-blue) !important; 
    font-weight: 800; 
    text-decoration: none; 
    font-size: 1.4rem; 
    letter-spacing: 1px; 
}

.nav-links { 
    display: flex; 
    gap: 35px; 
    list-style: none; 
    align-items: center;
}

.nav-links a { 
    color: var(--text-dim); 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 0.95rem; 
    padding: 10px 0; 
    transition: 0.3s; 
}

.nav-links a:hover { color: var(--sky-blue); }

/* --- DROPDOWN (Far Right) --- */
.dropdown { 
    position: relative; 
    padding-bottom: 25px; 
    margin-bottom: -25px; 
} 

.dropdown-menu {
    position: absolute;
    top: 100%; 
    left: 0;        /* Aligns with the left edge of "Projects" */
    right: auto; 
    background: var(--bg-accent);
    display: none;
    list-style: none;
    padding: 15px 0;
    min-width: 180px;
    border: 1px solid var(--sky-blue);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-top: 5px;
}

.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li { padding: 5px 20px; }
.dropdown-menu li a { color: var(--text-main); display: block; padding: 8px 0; font-size: 0.9rem; }

/* --- HERO SECTION --- */
.hero { height: 100vh; display: flex; justify-content: center; align-items: center; text-align: center; }
.hero h1 { font-size: clamp(3.5rem, 10vw, 5.5rem); font-weight: 800; margin-bottom: 10px; color: #fff; }
.hero h2 { color: var(--sky-blue); letter-spacing: 6px; font-size: 1.4rem; margin-bottom: 20px; font-weight: 400; }

/* --- PROJECT PAGE CONTAINER --- */
.container { 
    padding: 140px 10% 80px; 
    max-width: 1000px; 
    margin: 0 auto;
    min-height: 85vh; 
}
.container h1 { color: var(--sky-blue); font-size: 2.5rem; margin-bottom: 10px; }

/* --- HOMEPAGE SECTIONS --- */
.content-section { padding: 120px 10%; max-width: 1000px; margin: 0 auto; }
.content-section h2 { 
    color: var(--sky-blue); 
    margin-bottom: 30px; 
    font-size: 2.2rem; 
    border-bottom: 2px solid var(--sky-blue); 
    display: inline-block; 
}

/* --- BOXES & BUTTONS --- */
.file-grid { display: flex; flex-direction: column; gap: 30px; margin-top: 30px; width: 100%; }
.file-card {
    background: var(--bg-accent);
    padding: 40px; 
    border-radius: 15px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    width: 100%;
    transition: 0.3s ease;
}
.file-card:hover { border-color: var(--sky-blue); transform: translateY(-5px); }

.btn-download {
    display: inline-block;
    background: var(--sky-blue);
    color: #0f172a !important;
    padding: 12px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    margin-top: 15px;
    transition: 0.3s ease;
}

footer { padding: 100px 0; text-align: center; color: var(--text-dim); }
