@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: 'Inter', Arial, sans-serif;
    color: #ffffff;
    background: radial-gradient(circle at top, #1a1f2b 0%, #0d1117 45%, #050505 100%);
}

/* ================= NAVBAR ================= */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    height: 68px;
    padding: 0 32px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(10, 10, 15, 0.78);
    backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 6px 24px rgba(0,0,0,0.35);
}

/* STÂNGA */
.nav-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* MENIU */
.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-menu li {
    list-style: none;
}

.nav-menu a {
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 6px;
    letter-spacing: 0.2px;
    position: relative;
    transition: all 0.25s ease;
}

/* hover elegant */
.nav-menu a:hover {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
}

/* activ */
.nav-menu a.active {
    background: linear-gradient(135deg, #ff9700, #ffb347);
    color: #000;
    box-shadow: 0 3px 10px rgba(255,151,0,0.35);
}

/* LOGIN BUTTON */
.login-style {
    background: linear-gradient(135deg, #ff9700, #ffb347);
    color: #000 !important;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(255,151,0,0.35);
}

/* ================= HAMBURGER ================= */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
}

/* ================= CONTENT ================= */

.container {
    max-width: 900px;
    margin: 50px auto;
    background: rgba(240, 240, 240, 0.95);
    border-radius: 14px;
    padding: 30px;
    color: #000;
}

.container h1 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 16px;
}

input {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 15px;
}

button {
    width: 100%;
    padding: 14px;
    background: #ff9700;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

button:hover {
    background: #ffb100;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 68px; /* sub navbar */
        left: 0;
        width: 100%;
        background: rgba(15, 15, 20, 0.97);
        backdrop-filter: blur(14px);
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 20px 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: all 0.35s ease;
        z-index: 9999; /* peste tot */
    }

    .nav-menu.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-menu li {
        width: 90%;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 12px 0;
        font-size: 16px;
        background: rgba(255,255,255,0.08);
        border-radius: 6px;
    }

    .login-style {
        background: linear-gradient(135deg, #ff9700, #ffb347);
        color: #000 !important;
        font-weight: 700;
        box-shadow: 0 4px 14px rgba(255,151,0,0.35);
    }
}