:root {
    --primary-color: #60a5fa;
    --secondary-color: #3b82f6;
    --accent-color: #f472b6;
    --background-color: #111827;
    --secondary-background: #1f2937;
    --text-color: #f3f4f6;
    --light-gray: #374151;
    --dark-gray: #9ca3af;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo img {
    width: 48px;
    height: 48px;
    transition: var(--transition-smooth);
}

.logo:hover img {
    transform: scale(1.1);
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
}

.logo-text span {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 500;
}

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

.nav-links a {
    position: relative;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition-smooth);
    padding: 0.5rem 1rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-bg.svg');
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    padding: 3rem;
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 1.5rem;
    border: 1px solid rgba(96, 165, 250, 0.1);
    box-shadow: var(--card-shadow);
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.cta-primary, .cta-secondary {
    padding: 1rem 2.5rem;
    border-radius: 0.8rem;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.cta-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

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

.cta-primary:hover, .cta-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.2);
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--background-color);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--dark-gray);
}

.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.highlight-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--secondary-background);
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
}

.highlight-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Experience Section */
.experience {
    padding: 6rem 0;
    background-color: var(--light-gray);
}

.experience h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(96, 165, 250, 0.1),
        rgba(96, 165, 250, 0.5),
        rgba(96, 165, 250, 0.1)
    );
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
    width: 100%;
}

.timeline-content {
    position: relative;
    width: calc(50% - 30px);
    padding: 2rem;
    background: var(--secondary-background);
    border-radius: 1rem;
    border: 1px solid rgba(96, 165, 250, 0.1);
    transition: var(--transition-smooth);
}

.timeline-item:nth-child(odd) .timeline-content {
    left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    left: calc(50% + 30px);
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -40px;
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -40px;
    transform: translateY(-50%);
}

.timeline-date {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(96, 165, 250, 0.1);
    border-radius: 2rem;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.timeline-content h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.timeline-content p {
    color: var(--dark-gray);
    margin-bottom: 0;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.timeline-content li {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.timeline-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
    border-color: var(--primary-color);
}

/* Skills Section */
.skills {
    padding: 6rem 0;
    background-color: var(--background-color);
}

.skills h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.skill-category {
    padding: 2rem;
    background-color: var(--secondary-background);
    border-radius: 1.5rem;
    transition: var(--transition-smooth);
    border: 1px solid rgba(96, 165, 250, 0.1);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 0;
}

.skill-category:hover {
    transform: translateY(-5px);
}

.skill-category:hover::before {
    opacity: 0.1;
}

.skill-category h3 {
    position: relative;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    z-index: 1;
}

.skill-category ul {
    position: relative;
    list-style: none;
    z-index: 1;
}

.skill-category li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.skill-category li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    opacity: 0.8;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: var(--light-gray);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background-color: var(--secondary-background);
    border-radius: 1.5rem;
    transition: var(--transition-smooth);
    border: 1px solid rgba(96, 165, 250, 0.1);
    text-decoration: none;
    color: var(--text-color);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
    border-color: var(--primary-color);
    background-color: rgba(96, 165, 250, 0.1);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-info p {
    color: var(--text-color);
    font-size: 1rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: var(--secondary-background);
    color: var(--dark-gray);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(96, 165, 250, 0.1);
}

footer p {
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        padding: 2rem;
        margin: 0 1rem;
    }

    .nav-links {
        display: none;
    }

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

    .contact-item {
        padding: 1.5rem;
    }

    .timeline::before {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        left: 60px !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -40px;
        transform: translateY(-50%);
    }

    .logo-text {
        display: none;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}
