:root {
    --primary-black: #000000;
    --text-grey: #575757;
    --bg-light: #ffffff;
    --font-main: 'Open Sans', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--primary-black);
    line-height: 1.6;
    overflow-x: hidden; /* Prevents tiny layout shifts during animations */
}

/* --- NAVIGATION SYSTEM --- */

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 5%; 
    position: relative;
    background-color: var(--bg-light);
}

/* Boxed Logo (Neel-style) */
.logo {
    border: 1.5px solid var(--primary-black); 
    padding: 8px 15px;
    font-family: var(--font-heading);
    font-weight: bold;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    text-decoration: none;
    color: var(--primary-black);
}

/* Desktop Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: inherit;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: opacity 0.2s ease;
}

.nav-links a:hover {
    opacity: 0.6;
}

/* Hamburger Toggle Styles */
.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-black); 
    padding: 5px;
    transition: transform 0.2s ease;
}

.menu-toggle:active {
    transform: scale(0.9); /* Subtle press effect */
}

/* Mobile Navigation Logic */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; 
    }

    .nav-links {
        /* Layout */
        display: flex; 
        flex-direction: column;
        position: absolute;
        top: 100%; 
        right: 5%;
        background: var(--bg-light);
        border: 1.5px solid var(--primary-black);
        padding: 20px;
        z-index: 100;
        width: 180px;
        gap: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);

        /* Animation State: Hidden */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px); 
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    }

    /* Animation State: Visible (Triggered by JS) */
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0); 
    }
    
    .nav-links li {
        margin: 0;
        width: 100%;
        text-align: right;
    }
}

/* --- HERO & CONTENT SECTIONS --- */

.hero-section {
    padding: 80px 5%;
    background-color: #f3f3f3;
    text-align: center;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-grey);
}

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

.bio-text {
    font-size: 18px;
    color: var(--text-grey);
}

.bio-text h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-black);
    font-family: var(--font-heading);
}

.bio-text h3 {
    margin-top: 35px;
    margin-bottom: 15px;
    color: #333;
    font-family: var(--font-heading);
    font-size: 1.4rem;
}

/* --- FLEXBOX BIO LAYOUT --- */

.bio-flex-container {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    margin-top: 40px;
}

.bio-image {
    flex: 1;
    max-width: 350px;
}

.bio-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.bio-text {
    flex: 1.5;
}

@media (max-width: 768px) {
    .bio-flex-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .bio-image {
        max-width: 100%;
    }
    
    .bio-text {
        text-align: left;
    }
}

/* --- CREDENTIALS SIDEBAR --- */

.credentials-sidebar {
    margin-top: 30px;
    padding: 25px;
    background-color: #f9f9f9;
    border-left: 3px solid var(--primary-black);
    font-size: 0.9rem;
}

.credentials-sidebar h3 {
    font-size: 0.85rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #000;
}

.credentials-sidebar hr {
    border: 0;
    border-top: 1px solid #ddd;
    margin: 20px 0;
}

/* --- LISTS & TYPOGRAPHY --- */

.bio-text ul {
    list-style: none;
    padding-left: 0;
}

.bio-text li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.bio-text li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #888;
}

/* --- SOCIAL ICONS --- */

.social-icons {
    display: flex;
    gap: 25px;
    margin-top: 40px;
}

.social-icons a {
    font-size: 1.4rem;
    color: #444;
    transition: transform 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.social-icons a:hover {
    color: var(--primary-black);
    transform: translateY(-3px);
}

/* Brand Tones */
.social-icons a[aria-label="LinkedIn"]:hover { color: #0077b5; }
.social-icons a[aria-label="Instagram"]:hover { color: #e4405f; }
.social-icons a[aria-label="Facebook"]:hover { color: #1877f2; }
.social-icons a[aria-label*="X"]:hover { color: #000; }

/* --- FOOTER --- */

footer {
    text-align: center;
    padding: 60px 20px;
    font-size: 11px;
    color: #aaa;
    letter-spacing: 0.5px;
}
