/* ===========================
   CSS Reset & Base Styles
   =========================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #0a0a14;
    color: #e8e8e8;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===========================
   Navigation
   =========================== */

.navbar {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    padding: 40px 60px;
}

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

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffd700;
}

/* ===========================
   Hero Section
   =========================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 60px;
    position: relative;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

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

.hero-badge {
    display: inline-block;
    border: 2px solid #ffd700;
    color: #ffd700;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
    border-radius: 50px;
}

.hero-name {
    font-size: 7rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.name-first {
    color: #ffffff;
}

.hero-tagline {
    font-size: 2rem;
    color: #ffffff;
    font-weight: 400;
    line-height: 1.4;
}

.hero-tagline .highlight {
    color: #ffd700;
    font-weight: 600;
}

/* ===========================
   Section Containers
   =========================== */

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 60px;
}

.section-label {
    display: inline-block;
    border: 2px solid #ffd700;
    color: #ffd700;
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 60px;
    border-radius: 50px;
}

/* ===========================
   About Section
   =========================== */

.about {
    background-color: #0a0a14;
    padding: 0;
}

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

.about-greeting {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

.highlight-name {
    color: #ffd700;
}

.about-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #d0d0d0;
}

.bold-text {
    color: #ffd700;
    font-weight: 700;
}

.highlight-text {
    color: #ffd700;
    font-weight: 600;
}

.about-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.btn-outline {
    padding: 14px 36px;
    border: 2px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background-color: #ffffff;
    color: #0a0a14;
}

.btn-filled {
    padding: 14px 36px;
    background-color: #ffd700;
    color: #0a0a14;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    border: 2px solid #ffd700;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-filled:hover {
    background-color: transparent;
    color: #ffd700;
}

/* ===========================
   Skills Section
   =========================== */

.skills {
    background-color: #0a0a14;
}

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

.skills-category {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.category-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skill-item {
    font-size: 1.3rem;
    color: #d0d0d0;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid #1a1a28;
}

/* ===========================
   Projects Section
   =========================== */

.projects {
    background-color: #0a0a14;
}

.project-item {
    margin-bottom: 100px;
}

.project-item:last-child {
    margin-bottom: 0;
}

.project-number {
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 10px;
}

.project-header {
    margin-bottom: 40px;
}

.project-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffd700;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.project-visual {
    width: 100%;
    background-color: #0f0f1a;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.project-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #d0d0d0;
}

.project-tools,
.project-analysis {
    font-size: 1rem;
    color: #d0d0d0;
    line-height: 1.6;
}

.project-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.project-btn {
    padding: 12px 32px;
    border: 2px solid #ffd700;
    color: #ffd700;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.project-btn:hover {
    background-color: #ffd700;
    color: #0a0a14;
}

/* ===========================
   Contact Section
   =========================== */

.contact {
    background-color: #0a0a14;
    padding-bottom: 80px;
}

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

.contact-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

.contact-title .highlight {
    color: #ffd700;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-label {
    font-size: 1.1rem;
    color: #888;
    font-weight: 600;
}

.contact-value {
    font-size: 1.4rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: #ffd700;
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 1200px) {
    .section-container {
        padding: 80px 40px;
    }

    .navbar {
        padding: 30px 40px;
    }

    .hero {
        padding: 80px 40px;
    }

    .hero-name {
        font-size: 5.5rem;
    }

    .hero-tagline {
        font-size: 1.75rem;
    }

    .about-grid {
        gap: 60px;
    }

    .about-greeting {
        font-size: 3.5rem;
    }

    .project-title {
        font-size: 2rem;
    }

    .contact-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 968px) {
    .navbar {
        position: relative;
        padding: 30px 30px;
    }

    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 25px;
    }

    .section-container {
        padding: 60px 30px;
    }

    .hero {
        padding: 60px 30px;
        min-height: auto;
    }

    .hero-name {
        font-size: 4.5rem;
    }

    .hero-tagline {
        font-size: 1.5rem;
    }

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

    .about-greeting {
        font-size: 3rem;
    }

    .skills-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .project-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-number {
        font-size: 3rem;
    }

    .project-title {
        font-size: 1.75rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-title {
        font-size: 3rem;
    }
}

@media (max-width: 640px) {
    .nav-links {
        gap: 20px;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .section-container {
        padding: 50px 20px;
    }

    .hero {
        padding: 50px 20px;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 10px 20px;
    }

    .hero-name {
        font-size: 3rem;
    }

    .hero-tagline {
        font-size: 1.25rem;
    }

    .section-label {
        font-size: 0.75rem;
        padding: 8px 18px;
    }

    .about-greeting {
        font-size: 2.5rem;
    }

    .about-text {
        font-size: 1.05rem;
    }

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

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

    .category-title {
        font-size: 2rem;
    }

    .skill-item {
        font-size: 1.15rem;
    }

    .project-item {
        margin-bottom: 70px;
    }

    .project-number {
        font-size: 2.5rem;
    }

    .project-title {
        font-size: 1.5rem;
    }

    .project-description {
        font-size: 1rem;
    }

    .project-tools,
    .project-analysis {
        font-size: 0.95rem;
    }

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

    .project-btn {
        width: 100%;
    }

    .contact-title {
        font-size: 2.5rem;
    }

    .contact-label {
        font-size: 1rem;
    }

    .contact-value {
        font-size: 1.2rem;
    }
}
