/* =========================
   Elliott Kirkland Portfolio
   Apple Glass Theme
========================= */

:root {
    --bg: #050505;
    --text: #ffffff;
    --text-secondary: #b8b8b8;

    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);

    --primary: #ffffff;

    --shadow:
        0 8px 32px rgba(0, 0, 0, 0.35);

    --radius: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    overflow-x: hidden;
    line-height: 1.8;
}

/* =========================
   Background Blur
========================= */

.background-blur {
    position: fixed;
    border-radius: 999px;
    filter: blur(150px);
    z-index: -1;
    pointer-events: none;
}

.blur-1 {
    width: 400px;
    height: 400px;
    background: rgba(0, 119, 255, 0.18);
    top: -150px;
    left: -100px;
}

.blur-2 {
    width: 450px;
    height: 450px;
    background: rgba(255, 255, 255, 0.08);
    top: 600px;
    right: -200px;
}

.blur-3 {
    width: 350px;
    height: 350px;
    background: rgba(50, 150, 255, 0.12);
    bottom: 100px;
    left: 20%;
}

/* =========================
   Layout
========================= */

.section {
    width: min(1100px, 92%);
    margin: 0 auto;
    padding: 60px 0;
}

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    width: min(1100px, 92%);
    margin: auto;
}

/* =========================
   Glass Cards
========================= */

.glass-card {
    background: var(--glass-bg);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border: 1px solid var(--glass-border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    padding: 40px;
}

.hero-card {
    text-align: center;
    max-width: 900px;
}

/* =========================
   Typography
========================= */

h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.1;
    margin-top: 20px;
}

h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 20px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

h4 {
    margin-bottom: 10px;
}

p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.badge {
    display: inline-block;

    padding: 10px 18px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.1);

    font-size: 0.9rem;
}

.hero-subtitle {
    max-width: 650px;
    margin: 20px auto;
    font-size: 1.15rem;
}

/* =========================
   Buttons
========================= */

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.primary-btn,
.secondary-btn,
.contact-btn {
    text-decoration: none;

    padding: 14px 28px;

    border-radius: 14px;

    transition: 0.3s ease;
}

.primary-btn {
    background: white;
    color: black;
}

.primary-btn:hover {
    transform: translateY(-3px);
}

.secondary-btn {
    border: 1px solid rgba(255,255,255,.15);
    color: white;
}

.secondary-btn:hover {
    background: rgba(255,255,255,.05);
}

.contact-btn {
    display: inline-block;

    margin-top: 15px;

    background: white;
    color: black;
    font-weight: 600;
}

.contact-btn:hover {
    transform: translateY(-3px);
}

/* =========================
   Skills
========================= */

.skills-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(180px, 1fr)
        );

    gap: 15px;
}

.skill-card {
    text-align: center;

    padding: 16px;

    border-radius: 16px;

    background:
        rgba(255,255,255,.05);

    border:
        1px solid
        rgba(255,255,255,.08);
}

/* =========================
   Features
========================= */

.feature-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(220px, 1fr)
        );

    gap: 20px;

    margin-top: 25px;
}

.feature-box {
    padding: 20px;

    border-radius: 18px;

    background:
        rgba(255,255,255,.05);

    border:
        1px solid
        rgba(255,255,255,.08);
}

/* =========================
   List
========================= */

.project-list {
    list-style: none;
}

.project-list li {
    padding: 12px 0;

    border-bottom:
        1px solid
        rgba(255,255,255,.08);

    color: var(--text-secondary);
}

/* =========================
   Timeline
========================= */

.timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-item {
    padding: 20px;

    border-radius: 18px;

    background:
        rgba(255,255,255,.05);

    border:
        1px solid
        rgba(255,255,255,.08);
}

/* =========================
   Footer
========================= */

.footer {
    text-align: center;
    padding: 40px 20px 120px;
    color: #8a8a8a;
}

/* =========================
   GitHub Bubble
========================= */

.github-bubble {
    position: fixed;

    bottom: 25px;
    left: 50%;

    transform: translateX(-50%);

    width: 70px;
    height: 70px;

    border-radius: 999px;

    background:
        rgba(255,255,255,.08);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border:
        1px solid
        rgba(255,255,255,.12);

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 999;

    transition: .3s ease;
}

.github-bubble:hover {
    transform:
        translateX(-50%)
        translateY(-5px);
}

.github-bubble img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

/* =========================
   Reveal Animation
========================= */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   Contact
========================= */

.contact-section {
    padding-bottom: 120px;
}

/* =========================
   Mobile
========================= */

@media (max-width: 768px) {

    .glass-card {
        padding: 25px;
    }

    h1 {
        font-size: 3rem;
    }

    .hero {
        min-height: 90vh;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        text-align: center;
    }

    .github-bubble {
        width: 65px;
        height: 65px;
    }

    .github-bubble img {
        width: 30px;
        height: 30px;
    }
}