/* GLOBAL */
body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    background: radial-gradient(circle at center, #111 0%, #000 80%);
    color: #fff;
}

/* NAVBAR */
.navbar {
    background: linear-gradient(90deg, #ff9acb, #ff6bb0);
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: black;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: black;
    text-decoration: none;
    font-weight: bold;
}

.nav-links a:hover,
.nav-links a.active {
    border-bottom: 2px solid black;
    padding-bottom: 2px;
}

/* HERO */
.hero {
    text-align: center;
    padding: 50px 20px 60px;
}

.hero h1 {
    font-size: 2rem;
    margin: 0;
}

.hero p {
    font-size: 1.4rem;
    margin-top: 10px;
    color: #ff9acb;
}

/* MAIN LAYOUT */
.landing {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0px 20px 80px;
}

/* UNIVERSAL SECTION CARD */
.section-card {
    display: flex;
    align-items: center;
    gap: 25px;
    max-width: 850px;
    width: 100%;
    background: #111;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #333;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.section-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(255, 105, 180, 0.4);
}

/* Accent bar */
.accent {
    width: 8px;
    height: 100%;
    background: linear-gradient(180deg, #ff9acb, #ff6bb0);
    border-radius: 4px;
}

/* Text inside cards */
.section-text h2 {
    margin: 0;
    font-size: 2rem;
}

.section-text p {
    margin-top: 10px;
    font-size: 1.1rem;
    color: #ccc;
}

/* Pink links inside cards */
.section-text a {
    color: #ff6bb0;
    font-weight: bold;
    text-decoration: none;
}

.section-text a:hover {
    color: #ff9acb;
    text-decoration: underline;
}

/* ABOUT SECTION */
.about {
    max-width: 800px;
    text-align: center;
    margin-top: 40px;
}

.about h2 {
    font-size: 2rem;
}

.about p {
    margin-top: 10px;
    font-size: 1.2rem;
    color: #ccc;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 20px;
    background: #111;
    border-top: 1px solid #333;
    color: #aaa;
}

/* PAGE-SPECIFIC LAYOUTS */
.projects-section,
.compiler-section,
.lossless-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

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

.skill-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.skill-list li {
    padding: 6px 0;
    font-size: 1.1rem;
    color: #ccc;
}

/* MOBILE */
@media (max-width: 768px) {

    .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    .section-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .accent {
        width: 100%;
        height: 6px;
    }

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

    .hero p {
        font-size: 1.1rem;
    }
}
