/* ============================================
   Root Variables & Basic Styles
   ============================================ */
:root {
    --primary-color: #FFD700;
    --primary-dark: #FFC700;
    --secondary-color: #FFD700;
    --accent-color: #ff6b35;
    --text-dark: #ffffff;
    --text-light: #b0b0b0;
    --bg-light: #1a1a1a;
    --bg-white: #0d0d0d;
    --bg-secondary: #1a1a1a;
    --border-color: #2a2a2a;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 15px 40px rgba(255, 215, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #0d0d0d;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Navigation Bar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.1);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    margin-top: 70px;
    padding: 80px 20px;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 50%, #1a1a2e 100%);
    color: white;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 72px;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.1;
}

.hero-keywords {
    font-size: 20px;
    font-weight: 600;
    color: #FFD700;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 28px;
    margin-bottom: 15px;
    opacity: 0.95;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.profile-shape {
    width: 400px;
    height: 400px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 3px solid rgba(255, 215, 0, 0.3);
}

.profile-shape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* ============================================
   Section Styles
   ============================================ */
.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 60px;
    text-align: center;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

section {
    padding: 100px 20px;
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: #0d0d0d;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.about-text p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.stat-card {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-card h3 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-card p {
    color: var(--text-light);
    font-size: 16px;
}

/* ============================================
   Skills Section
   ============================================ */
.skills {
    background: #0d0d0d;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.skill-category {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.skill-category:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    background: #252525;
    border-color: rgba(255, 215, 0, 0.3);
}

.skill-category h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.skill-category i {
    color: var(--primary-color);
    font-size: 24px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-color);
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: var(--primary-color);
    color: #0d0d0d;
}

/* ============================================
   Experience Section
   ============================================ */
.experience {
    background: #0d0d0d;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 60px;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 91px;
    top: 100px;
    width: 2px;
    height: 60px;
    background: var(--primary-color);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 68px;
    top: 30px;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px var(--primary-color);
}

.timeline-date {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 16px;
}

.timeline-content {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.timeline-content h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.company {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
}

.timeline-content p:last-child {
    color: var(--text-light);
}

/* ============================================
   Projects Section
   ============================================ */
.projects {
    background: #0d0d0d;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.project-card {
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}

.project-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 30px;
}

.project-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.project-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 50%, #1a1a2e 100%);
    color: white;
    text-align: center;
}

.contact-subtitle {
    font-size: 20px;
    margin-bottom: 50px;
    opacity: 0.95;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.contact-item {
    background: rgba(255, 215, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    min-width: 150px;
}

.contact-item i {
    font-size: 32px;
    color: var(--secondary-color);
}

.contact-item:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.6);
    transform: translateY(-5px);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: #0a0a0a;
    color: var(--text-light);
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 15px;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: var(--shadow);
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .profile-shape {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .timeline-item::before,
    .timeline-item:not(:last-child)::after {
        display: none;
    }

    .timeline-date {
        font-size: 14px;
    }

    .section-title {
        font-size: 36px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .footer .container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .profile-shape {
        width: 300px;
        height: 300px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat-card h3 {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
}
