/* === BASE STYLES & COLOR PALETTE === */
:root {
    --bg-color: #f1f5f9;        /* Soft slate background to break up the white */
    --text-main: #1e293b;       /* Deep slate for high-contrast readability */
    --heading-color: #0f172a;   /* Darker slate for headings */
    --accent-color: #0284c7;    /* Popping accessible blue */
    --accent-hover: #0369a1;    /* Darker blue for hovers */
    --nav-bg: rgba(255, 255, 255, 0.95);
    --card-bg: #ffffff;         /* Pure white cards to float above the background */
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-main);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo {
    font-family: 'Merriweather', serif;
    color: var(--heading-color);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* === NAVIGATION === */
nav {
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

.nav-links li a {
    color: var(--text-main);
    font-weight: 500;
}

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

/* === LAYOUT UTILITIES === */
.container {
    max-width: 1000px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

.page-header {
    text-align: center;
    margin: 60px auto 40px auto;
}

.page-header h1 {
    font-size: 2.5rem;
    letter-spacing: -1px;
}

/* Flex Columns */
.columns {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.col-main {
    flex: 2;
}

.col-side {
    flex: 1;
}

/* === CARDS & BOXES === */
.content-box {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    padding: 40px;
    margin-bottom: 30px;
}

.contact-box {
    background: #e0f2fe; /* Light blue background */
    border: 1px solid #bae6fd;
    border-left: 5px solid var(--accent-color);
    padding: 25px;
    border-radius: 8px;
    margin-top: 40px;
}

.contact-box h3 {
    margin-top: 0;
    color: var(--accent-color);
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white !important;
    border: 1px solid var(--accent-color);
    box-shadow: 0 4px 6px rgba(2, 132, 199, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(2, 132, 199, 0.3);
}

.btn-secondary {
    background-color: #e0f2fe; /* Soft blue background instead of white */
    color: var(--accent-color) !important;
    border: 1px solid #bae6fd;
}

.btn-secondary:hover {
    border-color: var(--accent-color);
    background-color: #bae6fd;
    transform: translateY(-2px);
}

/* === DROPDOWN ABSTRACTS (ACCORDIONS) === */
details {
    background: var(--bg-color);
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px 20px;
    margin-top: 15px;
    transition: background 0.2s ease;
}

details[open] {
    background: white;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

summary {
    font-weight: 600;
    color: var(--accent-color);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
}

summary::before {
    content: '+';
    display: inline-block;
    width: 20px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

details[open] summary::before {
    content: '-';
}

/* === SPECIFIC PAGE TWEAKS === */
.project-title {
    font-size: 1.3rem;
    margin: 0 0 5px 0;
}

.project-title a {
    color: var(--heading-color);
    text-decoration: none;
}

.project-title a:hover {
    color: var(--accent-color);
}

.project-meta {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 15px;
}

/* === FOOTER === */
footer {
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
    color: #64748b;
    border-top: 1px solid #e2e8f0;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .columns {
        flex-direction: column;
    }
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
}
