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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Main Container */
.main-container {
    min-height: 100vh;
    background: linear-gradient(to right, #1e293b, #0f172a);
    color: white;
    display: grid;
    grid-template-columns: 1fr;
    padding: 20px;
}

/* Sidebar Styles */
.sidebar {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-container {
    padding: 12px;
    background-color: #9d174d;
    border-radius: 50%;
    width: 128px;
    height: 128px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-img {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
}

.name {
    font-weight: 800;
    font-size: 1.875rem;
    margin-top: 16px;
    text-align: center;
}

.title {
    font-weight: 600;
    font-size: 1.25rem;
    text-align: center;
    margin-top: 8px;
}

.intro {
    margin-top: 8px;
    text-align: center;
    line-height: 1.6;
}

.resume-btn {
    background-color: #db2777;
    color: white;
    padding: 8px 16px;
    margin-top: 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.resume-btn:hover {
    background-color: #be185d;
}

/* Navigation Styles */
.nav-container {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
    width: 100%;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.nav-indicator {
    width: 44px;
    height: 4px;
    background-color: #9ca3af;
    border-radius: 4px;
    transition: all 0.3s;
}

.nav-item.active .nav-indicator {
    background-color: white;
    width: 56px;
}

.nav-item:hover .nav-indicator {
    width: 56px;
}

.nav-item a {
    color: #9ca3af;
    text-decoration: none;
    text-transform: capitalize;
    transition: color 0.3s;
}

.nav-item.active a {
    color: white;
}

.nav-item:hover a {
    color: white;
}

/* Social Links */
.social-links {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.social-icon {
    width: 32px;
    height: 32px;
    transition: transform 0.3s, color 0.3s;
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon.github {
    color: #6b7280;
}

.social-icon.github:hover {
    color: #9ca3af;
}

.social-icon.linkedin {
    color: #2563eb;
}

.social-icon.linkedin:hover {
    color: #3b82f6;
}

.social-icon.facebook {
    color: #3b82f6;
}

.social-icon.facebook:hover {
    color: #60a5fa;
}

.social-icon.instagram {
    color: #db2777;
}

.social-icon.instagram:hover {
    color: #ec4899;
}

.social-icon.twitter {
    color: #000000;
}

.social-icon.twitter:hover {
    color: #1f2937;
}

/* Content Container */
.content-container {
    padding: 20px;
    border-radius: 8px;
    overflow-y: auto;
    height: 100vh;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.content-container::-webkit-scrollbar {
    display: none;
}

/* Sections */
.content-section {
    min-height: 350px;
    margin-bottom: 64px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-text {
    margin-top: 8px;
    line-height: 1.6;
}

/* Skills Container */
.skills-container {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background-color: #9d174d;
    padding: 8px 12px;
    border-radius: 9999px;
    font-size: 0.875rem;
}

/* Card Styles */
.card {
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: white;
    margin-bottom: 16px;
}

.card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background-color: #1e293b;
}

.card-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.card-date {
    font-size: 0.875rem;
    color: #9ca3af;
    font-weight: 500;
}

.card-title-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
}

.arrow-icon {
    width: 20px;
    height: 20px;
    color: #9ca3af;
    transition: transform 0.3s;
}

.card:hover .arrow-icon {
    transform: translateX(8px);
}

.card-description {
    margin-top: 16px;
    color: #d1d5db;
    line-height: 1.6;
}

.card-tags {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 4px 8px;
    background-color: #dbeafe;
    color: #1e40af;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
}

/* Project Card Styles */
.project-card .project-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.project-thumbnail {
    width: 100%;
    max-width: 300px;
    height: 160px;
    border-radius: 8px;
    object-fit: contain;
}

.project-details {
    display: flex;
    flex-direction: column;
}

/* Final Resume Button */
.final-resume {
    margin-bottom: 64px;
    text-align: center;
}

.view-resume-btn {
    background-color: #3b82f6;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s;
    display: inline-block;
}

.view-resume-btn:hover {
    background-color: #2563eb;
}

/* Airplane Animation */
.airplane-container {
    position: fixed;
    top: 50%;
    left: 0;
    font-size: 2rem;
    transition: transform 0.5s ease-out;
    z-index: 1000;
    pointer-events: none;
}

/* Bubbles */
.bubbles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 999;
}

.bubble {
    position: absolute;
    bottom: -50px;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: floatUp 10s infinite ease-in-out;
    cursor: pointer;
    pointer-events: auto;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) scale(0.8);
    }
    100% {
        transform: translateY(-100vh) scale(1.2);
    }
}

.bubble:nth-child(1) {
    left: 10%;
    animation-duration: 6s;
    width: 25px;
    height: 25px;
}

.bubble:nth-child(2) {
    left: 50%;
    animation-duration: 4s;
    width: 15px;
    height: 15px;
}

.bubble:nth-child(3) {
    left: 80%;
    animation-duration: 7s;
    width: 20px;
    height: 20px;
}

@keyframes burst {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.burst {
    animation: burst 0.3s forwards;
}

/* Responsive Design */
@media (min-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr 1fr;
    }

    .sidebar {
        align-items: flex-start;
    }

    .name,
    .title,
    .intro {
        text-align: left;
    }

    .card-header {
        grid-template-columns: 1fr 3fr;
    }

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

@media (min-width: 768px) {
    .card-header {
        grid-template-columns: 1fr 3fr;
    }
}