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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #e8efe6;
    background-color: #0f1a14;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    line-height: 1.2;
    color: #f0f5ee;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: #6db88f;
    margin-bottom: 2rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 26, 20, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(109, 184, 143, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #6db88f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: #8fd4ae;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #c5d8cc;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #6db88f;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #6db88f, #4a90a4);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #c5d8cc;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('jori-hero.jpg') center center / cover no-repeat;
    filter: brightness(0.45);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, #0f1a14 0%, transparent 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 6rem;
}

.hero-name {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #8fd4ae 50%, #4a90a4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-tagline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #c5d8cc;
    font-weight: 300;
}

.hero-scroll {
    margin-top: 2rem;
}

.scroll-indicator {
    color: #6db88f;
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    color: #8fd4ae;
    transform: translateY(-5px);
}

.scroll-indicator span {
    font-size: 0.9rem;
    font-weight: 500;
}

.scroll-arrow {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Sections */
.section {
    padding: 6rem 0;
    position: relative;
}

.section:nth-child(even) {
    background-color: #121f18;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 3rem;
    color: #6db88f;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #6db88f, #4a90a4);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.section-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #b8ccbf;
}

.section-content p:last-child {
    margin-bottom: 0;
}

/* Career Stages */
.career-stage {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(109, 184, 143, 0.05);
    border-radius: 10px;
    border-left: 4px solid #4a90a4;
}

.career-stage:last-child {
    margin-bottom: 0;
}

.career-stage h3 {
    font-size: 1.5rem;
    color: #6db88f;
    margin-bottom: 1rem;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.project-card {
    background: rgba(109, 184, 143, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(109, 184, 143, 0.12);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(74, 144, 164, 0.4);
}

.project-card h3 {
    font-size: 1.8rem;
    color: #6db88f;
    margin-bottom: 1rem;
}

.project-card p {
    margin-bottom: 1rem;
    color: #b8ccbf;
}

.project-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.project-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(74, 144, 164, 0.1);
    color: #4a90a4;
    text-decoration: none;
    border-radius: 25px;
    border: 1px solid rgba(74, 144, 164, 0.3);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.project-link:hover {
    background: rgba(74, 144, 164, 0.2);
    border-color: #4a90a4;
    transform: translateY(-2px);
}

/* Newsletter Signup */
.newsletter-signup {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(109, 184, 143, 0.15);
}

.newsletter-signup h4 {
    color: #6db88f;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(109, 184, 143, 0.25);
    border-radius: 25px;
    background: rgba(109, 184, 143, 0.05);
    color: #e8efe6;
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #6db88f;
    box-shadow: 0 0 0 2px rgba(109, 184, 143, 0.2);
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #4a90a4, #6db88f);
    color: #0f1a14;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Articles */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: rgba(109, 184, 143, 0.05);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(109, 184, 143, 0.1);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-3px);
    border-color: rgba(74, 144, 164, 0.3);
}

.article-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #6db88f;
}

.article-card p {
    color: #b8ccbf;
    font-size: 0.95rem;
}

.article-status {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(74, 144, 164, 0.15);
    color: #4a90a4;
    font-size: 0.8rem;
    border-radius: 15px;
    margin-top: 1rem;
    font-weight: 500;
}

.linkedin-cta {
    text-align: center;
    padding: 2rem;
    background: rgba(109, 184, 143, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(109, 184, 143, 0.1);
}

.linkedin-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 2rem;
    background: #0077b5;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.linkedin-link:hover {
    background: #0088cc;
    transform: translateY(-2px);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: rgba(109, 184, 143, 0.05);
    border: 1px solid rgba(109, 184, 143, 0.1);
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: rgba(74, 144, 164, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-label {
    font-size: 0.9rem;
    color: #8fa898;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-value {
    color: #6db88f;
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: #0a120e;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(109, 184, 143, 0.08);
}

.footer p {
    color: #5a7565;
    font-size: 0.9rem;
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.animate-fade-up:nth-child(2) { animation-delay: 0.2s; }
.animate-fade-up:nth-child(3) { animation-delay: 0.4s; }

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container { padding: 0 1rem; }
    .nav-container { padding: 0 1rem; }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(15, 26, 20, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: right 0.3s ease;
    }

    .nav-menu.active { right: 0; }
    .nav-menu li { margin: 1rem 0; }
    .nav-link { font-size: 1.2rem; }
    .hamburger { display: flex; }

    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }

    .section { padding: 4rem 0; }
    .projects-grid { grid-template-columns: 1fr; }
    .project-card { padding: 2rem; }
    .newsletter-form { flex-direction: column; }
    .career-stage { padding: 1.5rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .articles-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-tagline { font-size: 1.1rem; }
    .section-content p { font-size: 1rem; }
    .project-card { padding: 1.5rem; }
    .contact-item { padding: 1.5rem; }
}
