@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    background: #0A0E1A;
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(10, 14, 26, 0.4), rgba(10, 14, 26, 0.85));
    pointer-events: none;
    z-index: 1;
}

.top-menu {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    z-index: 3;
    pointer-events: auto;
}

.menu-item {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 6px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.menu-item:hover {
    background: rgba(0, 200, 200, 0.3);
    border-color: rgba(0, 200, 200, 0.5);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 90%;
    max-width: 800px;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.7);
    padding: 30px 40px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 16px;
    line-height: 1.55;
    color: #e0e8f0;
    margin: 0;
    padding-top: 2px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.tech-stack {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    pointer-events: none;
}

/* Mobile: same composition as desktop — chips top-left, centered copy box */
html.is-mobile .top-menu,
body.is-mobile .top-menu {
    top: 14px;
    left: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    max-width: calc(100% - 28px);
}

html.is-mobile .menu-item,
body.is-mobile .menu-item {
    font-size: 12px;
    line-height: 1.3;
    padding: 8px 14px;
    text-align: left;
    width: auto;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
}

html.is-mobile .hero-content,
body.is-mobile .hero-content {
    top: 50%;
    bottom: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 88%;
    max-width: 420px;
    padding: 20px 22px;
    border-radius: 14px;
}

html.is-mobile .hero-title,
body.is-mobile .hero-title {
    font-size: 22px;
    margin-bottom: 10px;
}

html.is-mobile .hero-description,
body.is-mobile .hero-description {
    font-size: 14px;
    line-height: 1.5;
}

html.is-mobile .tech-stack,
body.is-mobile .tech-stack {
    font-size: 9px;
    bottom: 10px;
    letter-spacing: 0.8px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 22px;
    }

    .hero-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    html.is-mobile .top-menu,
    body.is-mobile .top-menu {
        top: 12px;
        left: 12px;
        gap: 5px;
        max-width: calc(100% - 24px);
    }

    html.is-mobile .menu-item,
    body.is-mobile .menu-item {
        font-size: 11px;
        padding: 7px 12px;
    }

    html.is-mobile .hero-content,
    body.is-mobile .hero-content {
        width: 90%;
        padding: 18px 18px;
    }

    html.is-mobile .hero-title,
    body.is-mobile .hero-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    html.is-mobile .hero-description,
    body.is-mobile .hero-description {
        font-size: 13px;
        line-height: 1.45;
    }

    html.is-mobile .tech-stack,
    body.is-mobile .tech-stack {
        font-size: 8px;
        bottom: 8px;
    }
}
