/* ===================================
   MINIMALIST PERSONAL SITE - DARK THEME
   =================================== */

:root {
    /* Color Palette */
    --bg-primary: #1a1a1a;
    --bg-secondary: #242424;
    --text-primary: #e8e8e8;
    --text-secondary: #a0a0a0;
    --accent-primary: #ff6b35;
    --accent-hover: #ff8c5a;
    --border-color: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 800px;
    margin-left: 40px;
    margin-right: auto;
    padding: 40px 20px;
}

/* ===================================
   NAVIGATION
   =================================== */

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    height: 50px;
    display: block;
    transition: opacity 0.2s ease;
}

.logo img {
    height: 100%;
    width: auto;
    border-radius: 50%;
    object-fit: cover;
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    font-size: 15px;
    transition: color 0.2s ease;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-primary);
    transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* ===================================
   TYPOGRAPHY
   =================================== */

h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--accent-primary);
    margin-top: 50px;
    margin-bottom: 20px;
}

h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

/* ===================================
   SECTIONS
   =================================== */

section {
    margin-bottom: 60px;
}

/* ===================================
   LISTS
   =================================== */

.about-list {
    list-style: none;
    margin-left: 0;
}

.about-list li {
    padding-left: 25px;
    margin-bottom: 12px;
    position: relative;
    color: var(--text-primary);
    font-size: 16px;
}

.about-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
    font-size: 20px;
}

.experience-list {
    list-style: none;
}

.experience-list>li {
    margin-bottom: 30px;
    padding-left: 25px;
    position: relative;
}

.experience-list>li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

.experience-list strong {
    color: var(--accent-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.experience-list ul {
    list-style: none;
    margin-top: 10px;
    margin-left: 0;
}

.experience-list ul li {
    padding-left: 20px;
    margin-bottom: 8px;
    position: relative;
    color: var(--text-secondary);
    font-size: 15px;
}

.experience-list ul li::before {
    content: '◦';
    position: absolute;
    left: 0;
    color: var(--text-secondary);
}

.simple-list {
    list-style: none;
}

.simple-list li {
    padding-left: 25px;
    margin-bottom: 10px;
    position: relative;
    color: var(--text-secondary);
}

.simple-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

/* ===================================
   SKILLS GRID
   =================================== */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.skill-category {
    background-color: var(--bg-secondary);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.skill-category:hover {
    transform: translateY(-2px);
    border-color: var(--accent-primary);
}

.skill-category h3 {
    margin-bottom: 12px;
}

.skill-category p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ===================================
   UTILITIES
   =================================== */

.highlight {
    color: var(--accent-primary);
    font-weight: 600;
}

/* ===================================
   QUICK LINKS (ABOUT PAGE)
   =================================== */

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.quick-link-card {
    background-color: var(--bg-secondary);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.quick-link-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    background-color: #2a2a2a;
}

.quick-link-card h3 {
    color: var(--text-primary);
    font-size: 18px;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.quick-link-card:hover h3 {
    color: var(--accent-primary);
}

.quick-link-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

/* ===================================
   CONTACT PAGE
   =================================== */

.contact-intro {
    margin-bottom: 40px;
}

.contact-intro p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.contact-card {
    background-color: var(--bg-secondary);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: block;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    background-color: #2a2a2a;
}

.contact-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.contact-card h3 {
    color: var(--text-primary);
    font-size: 16px;
    margin-bottom: 8px;
    text-transform: lowercase;
}

.contact-card:hover h3 {
    color: var(--accent-primary);
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

.location-section {
    margin-top: 50px;
}

.location {
    color: var(--text-secondary);
    font-size: 15px;
    margin-top: 20px;
}

.timezone {
    color: var(--text-secondary);
    font-size: 15px;
    margin-top: 10px;
}

/* ===================================
   FOOTER
   =================================== */

footer {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

footer p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 768px) {
    .container {
        margin-left: 20px;
        padding: 30px 20px;
    }

    nav {
        margin-bottom: 40px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 14px;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 20px;
        margin-top: 40px;
    }

    .skills-grid,
    .quick-links-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .logo {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        margin-left: 15px;
    }

    h1 {
        font-size: 28px;
    }

    .logo {
        height: 35px;
    }

    .about-list li {
        font-size: 15px;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 0.6s ease-out;
}

/* ===================================
   SELECTION STYLE
   =================================== */

::selection {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
}

::-moz-selection {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
}