/* --- GLOBAL SETTINGS --- */
:root {
    /* Dark Mode (Default) - OKLCH */
    --bg-color: oklch(14% 0.02 160);
    --text-color: oklch(92% 0.02 140);
    --accent-color: oklch(82% 0.15 145);
    --card-bg: oklch(20% 0.03 155);
    --nav-bg: oklch(14% 0.02 160 / 95%);
    --border-color: oklch(82% 0.15 145 / 15%);
    --logo-white: #ffffff;
}

body.light-mode {
    /* Light Mode - OKLCH */
    --bg-color: oklch(98% 0.01 160);
    --text-color: oklch(20% 0.02 160);
    --accent-color: oklch(60% 0.2 150);
    --card-bg: oklch(92% 0.01 160);
    --nav-bg: oklch(98% 0.01 160 / 90%);
    --border-color: oklch(60% 0.2 150 / 20%);
    --logo-white: oklch(20% 0.02 160);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}

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

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

.logo {
    font-weight: 600;
    font-size: 24px;
    color: var(--accent-color);
}

.logo span {
    color: var(--logo-white);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 15px;
    transition: 0.3s;
}

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

/* --- DARK MODE TOGGLE --- */
.theme-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--accent-color);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

/* --- HERO --- */
.hero {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background: radial-gradient(circle at center, var(--accent-color) 3%, transparent 70%);
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--accent-color);
    margin-bottom: 20px;
    object-fit: cover;
    box-shadow: 0 0 25px var(--accent-color);
}

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

.hero h1 span {
    color: var(--accent-color);
}

.btn {
    padding: 12px 32px;
    border-radius: 30px;
    background: var(--accent-color);
    color: var(--bg-color);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
}

/* --- GRID & CARDS --- */
section {
    max-width: 1100px;
    margin: auto;
    padding: 30px 0;
}

section h2 {
    font-size: 32px;
    margin-top: 45px;
    margin-bottom: 35px;
    color: var(--accent-color);
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 25px;
}

/* --- ELEMENTS --- */
.skill-title,
.hobby-icon,
.skill-list i,
.contact-icon {
    color: var(--accent-color);
}

.contact-box {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.contact-box a {
    color: var(--accent-color);
    text-decoration: none;
    display: block;
    margin-top: 10px;
}

/* --- BUTTONS --- */
.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.outline-btn {
    background: transparent !important;
    border: 2px solid var(--accent-color);
    color: var(--accent-color) !important;
}

footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid var(--border-color);
    opacity: 0.7;
}

/* DROPDOWN */
.dropdown {
    position: relative;
}

.dropdown-btn {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 35px;
    right: 0;
    background: var(--card-bg);
    border-radius: 8px;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    text-decoration: none;
}