﻿@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Lato:wght@400;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

:root {
    --bg-primary: #1a1a1a;
    --bg-secondary: #0f0f0f;
    --text-primary: #d0d0d0;
    --text-secondary: #b0b0b0;
    --text-dark: #333;
    --accent: #00a8e8;
    --border: rgba(255, 255, 255, 0.1);
}

body.light-mode {
    --bg-primary: #f5f5f5;
    --bg-secondary: #e8e8e8;
    --text-primary: #333;
    --text-secondary: #555;
    --text-dark: #d0d0d0;
    --border: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    background: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===== Header & Navigation ===== */
header {
    background: transparent;
    padding: 30px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
    filter: brightness(1) contrast(1);
    transition: all 0.3s ease;
    border-radius: 8px;
}

.logo-img:hover {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.1);
    box-shadow: 0 0 15px rgba(0, 168, 232, 0.3);
}

body.light-mode .logo-img {
    filter: brightness(0.95) contrast(1.05);
}

body.light-mode .logo-img:hover {
    filter: brightness(1) contrast(1.1);
}

.hamburger {
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: var(--accent);
    transition: all 0.3s ease;
}

nav {
    position: absolute;
    top: 80px;
    right: 40px;
    z-index: 1001;
}

nav ul {
    list-style: none;
    display: none;
    flex-direction: column;
    gap: 20px;
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 5px;
    border: 1px solid var(--border);
    transition: background-color 0.3s ease;
}

nav ul.active {
    display: flex;
}

nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.language-switch {
    border-top: 1px solid var(--border);
    padding-top: 15px;
    margin-top: 15px;
}

.lang-toggle {
    display: block;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 1px;
}

.theme-toggle {
    display: block;
}

/* ===== Hero Section ===== */
.hero {
    margin-top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
    padding-top: 80px;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    padding: 0 40px;
    margin: 0 auto;
}

.hero-image {
    width: 500px;
    height: 500px;
    background-image: url('profile.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f0f0f0;
    position: relative;
    filter: brightness(0.92) contrast(1.1) grayscale(5%);
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(26, 26, 26, 0.2) 100%);
    pointer-events: none;
    border-radius: 50%;
}

.hero-image::after {
    display: none;
}

.hero-text {
    position: relative;
    z-index: 10;
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -2px;
}

body.light-mode .hero-text h1 {
    color: #333;
}

.hero-text .first-name {
    font-size: 40px;
    font-style: italic;
    font-weight: 400;
    display: block;
    margin-bottom: 20px;
}

.hero-text .subtitle {
    font-size: 13px;
    color: #00a8e8;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 30px;
}

.hero-contact {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.hero-contact p {
    font-size: 13px;
    margin-bottom: 12px;
    color: #b0b0b0;
}

.hero-contact a {
    color: #00a8e8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-contact a:hover {
    color: #fff;
}

/* ===== Section Styles ===== */
section {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
    background: #1a1a1a;
}

section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    color: #fff;
}

body.light-mode section h2 {
    color: #333;
}

section .subtitle {
    font-size: 16px;
    color: #888;
    margin-bottom: 60px;
    font-weight: 400;
}

.section-header {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
}

.section-number {
    font-family: 'Playfair Display', serif;
    font-size: 120px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    min-width: 140px;
}

/* ===== About Section ===== */
.about {
    background: #1a1a1a;
}

.about-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 80px;
    align-items: flex-start;
}

.about-number {
    font-family: 'Playfair Display', serif;
    font-size: 200px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    line-height: 0.8;
    margin-bottom: 20px;
}

.about-labels {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-label {
    font-size: 11px;
    color: #00a8e8;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
}

.about-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    margin: 30px 0 20px 0;
    color: #fff;
}

.about-text p {
    font-size: 14px;
    color: #b0b0b0;
    margin-bottom: 20px;
    line-height: 1.9;
}

/* ===== Experience Section ===== */
.experience {
    background: #1a1a1a;
}

.experience-timeline {
    position: relative;
    padding-left: 40px;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #00a8e8, transparent);
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -48px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: #00a8e8;
    border-radius: 50%;
    border: 3px solid #1a1a1a;
}

.timeline-date {
    font-size: 12px;
    color: #00a8e8;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.timeline-item .company {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
}

.timeline-item p {
    font-size: 13px;
    color: #b0b0b0;
    line-height: 1.8;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.skills-list span {
    background: rgba(0, 168, 232, 0.1);
    color: #00a8e8;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

/* ===== Education Section ===== */
.education {
    background: #1a1a1a;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.education-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.education-year {
    font-size: 12px;
    color: #00a8e8;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 12px;
}

.education-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.education-item .institution {
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
}

.education-item .thesis {
    font-size: 13px;
    color: #b0b0b0;
    line-height: 1.8;
}

/* ===== Skills Section ===== */
.skills {
    background: #1a1a1a;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.skill-category {
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.skill-category h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: #00a8e8;
    margin-bottom: 15px;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    font-size: 13px;
    color: #b0b0b0;
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
}

.skill-category li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #00a8e8;
}

.languages-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 40px;
}

.languages-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
}

.language-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.language-item h4 {
    font-size: 14px;
    color: #00a8e8;
    font-weight: 700;
    margin-bottom: 8px;
}

.language-item p {
    font-size: 13px;
    color: #b0b0b0;
}

/* ===== Contact Section ===== */
.contact-section {
    background: #1a1a1a;
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-transform: capitalize;
}

.form-group input,
.form-group textarea {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #d0d0d0;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(208, 208, 208, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 168, 232, 0.5);
    box-shadow: 0 0 10px rgba(0, 168, 232, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    font-size: 14px;
}

.contact-form .submit-btn {
    padding: 15px 40px;
    background: #0084ff;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.contact-form .submit-btn:hover {
    background: #0073e6;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 132, 255, 0.3);
}

.contact-item p {
    font-size: 14px;
    color: #d0d0d0;
}

/* ===== Footer ===== */
footer {
    background: #0f0f0f;
    color: #666;
    padding: 40px;
    text-align: center;
    font-size: 14px;
}

.footer-social {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #666;
    transition: all 0.3s ease;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.footer-social a:hover {
    color: #00a8e8;
    background: rgba(0, 168, 232, 0.1);
    transform: translateY(-3px);
}

body.light-mode footer {
    background: #e8e8e8;
}

body.light-mode .footer-social a {
    color: #888;
    background: rgba(0, 0, 0, 0.05);
}

body.light-mode .footer-social a:hover {
    color: #0084ff;
    background: rgba(0, 132, 255, 0.1);
}

/* ===== Light Mode Styles ===== */
body.light-mode {
    background: #f5f5f5;
}

body.light-mode .hero {
    background: #f5f5f5;
}

body.light-mode section {
    background: #f5f5f5;
}

body.light-mode .about-text h3,
body.light-mode .about-text p,
body.light-mode .timeline-item h3,
body.light-mode .timeline-item p,
body.light-mode .education-item h3,
body.light-mode .education-item p,
body.light-mode .skill-category h3,
body.light-mode .skill-category li,
body.light-mode .contact-form label {
    color: #333;
}

body.light-mode .about-text p,
body.light-mode .timeline-item .company,
body.light-mode .timeline-item p,
body.light-mode .education-item .institution,
body.light-mode .education-item .thesis,
body.light-mode .skill-category li,
body.light-mode .language-item p {
    color: #555;
}

body.light-mode .education-item,
body.light-mode .skill-category,
body.light-mode .languages-section {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .form-group input,
body.light-mode .form-group textarea {
    background: rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: #333;
}

body.light-mode .form-group input::placeholder,
body.light-mode .form-group textarea::placeholder {
    color: rgba(51, 51, 51, 0.5);
}

body.light-mode .form-group input:focus,
body.light-mode .form-group textarea:focus {
    background: rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 168, 232, 0.5);
}

body.light-mode footer {
    background: #e8e8e8;
    color: #555;
}

body.light-mode .about-label,
body.light-mode .timeline-date,
body.light-mode .education-year,
body.light-mode .skill-category h3,
body.light-mode .language-item h4 {
    color: #0084ff;
}

body.light-mode .section-number,
body.light-mode .about-number {
    color: rgba(0, 0, 0, 0.08);
}

body.light-mode .hero-contact {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .hero-contact p {
    color: #555;
}

body.light-mode .hero-contact a {
    color: #0084ff;
}

body.light-mode .hero-contact a:hover {
    color: #333;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }

    .hero {
        padding-top: 120px;
        min-height: auto;
    }

    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 0 20px;
        flex-direction: column;
    }

    .hero-image {
        width: 350px;
        height: 350px;
        order: -1;
        filter: brightness(0.9) contrast(1.05);
        border-radius: 50%;
        margin: 20px auto 0;
    }

    .hero-text {
        order: 1;
    }

    .hero-text h1 {
        font-size: 48px;
    }

    .hero-text .first-name {
        font-size: 28px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-number {
        font-size: 120px;
    }

    .section-header {
        flex-direction: column;
        gap: 20px;
    }

    section {
        padding: 60px 20px;
    }
}
