/* style.css - Crisp & Institutional Theme */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #f8f8f8; /* marble white  text */
    margin: 0;
    background-color: #070738; /* dark blue background */
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* --- Header & Navigation --- */
header {
    background-color: #070738;
    padding: 1.5rem 0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    border-bottom: 3px solid #0f172a; /* Deep navy anchor line */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo-link {
    font-size: 1.6rem;
    font-weight: 700;
    color: #f8f8f8; /* marble white */
    text-decoration: none;
    letter-spacing: -0.5px;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav a {
    text-decoration: none;
    color: #b0b0c8; /* Light slate */
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    text-transform: uppercase; /* More formal, institutional feel */
    letter-spacing: 0.5px;
}

nav a:hover {
    color: #7c8fff; /* Lighter blue */
}

nav a.active {
    color: #f8f8f8;
    font-weight: 700;
    border-bottom: 2px solid #7c8fff;
    padding-bottom: 4px;
}

/* --- Sections & Cards --- */
.section {
    margin: 2.5rem 0;
    padding: 2.5rem;
    background: #070738;
    border-radius: 4px; /* Sharper corners, less bubbly */
    border: 1px solid #1a1a3e;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -1px rgba(15, 23, 42, 0.03);
}

h2 {
    font-size: 1.4rem;
    color: #f8f8f8;
    border-bottom: 2px solid #1a1a3e;
    padding-bottom: 0.5rem;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

h3 {
    color: #f8f8f8;
}

a {
    color: #7c8fff;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
    color: #9ca3ff;
}

/* --- Gallery Grid (Specific to gallery.html) --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    background: #070738;
    border-radius: 4px;
    border: 1px solid #1a1a3e;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #1a1a3e;
}

.gallery-caption {
    padding: 1rem;
    color: #b0b0c8;
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- Resume Styling (Specific to resume.html) --- */
.resume-entry {
    margin-bottom: 2rem;
}

.resume-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.resume-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #f8f8f8;
}

.resume-company {
    font-weight: 600;
    color: #7c8fff;
}

.resume-date {
    color: #b0b0c8;
    font-size: 0.95rem;
    white-space: nowrap;
    font-weight: 500;
}
