/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333;
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
}

.logo span {
    color: #00bfff;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1.05rem;
}

.nav-links a:hover {
    color: #00bfff;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #00bfff;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px 80px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-title span {
    color: #00bfff;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #00bfff;
    margin-bottom: 2rem;
    font-weight: 500;
}

.tech-stack {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tech-badge {
    background-color: #2a2a3a;
    color: #00bfff;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid #00bfff;
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background-color: #00bfff;
    color: #121212;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.4);
}

.cta-button {
    display: inline-block;
    padding: 14px 35px;
    background-color: #00bfff;
    color: #121212;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #00a0d0;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 191, 255, 0.5);
}

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

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 60px;
    color: #00bfff;
    font-weight: 700;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
    max-width: 800px;
    text-align: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Skills Section */
.skills {
    padding: 100px 20px;
    background-color: #121212;
}

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

.skill-item {
    margin-bottom: 30px;
}

.skill-name {
    font-weight: 600;
    color: #00bfff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.skill-bar {
    height: 12px;
    background-color: #2a2a3a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #00bfff 0%, #0080ff 100%);
    border-radius: 10px;
    transition: width 1.5s ease;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

/* Projects Section */
.projects {
    padding: 100px 20px;
    background-color: #161626;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background-color: #1a1a2e;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2a2a3a;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 191, 255, 0.2);
    border-color: #00bfff;
}

.project-info {
    padding: 25px;
}

.project-title {
    font-size: 1.6rem;
    color: #00bfff;
    margin-bottom: 15px;
    font-weight: 700;
}

.project-desc {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tech-tag {
    background-color: #2a2a3a;
    color: #00bfff;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #00bfff;
}

.project-link {
    display: inline-block;
    color: #00bfff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: #00d9ff;
    transform: translateX(5px);
}

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

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    background-color: #1a1a2e;
    border: 2px solid #2a2a3a;
    border-radius: 10px;
    color: #e0e0e0;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #00bfff;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.3);
    background-color: #1e1e3a;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #888;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
footer {
    background-color: #0a0a0a;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #333;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #1a1a2e;
    color: #00bfff;
    border-radius: 50%;
    margin: 0 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #00bfff;
    font-size: 1.8rem;
}

.social-links a:hover {
    background-color: #00bfff;
    color: #121212;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 191, 255, 0.4);
}

.social-links i {
    font-size: 1.8rem;
}

footer p {
    color: #888;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }
}

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

    .tech-badge {
        padding: 8px 14px;
        font-size: 0.9rem;
    }

    .social-links a {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .social-links i {
        font-size: 1.5rem;
    }
}
