/* ---------- VARIABLES ---------- */
:root {
    
    --bg: #ffffff;
    --bg-gradient: radial-gradient(circle at 20% 20%, rgba(201,165,76,0.08), transparent 60%),
                   radial-gradient(circle at 80% 0%, rgba(201,165,76,0.05), transparent 60%);
    --text: #111111;
    --accent: #c9a54c;
    --muted: #666;
    --max-width: 900px;
}

[data-theme="dark"] {
    --bg: #0f1115;
    --bg-gradient: radial-gradient(circle at 20% 20%, rgba(212,175,55,0.12), transparent 60%),
                   radial-gradient(circle at 80% 0%, rgba(212,175,55,0.08), transparent 60%);
    --text: #e6e6e6;
    --muted: #aaa;
    --accent: #d4af37;
}

[data-theme="dark"] .section {
    background: rgba(15,17,21,0.6);
}

/* ---------- GLOBAL ---------- */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
    background: var(--bg);
    background-color: var(--bg);
    background-image: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.6;
}

/* prevents header overlap when scrolling */
section {
    scroll-margin-top: 100px;
}

/* ---------- NAVBAR ---------- */
header {
    position: sticky;
    top: 0;
    background: var(--bg);
    border-bottom: 2px solid rgba(200,170,80,0.2);
    z-index: 1000;
}

nav {
    max-width: var(--max-width);
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

nav h1 {
    font-size: 18px;
    font-weight: 500;
    padding-right: 20px;
}

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

nav a {
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
}

nav a:hover {
    color: var(--accent);
}

#theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

#icon {
    width: 20px;
    height: 20px;
    display: block;
}

/* ---------- SECTIONS ---------- */
.section {
    min-height: 80vh;
    display: flex;
    align-items: center
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(6px);
}

.nav-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.nav-icon {
    width: 24px;
    height: 24px;
}
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 80px;
    padding-right: 80px;
}

/* ---------- TYPOGRAPHY ---------- */
h2 {
    font-weight: 500;
    margin-bottom: 20px;
    border-left: 4px solid var(--accent);
    padding-left: 12px;
}

h3 {
    margin-top: 30px;
    font-weight: 500;
}

p {
    color: var(--muted);
    text-align: justify;
}

ul {
    padding-left: 18px;
}

/* ---------- HERO ---------- */
.hero-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* IMAGE */
.hero-image img {
    width: 220px;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(200,170,80,0.3);
}

/* TEXT */
.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: 34px;
    margin-bottom: 10px;
}

.hero-text h2 {
    font-size: 20px;
    font-weight: 400;
    border-left: 4px solid var(--accent);
    padding-left: 10px;
    margin-bottom: 20px;
}

.hero-text p {
    margin-bottom: 15px;
}

#experience {
    display: flex;
    gap: 40px;
}

@media (max-width: 768px) {
    .hero-flex {
        flex-direction: column;
        text-align: left;
    }

    .hero-image img {
        width: 180px;
        height: auto;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    p {
        text-align: justify;
    }
    #experience {
        flex-direction: column;
    }
    nav ul {
        flex-wrap: wrap;
        gap: 10px;
    }
}
/* ---------- LINKS ---------- */
a {
    color: var(--accent);
}

/* ---------- FOOTER ---------- */
footer {
    text-align: center;
    padding: 40px;
    color: var(--muted);
}
