/* === RESET & BASE === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #2d5016;
    --color-secondary: #6b8e23;
    --color-accent: #8fbc8f;
    --color-light: #f5f7f0;
    --color-white: #ffffff;
    --color-text: #1a1a1a;
    --color-text-light: #666;
    --color-border: #e0e8da;
    
    --font-display: 'Poppins', sans-serif;
    --font-body: 'Merriweather', serif;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-white);
}

.noise-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' seed='1'/%3E%3C/filter%3E%3Crect width='200' height='200' fill='%23f5f7f0' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* === TYPOGRAPHY === */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-primary);
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

p {
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

/* === HEADER & NAV === */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--color-text);
    font-size: 0.95rem;
    font-family: var(--font-display);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* === SECTIONS === */
main {
    position: relative;
    z-index: 1;
}

section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 0.5rem;
}

.accent-line {
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    margin-top: 1rem;
}

/* === HERO === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(143, 188, 143, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-accent {
    width: 60px;
    height: 4px;
    background: var(--color-accent);
    margin-bottom: 2rem;
}

.hero .title {
    font-size: 1.5rem;
    color: var(--color-secondary);
    font-family: var(--font-display);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero .subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-light);
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

.hero-graphic {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.3;
}

.mountain-icon {
    width: 300px;
    height: 300px;
    color: var(--color-primary);
}

/* === ABOUT === */
.about {
    background: linear-gradient(135deg, rgba(143, 188, 143, 0.05) 0%, rgba(107, 142, 35, 0.05) 100%);
    border-radius: 12px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.about-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.about-card p {
    font-size: 0.95rem;
}

/* === EXPERIENCE === */
.experience {
    background: var(--color-white);
    position: relative;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -13px;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-primary);
    border: 3px solid var(--color-white);
    box-shadow: 0 0 0 3px var(--color-accent);
}

.timeline-content h3 {
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.timeline-content .company {
    font-size: 0.95rem;
    color: var(--color-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content .description {
    font-size: 0.95rem;
}

/* === EDUCATION === */
.education {
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.05) 0%, rgba(143, 188, 143, 0.05) 100%);
    border-radius: 12px;
}

.education-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-accent);
    max-width: 500px;
}

.education-card h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.degree {
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.95rem;
}

.degree-note {
    color: var(--color-accent);
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 0.25rem;
}

/* === SKILLS === */
.skills {
    background: var(--color-white);
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-tag {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
    color: var(--color-white);
    border-radius: 20px;
    font-size: 0.9rem;
    font-family: var(--font-display);
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

/* === CONTACT === */
.contact {
    text-align: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 12px;
    color: var(--color-white);
}

.contact .section-header {
    color: var(--color-white);
}

.contact .section-header h2 {
    color: var(--color-white);
}

.contact .accent-line {
    background: rgba(255, 255, 255, 0.4);
    margin-left: 50%;
    transform: translateX(-50%);
}

.contact p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-white);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-link .icon {
    font-size: 1.2rem;
}

/* === BLOG === */
.blog-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(107, 142, 35, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.blog-hero-content {
    max-width: 1200px;
    width: 100%;
    padding: 0 2rem;
}

.blog-hero h1 {
    margin-bottom: 1rem;
}

.blog-hero p {
    font-size: 1.2rem;
    color: var(--color-text-light);
}

.blog-list {
    max-width: 900px;
    margin: 0 auto;
}

.posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.blog-post-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-accent);
    transition: all 0.3s ease;
}

.blog-post-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.post-date {
    color: var(--color-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.blog-post-card h2 {
    margin-bottom: 1rem;
}

.blog-post-card h2 a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.blog-post-card h2 a:hover {
    color: var(--color-secondary);
}

.post-excerpt {
    color: var(--color-text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.read-more {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--color-secondary);
}

.no-posts {
    text-align: center;
    padding: 4rem 2rem;
}

.no-posts p {
    font-size: 1.1rem;
    color: var(--color-text-light);
}

/* === FOOTER === */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--color-text-light);
    font-size: 0.9rem;
    border-top: 1px solid var(--color-border);
    background: var(--color-light);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    nav ul {
        gap: 1.5rem;
    }

    .hero {
        flex-direction: column;
    }

    .hero-graphic {
        opacity: 0.15;
        margin-top: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .contact-links {
        gap: 1rem;
    }

    .contact-link {
        flex: 1;
        justify-content: center;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    section {
        padding: 3rem 1rem;
    }

    nav {
        padding: 0.75rem 1rem;
    }

    nav ul {
        gap: 1rem;
    }

    nav a {
        font-size: 0.85rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-links {
        flex-direction: column;
    }
}
