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

:root {
    --primary-color: #ffffff;
    --secondary-color: #b0b0b0;
    --accent-color: #00d4ff;
    --light-bg: #1a1a1a;
    --white: #0d0d0d;
    --border-color: #333333;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--primary-color);
    background-color: #0a0a0a;
    line-height: 1.6;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #111111;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

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

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo a span {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

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

.contact-btn {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 4px;
}

.contact-btn:hover::after {
    width: 0;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 20px;
}

.hero-content {
    flex: 1;
    z-index: 2;
    max-width: 600px;
}

.hero-title {
    font-size: 80px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: #0a0a0a;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--accent-color);
    color: #0a0a0a;
}

.hero-decoration {
    flex: 1;
    position: relative;
    height: 500px;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    background-color: var(--accent-color);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background-color: var(--primary-color);
    top: 50%;
    right: 30%;
    animation-delay: 2s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    background-color: var(--accent-color);
    bottom: 20%;
    right: 5%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(30px);
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.underline {
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 120px 20px;
    background-color: #111111;
}

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

.about-text {
    font-size: 18px;
    color: var(--secondary-color);
    line-height: 1.8;
    margin-bottom: 40px;
}

.skills h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.about-stats {
    display: grid;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-item h4 {
    font-size: 48px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 16px;
    color: var(--secondary-color);
}

/* Portfolio Section */
.portfolio {
    padding: 120px 20px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.portfolio-item {
    cursor: pointer;
}

.portfolio-image {
    height: 400px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-link {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid var(--white);
    padding: 10px 30px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.portfolio-link:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.portfolio-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.portfolio-info p {
    font-size: 16px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.6;
}

.portfolio-tags {
    display: flex;
    gap: 10px;
}

.portfolio-tags span {
    background-color: var(--light-bg);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--secondary-color);
}

/* Career Section */
.career {
    padding: 120px 20px;
    background-color: #111111;
}

.career-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.career-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--accent-color);
}

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

.timeline-item:nth-child(odd) {
    margin-left: 0;
    text-align: right;
    padding-right: 50px;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    text-align: left;
    padding-left: 50px;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--accent-color);
    border: 3px solid var(--white);
    border-radius: 50%;
    top: 0;
    right: -35px;
}

.timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -35px;
}

.timeline-content h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.timeline-content .company {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-content .date {
    font-size: 14px;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.timeline-content .description {
    color: var(--secondary-color);
    line-height: 1.6;
    font-size: 14px;
}

/* Projects Section */
.projects {
    padding: 120px 20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.project-card {
    text-align: center;
    padding: 40px;
    background-color: var(--light-bg);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-10px);
}

.project-icon {
    font-size: 50px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.project-card:hover .project-icon {
    color: var(--accent-color);
}

.project-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.project-card:hover h3 {
    color: var(--white);
}

.project-card p {
    font-size: 14px;
    color: var(--secondary-color);
    line-height: 1.6;
}

.project-card:hover p {
    color: var(--white);
}

/* Contact Section */
.contact {
    padding: 120px 20px;
    background-color: #111111;
}

.contact-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-content > p {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 60px;
    line-height: 1.6;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.contact-item i {
    font-size: 40px;
    color: var(--accent-color);
}

.contact-item h4 {
    font-size: 18px;
    color: var(--primary-color);
}

.contact-item p {
    font-size: 16px;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-decoration {
        display: none;
    }

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

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

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

    .contact-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .career-timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding-left: 60px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-dot {
        left: -35px;
        right: auto;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .nav-link {
        font-size: 12px;
    }

    .nav-menu {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .portfolio-image {
        height: 300px;
    }

    .nav-container {
        height: 60px;
    }

    .nav-menu {
        gap: 15px;
    }

    .hero {
        margin-top: 60px;
    }
}
