@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #171719;
    color: white;
    font-family: Montserrat, sans-serif;
}

a {
    color: white;
    text-decoration: none;
}

a:hover {
    opacity: 0.8;
}

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

.nav-brand {
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.pages {
    display: flex;
    align-items: center;
}

.pages a {
    padding: 10px;
}

.hero {
    text-align: center;
    padding: 30px 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero h1 {
    font-family: Inter, sans-serif;
    font-size: 75px;
    line-height: 0.75;
    margin-bottom: 20px;
}

.love {
    color: rgb(216, 37, 37);
}

.aboutme {
    padding: 120px 20px 80px 20px;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.profile-pic {
    width: 400px;
    height: 400px;
    border-radius: 12px;
    object-fit: cover;
}

.aboutme-right {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 600px;
}

.aboutme-text {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.9;
}

.aboutme-text h2 {
    margin-bottom: 12px;
}

.spotify-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spotify-label {
    font-size: 16px;
    font-weight: 600;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.spotify-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: #1c1c1e;
    border-radius: 16px;
    padding: 14px 18px;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.spotify-cover {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    background-color: #2c2c2e;
    flex-shrink: 0;
}

.spotify-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
    min-width: 0;
}

.spotify-status {
    font-size: 11px;
    color: #8e8e93;
}

.spotify-card h3 {
    font-size: 15px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spotify-artist {
    font-size: 13px;
    color: #8e8e93;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spotify-time {
    font-size: 11px;
    color: #6e6e73;
    margin-top: 2px;
}

.apiCallExpl {
    font-size: 12px;
    color: #555;
}

.projectsTitle {
    padding-left: 150px;
    padding-top: 50px;
}

.red-line {
    display: inline-block;
    width: 500px;
    height: 4px;
    background: rgb(216, 37, 37);
    margin-left: 10px;
    vertical-align: middle;
}

.projects {
    padding: 20px 20px 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.projects-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.project-card {
    flex: 1;
    min-width: 300px;
    background-color: #1c1c1e;
    border-radius: 18px;
    padding: 25px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(216, 37, 37, 0.15);
    border-color: rgba(216, 37, 37, 0.3);
}

.project-card img,
.project-img {
    width: 100%;
    height: 200px;
    border-radius: 14px;
    margin-bottom: 25px;
    object-fit: cover;
    background-color: #2c2c2e;
}

.project-card h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.project-card p {
    font-size: 16px;
    opacity: 0.8;
    line-height: 1.6;
}

.project-icons {
    display: flex;
    gap: 12px;
    font-size: 16px;
}

.project-icons a {
    color: white;
    opacity: 0.7;
}

.project-icons a:hover {
    opacity: 1;
}

.project-button-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.project-button {
    background-color: #171719;
    border-radius: 12px;
    border: 2px solid white;
    padding: 12px 24px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    transition: 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.project-button:hover {
    background-color: white;
    color: #171719;
}


.skills-section {
    padding: 140px 40px;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 80px;
    flex-wrap: wrap;
}

.skills-left {
    flex: 1;
    min-width: 300px;
}

.skills-left h2 {
    font-family: Inter, sans-serif;
    font-size: 52px;
}

.skills-right {
    flex: 1;
    min-width: 300px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 50px 40px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0.85;
    transition: 0.3s ease;
}

.skill-item:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.skill-item img {
    width: 45px;
    height: 45px;
}

.skill-item span {
    font-size: 14px;
    font-weight: 500;
    color: #a1a1aa;
}

footer {
    padding: 60px 20px 30px 20px;
    background-color: #171719;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-content p {
    font-size: 14px;
    opacity: 0.6;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 14px;
    color: white;
    opacity: 0.6;
    transition: 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: rgb(216, 37, 37);
}

.status-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    margin: 10px auto 0 auto;
    width: fit-content;
    background-color: rgba(39, 174, 96, 0.1);
    border: 1px solid rgba(39, 174, 96, 0.3);
    border-radius: 999px;
    font-size: 14px;
    color: #27ae60;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #27ae60;
    border-radius: 50%;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.projects-lore {
    color: #8e8e93;
    font-size: 20px;
}

.selected a {
    color: white;
}

.not-selected a {
    color: #8e8e93;
}

.not-selected a:hover {
    color: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.5);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(39, 174, 96, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0);
    }
}


@media (max-width: 900px) {
    .aboutme {
        flex-direction: column;
        align-items: center;
    }

    .aboutme-right {
        width: 100%;
    }

    .spotify-card {
        max-width: 100%;
    }
}

@media (max-width: 1100px) {
    .skills-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .skills-section {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .skills-left h2 {
        font-size: 48px;
    }

    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 20px;
    }
}

/* Language Toggle Button */
.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e4e4e7;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lang-btn:hover {
    background: white;
    color: #171719;
    border-color: white;
}