/* ===========================================
   Minimal Portfolio Styles
   Clean, typography-focused design
   =========================================== */

:root {
    --black: #0a0a0a;
    --gray-dark: #404040;
    --gray-medium: #6b6b6b;
    --gray-light: #d4d4d4;
    --gray-bg: #fafafa;
    --white: #ffffff;
    --accent: #0066cc;
    --accent-light: #e6f2ff;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

a {
    color: var(--black);
    text-decoration: none;
}

/* ===========================================
   Header & Navigation
   =========================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--white);
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

nav {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

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

.nav-links a {
    font-size: 15px;
    color: var(--gray-medium);
    transition: color 0.2s ease;
    font-weight: 400;
}

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

/* ===========================================
   Hero Section
   =========================================== */
.hero {
    padding: 200px 0 120px 0;
}

.intro-text {
    font-size: 18px;
    color: var(--gray-medium);
    margin-bottom: 8px;
    font-weight: 400;
}

.name {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.tagline {
    font-size: 24px;
    color: var(--gray-dark);
    margin-bottom: 24px;
    font-weight: 400;
    max-width: 600px;
}

.seeking {
    font-size: 16px;
    color: var(--gray-medium);
    max-width: 580px;
    line-height: 1.7;
}

/* ===========================================
   Sections
   =========================================== */
section {
    padding: 100px 0;
}

.section-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-medium);
    margin-bottom: 48px;
    font-weight: 600;
}

/* ===========================================
   About Section
   =========================================== */
.about {
    background-color: var(--gray-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
}

.about-main .large-text {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 32px;
    color: var(--gray-dark);
    font-weight: 400;
}

.about-main p {
    font-size: 16px;
    color: var(--gray-dark);
    margin-bottom: 24px;
    line-height: 1.7;
}

.info-block {
    margin-bottom: 40px;
}

.info-block h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    color: var(--gray-medium);
    font-weight: 600;
}

.info-block p {
    font-size: 15px;
    color: var(--black);
    line-height: 1.6;
}

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

.simple-list li {
    font-size: 15px;
    color: var(--black);
    padding: 4px 0;
}

/* ===========================================
   Work/Projects Section
   =========================================== */
.work {
    background-color: var(--white);
}

.project {
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--gray-light);
}

.project:last-child {
    border-bottom: none;
}

.project.secondary {
    opacity: 0.7;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
    gap: 24px;
}

.project-title {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.project-type {
    font-size: 13px;
    color: var(--gray-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    white-space: nowrap;
}

.project-description {
    font-size: 17px;
    color: var(--gray-dark);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 720px;
}

.project-details {
    margin-bottom: 32px;
}

.detail-item {
    margin-bottom: 24px;
}

.detail-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-medium);
    margin-bottom: 8px;
    font-weight: 600;
}

.detail-item p {
    font-size: 15px;
    color: var(--gray-dark);
    line-height: 1.6;
}

.project-links {
    display: flex;
    gap: 32px;
}

.link-arrow {
    font-size: 15px;
    color: var(--accent);
    font-weight: 500;
    transition: transform 0.2s ease;
    display: inline-block;
}

.link-arrow:hover {
    transform: translateX(4px);
}

.project-note {
    font-size: 14px;
    color: var(--gray-medium);
    font-style: italic;
    margin-top: 16px;
}

/* ===========================================
   Skills Section
   =========================================== */
.skills {
    background-color: var(--gray-bg);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.skill-group h3 {
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 600;
}

.skill-group p {
    font-size: 15px;
    color: var(--gray-dark);
    line-height: 1.7;
}

/* ===========================================
   Contact Section
   =========================================== */
.contact {
    background-color: var(--white);
}

.contact-intro {
    font-size: 18px;
    color: var(--gray-dark);
    max-width: 600px;
    margin-bottom: 48px;
    line-height: 1.6;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 600px;
}

.contact-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-light);
    transition: border-color 0.2s ease;
}

.contact-link:hover {
    border-color: var(--accent);
}

.contact-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-medium);
    font-weight: 600;
}

.contact-value {
    font-size: 16px;
    color: var(--black);
    font-weight: 500;
}

/* ===========================================
   Footer
   =========================================== */
footer {
    background-color: var(--gray-bg);
    padding: 60px 0;
    text-align: center;
}

footer p {
    font-size: 14px;
    color: var(--gray-medium);
    margin-bottom: 8px;
}

.footer-note {
    font-size: 13px;
}

/* ===========================================
   Responsive Design
   =========================================== */
@media (max-width: 768px) {
    nav {
        padding: 24px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .nav-links a {
        font-size: 14px;
    }
    
    .hero {
        padding: 140px 0 80px 0;
    }
    
    .name {
        font-size: 48px;
    }
    
    .tagline {
        font-size: 20px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-main .large-text {
        font-size: 20px;
    }
    
    .project {
        margin-bottom: 60px;
        padding-bottom: 60px;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .project-title {
        font-size: 24px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 40px;
    }
    
    .tagline {
        font-size: 18px;
    }
    
    .project-title {
        font-size: 22px;
    }
    
    .section-label {
        margin-bottom: 32px;
    }
}

/* ===========================================
   Utilities
   =========================================== */
::selection {
    background-color: var(--accent-light);
    color: var(--accent);
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}
