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

:root {
    --primary: #0f766e;
    --primary-dark: #0d5d57;
    --primary-light: #14b8a6;
    --text-dark: #1e293b;
    --text-medium: #475569;
    --text-light: #94a3b8;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --accent: #f59e0b;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

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

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

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

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: 0.2s;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-greeting {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-medium);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-description {
    color: var(--text-medium);
    font-size: 1.05rem;
    max-width: 480px;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.hero-info {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.info-item {
    font-size: 0.9rem;
    color: var(--text-medium);
    font-weight: bold;
}

.info-divider {
    color: var(--text-light);
}

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

.btn {
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

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

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

/* Profile Image */
.profile-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-medium);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

/* About */
.about {
    background: var(--bg-light);
}

.about-content {
    max-width: 900px;
}

.about-text {
    margin-bottom: 2.5rem;
}

.about-text p {
    color: var(--text-medium);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.skills-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.skill-category {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.skill-category h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

.skill-tag {
    background: var(--bg-light);
    color: var(--text-medium);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Experience */
.experience-list {
    max-width: 800px;
}

.experience-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}

.experience-item:first-child {
    padding-top: 0;
}

.experience-date {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

.experience-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.experience-company {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.experience-desc {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Education */
.education {
    background: var(--bg-light);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.education-card {
    background: var(--bg-white);
    padding: 1.75rem;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.education-period {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.education-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.education-school {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.education-focus {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.certifications {
    background: var(--bg-white);
    padding: 1.75rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    max-width: 700px;
}

.certifications h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

/* Projects */
.projects {
    background: var(--bg-white);
    padding: 1.75rem;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.projects h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.project-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

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

.project-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.project-link {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.project-link:hover {
    text-decoration: underline;
}

.project-item p {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.cert-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cert-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.cert-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cert-name {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.cert-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

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

.contact .section-title {
    color: white;
}

.contact .section-subtitle {
    color: var(--text-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    max-width: 900px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1.5rem;
}

.contact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-details h4 {
    font-weight: 400;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 0.4rem;
}

.contact-details a,
.contact-details span {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-details a:hover {
    color: var(--primary-light);
}

.contact-form {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    background: rgba(255,255,255,0.05);
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .btn-primary {
    width: 100%;
}

/* Footer */
.footer {
    background: #0a0f1a;
    padding: 1.5rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-light);
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--primary-light);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        bottom: 0;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        gap: 1.5rem;
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .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(5px, -5px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

    .profile-image img {
        width: 200px;
        height: 200px;
    }

    .hero-cta,
    .hero-info {
        justify-content: center;
    }

    .experience-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .cert-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.25rem;
    }
}

/* Focus states */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}