:root {
    --primary: #00ff9d;
    --primary-dark: #00cc7a;
    --accent: #0f8c94;
    --bg-dark: #0d1117;
    --bg-code: #161b22;
    --text: #c9d1d9;
    --text-muted: #8b949e;
    --border: #30363d;
    --header-height: 90px;          /* Adjust this if your header is taller/shorter (check dev tools) */
}

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

html, body {
    height: 100%;
    background: var(--bg-dark);
    color: var(--text);
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

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

/* Header */
header {
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 60px;
    width: auto;
}

.site-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Navigation */
.nav-menu {
    display: block;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--primary);
    color: var(--bg-dark);
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.has-dropdown > .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.has-dropdown:hover > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    padding: 0.8rem 1.2rem;
    display: block;
}

.dropdown a:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

/* ── HERO SECTION - FIXED VERSION ── */
.hero {
    position: relative;
    height: 100vh;                              /* Full viewport height */
    margin-top: calc(-1 * var(--header-height)); /* Pull up under sticky header */
    padding-top: var(--header-height);          /* Push content down below header */
    display: flex;
    align-items: center;
    background: var(--bg-dark);
    overflow: hidden;
}

.slideshow {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--bg-dark);
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(13,17,23,0.85), rgba(13,17,23,0.55));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 40px;
    color: white;
}

.hero h1 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero .tagline {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 3.5rem;
    opacity: 0.85;
}

/* Button */
.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--bg-dark);
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(0,255,157,0.4);
}

.btn:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0,255,157,0.6);
}

/* Services - flush against hero */
.services {
    padding: 120px 0 100px;
    background: var(--bg-dark);
    margin-top: 0 !important;
}

/* Section title, cards, etc. (unchanged) */
.section-title {
    text-align: center;
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 4rem;
    font-family: 'JetBrains Mono', monospace;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.card {
    background: var(--bg-code);
    padding: 3rem 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.4s;
}

.card:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,255,157,0.15);
}

.card h3 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.8rem;
    color: var(--primary);
    margin: 1.5rem 0;
}

.card p {
    color: var(--text-muted);
}

/* Footer */
footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    text-align: center;
    padding: 3rem 0;
    font-size: 1rem;
}

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: var(--bg-dark);
        padding: 100px 30px 40px;
        transition: right 0.4s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        z-index: 9999;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        height: 100vh;
        margin-top: calc(-1 * 80px);
        padding-top: 80px;
    }

    .hero h1 { font-size: 3rem; }
    .hero .tagline { font-size: 1.4rem; }
    .hero p { font-size: 1.2rem; margin-bottom: 3rem; }
    .hero-content { padding: 0 20px; }
}

@media (max-width: 767px) {
    .hero h1 { font-size: 2.6rem; }
    .hero-content { padding: 0 15px; }
}

/* DEBUG HELPER: Uncomment to see if black bar is body background
body { background: #33001a !important; }  ← If bar turns dark red → height issue fixed
*/
