/* ==========================================================================
   Daniel Efaw - Skills Page
   Shares the visual language of the main portfolio (danielefaw.com):
   dark cosmic gradient background, cyan/violet/pink accent system.
   ========================================================================== */

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

html, body {
    scroll-behavior: smooth;
    cursor: default;
    -webkit-font-smoothing: antialiased;
    -moz-osx-text-rendering: luxury;
    height: 100%;
}

::selection {
    background: rgba(79, 172, 254, 0.3);
    color: #ffffff;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #050505 0%, #0a0a1a 30%, #1a0f2e 60%, #2d1b4e 100%);
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Navbar (matches main site) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.navbar-brand a:hover {
    color: #4facfe;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
}

.navbar-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.navbar-nav a:hover {
    color: #4facfe;
}

/* Mobile nav toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.navbar-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.navbar-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Skills Page Layout
   ========================================================================== */

.skills-page {
    flex: 1;
    padding: 130px 20px 80px;
    position: relative;
}

.skills-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 15%, rgba(79, 172, 254, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(255, 105, 180, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.skills-page .container {
    position: relative;
    z-index: 1;
}

.skills-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.skills-eyebrow {
    display: inline-block;
    padding: 0.4rem 1.1rem;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.2) 0%, rgba(138, 43, 226, 0.2) 100%);
    border: 1px solid rgba(79, 172, 254, 0.35);
    color: #4facfe;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.skills-heading {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 0.9rem;
    background: linear-gradient(135deg, #ffffff 0%, #4facfe 40%, #8a2be2 80%, #ff69b4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.skills-subheading {
    font-size: 1.1rem;
    color: #b0b0b0;
    line-height: 1.7;
}

/* ==========================================================================
   Skill Category Cards
   ========================================================================== */

.skill-category {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(16px);
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(79, 172, 254, 0.06);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    transition: border-color 0.3s ease;
}

.skill-category:hover {
    border-color: rgba(79, 172, 254, 0.55);
}

.skill-category-header {
    margin-bottom: 1rem;
}

.skill-category-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.skill-tag {
    padding: 0.4rem 0.9rem;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.25) 0%, rgba(138, 43, 226, 0.25) 100%);
    color: #4facfe;
    border-radius: 25px;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid rgba(79, 172, 254, 0.3);
    white-space: nowrap;
}

.skill-category-body p {
    font-size: 1rem;
    color: #c8c8c8;
    line-height: 1.8;
}

.skill-proof {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    line-height: 1.9;
}

.skill-proof-label {
    color: #808080;
    font-weight: 600;
    margin-right: 0.4rem;
}

.skill-proof a {
    color: #4facfe;
    text-decoration: none;
    font-weight: 600;
}

.skill-proof a:hover {
    text-decoration: underline;
}

.skills-disclaimer {
    text-align: center;
    font-size: 0.85rem;
    color: #808080;
    max-width: 620px;
    line-height: 1.6;
    margin: 1rem auto 0;
}

.skills-disclaimer a {
    color: #4facfe;
    font-weight: 600;
    text-decoration: none;
}

.skills-disclaimer a:hover {
    text-decoration: underline;
}

/* Footer (matches main site) */
.footer {
    background: linear-gradient(135deg, rgba(5, 5, 5, 0.95) 0%, rgba(10, 10, 10, 0.95) 100%);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(79, 172, 254, 0.2);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #4facfe, #8a2be2);
    pointer-events: none;
}

.footer p {
    color: #808080;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media screen and (max-width: 736px) {
    .navbar .container {
        flex-wrap: wrap;
    }

    .navbar-toggle {
        display: flex;
        order: 2;
    }

    .navbar-nav {
        display: none;
        order: 3;
        flex-basis: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: 1rem;
        max-height: 70vh;
        overflow-y: auto;
    }

    .navbar-nav.is-open {
        display: flex;
    }

    .navbar-nav li {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-nav a {
        display: block;
        padding: 0.9rem 0.25rem;
    }

    .skills-page {
        padding: 110px 16px 50px;
    }

    .skill-category {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .skills-heading {
        font-size: 1.6rem;
    }

    .skills-subheading {
        font-size: 1rem;
    }
}

/* Anchor landing: keep the fixed navbar from covering the target heading */
section[id],
[id]:target {
    scroll-margin-top: 100px;
}
