
/* ============================
   GLOBAL
   ============================ */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: #05010a;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}


/* ============================
   NAVBAR
   ============================ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: linear-gradient(
        to bottom,
        rgba(5, 1, 10, 0.85),
        rgba(5, 1, 10, 0.65),
        rgba(5, 1, 10, 0.35)
    );
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.logo {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
}

#navbar-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 140px;
    height: 32px;
    position: relative;
    overflow: visible;
}

#navbar-logo {
    cursor: pointer;
    filter: drop-shadow(0 0 12px rgba(160, 32, 240, 0.7));
    transform-origin: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 24px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #cccccc;
    font-size: 0.95rem;
    letter-spacing: 0.6px;
    position: relative;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #a020f0, #00aaff);
    box-shadow: 0 0 12px rgba(160, 32, 240, 0.7);
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-icon-button {
    background: transparent;
    border: none;
    color: #cccccc;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    line-height: 1;
    min-width: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.nav-icon-button:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    transform: translateY(-1px);
}


/* ============================
   FEATURED PROJECTS
   ============================ */

.featured-projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    padding: 40px 60px;
}

.fp-card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 22px rgba(0, 0, 0, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 32px rgba(160, 32, 240, 0.6);
}

.fp-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.fp-info {
    padding: 20px;
}

.fp-info h3 {
    margin: 0 0 10px;
    font-size: 1.3rem;
    color: #ffffff;
}

.fp-info p {
    margin: 0;
    color: #cccccc;
    font-size: 0.95rem;
}

.fp-loading {
    grid-column: span 3;
    text-align: center;
    padding: 40px;
    color: #aaaaaa;
    font-size: 1.1rem;
}

.fp-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
}

.featured-title-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 40px 60px 20px;
}

.featured-title {
    animation: featuredTitleIn 0.8s ease forwards;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 40px 60px 20px;
    color: #ffffff;
    background: linear-gradient(90deg, #a020f0, #00aaff);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow:
        0 0 18px rgba(160, 32, 240, 0.5),
        0 0 28px rgba(0, 170, 255, 0.4);
}

.featured-dot {
    animation: featuredDotPulse 2.4s ease-in-out infinite;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
}