/* Reset & Basic Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Header */
header {
    background-color: #1f1f1f;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
}

.logo h1 a {
    text-decoration: none;
    color: #ffffff;
    font-family: 'Roboto Mono', monospace;
    font-size: 1.3em;
}

.logo h2 a {
    text-decoration: none;
    color: #ffffff;
    font-family: 'Roboto Mono', monospace;
    font-size: 1em;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ff79c6;
}

/* Burger Menu */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    background: url('./assets/images/main-rpaby.pw.webp') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 20px;
}

#hero h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ff79c6;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

#hero p {
    font-size: 1.8em;
    margin-bottom: 30px;
    color: #ffa3d7;
    text-shadow: 3px 3px 4px rgba(0, 0, 0, 2.8),
                 0 0 10px rgba(255, 121, 198, 1.5);
}

.btn {
    background-color: #ff79c6;
    color: #121212;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #ff55a5;
}

/* Sections */
section {
    padding: 100px 0;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
    color: #ff79c6;
    position: relative;
    margin-top: 5px;
}

section h2::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: #ff79c6;
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* About Section */
#about .about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

#about .profile-pic {
    flex: 1 1 300px;
    border-radius: 10px;
    max-width: 100%;
    height: auto;
    display: block;
}

#about .about-text {
    flex: 2 1 500px;
    font-size: 1.1em;
    color: #dcdcdc;
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #ff79c6;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 20px 40px;
    background-color: #1f1f1f;
    position: relative;
    border-radius: 6px;
    width: 50%;
    color: #ffffff;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background-color: #ff79c6;
    border: 4px solid #1f1f1f;
    top: 20px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.left::after {
    left: -13px;
}

.timeline-item.right::after {
    left: -13px;
}

@media screen and (max-width: 768px) {
    .container {
        width: 95%;
        padding: 10px 0;
    }

    .logo {
        max-width: 75%;
    }

    .logo h1 a {
        font-size: 1.1em;
    }

    .logo h2 a {
        font-size: 0.85em;
    }

    header .container {
        padding: 2px;
    }

    #hero h2 {
        margin-top: 40px;
    }

    nav ul {
        position: absolute;
        right: 0;
        height: 100vh;
        top: 60px;
        background-color: #1f1f1f;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }

    nav ul.nav-active {
        transform: translateX(0%);
    }

    nav ul li {
        opacity: 0;
    }

    nav ul li.fade {
        opacity: 1;
        transition: opacity 0.5s ease-in;
    }

    .burger {
        display: block;
    }

    /* Experience Section Mobile Styles */
    .timeline {
        max-width: 100%;
        padding: 0 10px;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item.right {
        left: 0;
    }

    .timeline-item::after {
        left: 18px;
        top: 20px;
    }

    .timeline-item.left::after {
        left: 18px;
    }

    .timeline-item.right::after {
        left: 18px;
    }
}

/* Skills Section */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.skill-item {
    background-color: #1f1f1f;
    padding: 15px 25px;
    border-radius: 25px;
    font-size: 1em;
    color: #ff79c6;
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: scale(1.1);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.project-item {
    background-color: #1f1f1f;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

/* Company Projects specific styles */
.company-project {
    margin-bottom: 20px;
}

.company-project h3 {
    color: #ff79c6;
    padding: 15px;
}

.company-project p {
    padding: 0 15px 15px 15px;
    color: #dcdcdc;
}

.company-project .btn {
    margin: 0 15px 15px 15px;
}

/* Private Projects specific styles */
.private-project {
    display: flex;
    flex-direction: column;
    min-height: 400px;
    font-size: 0.95em;
}

.project-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.private-project h3 {
    color: #ff79c6;
    padding: 15px;
}

.private-project p {
    padding: 0 15px;
    color: #dcdcdc;
    flex-grow: 1;
}

.private-project .btn {
    margin: 15px;
    display: inline-block;
    align-self: flex-start;
}

.project-item:hover {
    transform: translateY(-10px);
}

/* Contact Section */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.contact-content p {
    justify-content: center;
}

.contact-content form {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
}

.contact-content input,
.contact-content textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
}

.contact-content button {
    align-self: flex-start;
}

.podcast {
    flex: 1 1 300px;
}

.podcast audio {
    width: 100%;
    border-radius: 5px;
}

.podcast h3 {
    margin-bottom: 10px;
    font-size: 1.3em;
    color: #ff79c6;
    position: relative;
    margin-top: 5px;
}

/* Footer */
footer {
    background-color: #1f1f1f;
    padding: 20px 0;
    text-align: center;
    color: #dcdcdc;
}

.social-links a {
    color: #ff79c6;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ff55a5;
}

/* Burger Menu Animation */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Navigation Link Fade Animation */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

/* Responsive Styles */