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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid #1a1a1a;
}

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

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00c9ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: #92fe9d;
}

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

.nav-link {
    color: #9ca3af;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #00c9ff;
}

.nav-link.active {
    color: #00c9ff;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(135deg, #00c9ff 0%, #92fe9d 100%);
    transition: width 0.3s ease;
}

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

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #4b5563;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #000000;
    background-image: 
        radial-gradient(circle at top left, rgba(0, 201, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at bottom right, rgba(146, 254, 157, 0.15) 0%, transparent 50%);
    color: white;
    padding: 100px 0 4px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(135deg, #00c9ff 0%, #92fe9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #d1d5db;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #9ca3af;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #00c9ff 0%, #92fe9d 100%);
    color: #000000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 201, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid #00c9ff;
}

.btn-secondary:hover {
    background: #00c9ff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 201, 255, 0.3);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(0, 201, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 201, 255, 0.2);
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    border-color: rgba(146, 254, 157, 0.5);
}

.profile-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #00c9ff 0%, #92fe9d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(0, 201, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 201, 255, 0.2);
    transition: transform 0.3s ease;
}

.profile-placeholder:hover {
    transform: scale(1.05);
}

.initials {
    font-size: 4rem;
    font-weight: 700;
    color: #000000;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #00c9ff, #92fe9d);
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 60px 0;
    background: #0a0a0a;
}

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

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #9ca3af;
    line-height: 1.8;
}

.skills {
    margin-top: 2rem;
    margin-bottom: 0;
    padding-bottom: 3.2rem;
}

.skills h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 600;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0;
}

.skill-tag {
    background: linear-gradient(135deg, #00c9ff 0%, #92fe9d 100%);
    color: #000000;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 201, 255, 0.3);
}

.credentials {
    margin-top: 0;
    padding-top: 3rem;
    border-top: 1px solid #2a2a2a;
}

.credentials h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 600;
}

.credential-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.8rem;
    color: #d1d5db;
    font-size: 1rem;
    line-height: 1.6;
    padding: 0.4rem 0;
}

.credential-item i {
    color: #00c9ff;
    font-size: 1.3rem;
    width: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.credential-item span {
    flex: 1;
}

/* Experience Section */
.experience {
    padding: 60px 0;
    background: #000000;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, #00c9ff 0%, #92fe9d 100%);
}

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

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

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    margin-right: 0;
    padding-left: 2rem;
    text-align: left;
}

.timeline-content {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: #00c9ff;
    box-shadow: 0 10px 30px rgba(0, 201, 255, 0.2);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #00c9ff 0%, #92fe9d 100%);
    border-radius: 50%;
    transform: translateY(-50%);
    border: 3px solid #000000;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -60px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -60px;
}

.timeline-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.company {
    color: #00c9ff;
    font-weight: 500;
    margin-right: 1rem;
}

.period {
    color: #6b7280;
    font-size: 0.9rem;
}

.timeline-content p {
    margin: 1rem 0;
    color: #9ca3af;
    line-height: 1.6;
}

.achievements {
    list-style: none;
    margin-top: 1rem;
}

.achievements li {
    padding: 0.5rem 0;
    color: #9ca3af;
    position: relative;
    padding-left: 1.5rem;
}

.achievements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #92fe9d;
    font-weight: bold;
}

/* Projects Section */
.projects {
    padding: 60px 0;
    background: #0a0a0a;
}

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

.project-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: #00c9ff;
    box-shadow: 0 20px 40px rgba(0, 201, 255, 0.2);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, #00c9ff 0%, #92fe9d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder {
    font-size: 3rem;
    color: rgba(0, 0, 0, 0.3);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.project-content p {
    color: #9ca3af;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: #2a2a2a;
    color: #d1d5db;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #3a3a3a;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: #00c9ff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #92fe9d;
}

/* Contact Section */
.contact {
    padding: 60px 0;
    background: #000000;
}

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

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #9ca3af;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #d1d5db;
}

.contact-item i {
    color: #00c9ff;
    font-size: 1.2rem;
    width: 20px;
}

.email-highlight {
    margin: 3rem 0;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 201, 255, 0.1) 0%, rgba(146, 254, 157, 0.1) 100%);
    border-radius: 12px;
    border: 2px solid rgba(0, 201, 255, 0.3);
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: #00c9ff;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 1rem 2rem;
}

.email-link i {
    font-size: 1.5rem;
    color: #00c9ff;
}

.email-link:hover {
    color: #92fe9d;
    transform: translateY(-2px);
}

.email-link:hover i {
    color: #92fe9d;
}

/* Footer */
.footer {
    background: #0a0a0a;
    color: white;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #1a1a1a;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #9ca3af;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #00c9ff;
    transform: translateY(-2px);
}

.footer p {
    color: #6b7280;
}

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #0a0a0a;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.8);
        padding: 2rem 0;
        border-top: 1px solid #1a1a1a;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .profile-image,
    .profile-placeholder {
        width: 200px;
        height: 200px;
        font-size: 3rem;
    }

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

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

    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -45px;
    }

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

    .email-highlight {
        text-align: left;
    }

    .email-link {
        font-size: 0.9rem;
        display: flex;
        justify-content: flex-start;
    }
    
    .email-link i {
        font-size: 1.125rem;
    }

    .skills {
        padding-bottom: 2.4rem;
    }

    .credentials {
        margin-top: 0;
        padding-top: 2rem;
    }

    .credential-item {
        margin-bottom: 1.25rem;
        font-size: 0.95rem;
    }

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

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

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

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .container {
        padding: 0 15px;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
