/* ===============================
   HEADER – CLEAN BOLT STYLE
================================ */

.site-header {
    position: sticky;
    top: 0;
    background: #ffffff;
    border-bottom: 1px solid #eee;
    z-index: 1200;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 0 24px;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: #0f1225;
    text-decoration: none;
}

.logo img {
    height: 34px;
}

/* ===============================
   DESKTOP NAV
================================ */

.main-nav {
    display: flex;
    gap: 26px;
}

.main-nav a {
    font-size: 15px;
    font-weight: 500;
    color: #0f1225;
    text-decoration: none;
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #6239f7;
    transition: width 0.25s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* ===============================
   ACTIONS
================================ */

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* LANGUAGE */
.lang-wrapper {
    position: relative;
}

.lang-btn {
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

/* LANGUAGE DROPDOWN */
.lang-dropdown {
    position: absolute;
    right: 0;
    top: 120%;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    min-width: 160px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: all 0.25s ease;
}

.lang-dropdown.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.lang-dropdown a {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    color: #0f1225;
    text-decoration: none;
}

.lang-dropdown a:hover {
    background: #f5f6ff;
}

/* SUPPORT */
.support-link {
    font-size: 14px;
    font-weight: 500;
    color: #0f1225;
    text-decoration: none;
}

/* REGISTER */
.register-wrapper {
    position: relative;
}

.register-btn {
    background: #2e2f3a;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

/* REGISTER DROPDOWN */
.register-dropdown {
    position: absolute;
    right: 0;
    top: 120%;
    width: 240px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.25s ease;
}

.register-dropdown.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.register-dropdown a {
    display: block;
    padding: 14px 18px;
    text-decoration: none;
    color: #0f1225;
}

.register-dropdown span {
    display: block;
    font-size: 13px;
    color: #6b6f8f;
}

/* GET APP */
.get-app-btn {
    background: #6239f7;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.get-app-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(98,57,247,0.3);
}

/* ===============================
   MOBILE
================================ */

.hamburger {
    display: none;
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
}

/* MOBILE DRAWER */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background: #ffffff;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: right 0.35s ease;
    z-index: 2000;
}

.mobile-drawer.show {
    right: 0;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1500;
}

.drawer-overlay.show {
    opacity: 1;
    pointer-events: auto;
}


.flag-icon {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    vertical-align: middle;
}

/* ===============================
   MOBILE HEADER / DRAWER (PRO)
================================ */
@media (max-width: 900px) {

    /* ===============================
       HEADER ADJUSTMENTS
    ================================ */
    .logo span {
        display: none; /* Hide "Pragia Online" text on mobile */
    }

    .main-nav,
    .get-app-btn {
        display: none;
    }

    .hamburger {
        display: block;
        font-size: 24px;
        background: none;
        border: none;
        cursor: pointer;
        color: #0f1225;
    }

    /* ===============================
       MOBILE DRAWER
    ================================ */
    .mobile-drawer {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 340px;
        height: 100%;
        background: #ffffff;
        padding: 32px 26px;
        display: flex;
        flex-direction: column;
        gap: 6px;
        transition: right 0.35s ease;
        z-index: 2000;
        box-shadow: -12px 0 45px rgba(0,0,0,0.18);
    }

    .mobile-drawer.show {
        right: 0;
    }

    /* ===============================
       PRIMARY LINKS
    ================================ */
    .mobile-drawer a {
        font-size: 17px;
        font-weight: 500;
        color: #000000; /* Pragia brand */
        padding: 14px 10px;
        border-radius: 10px;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .mobile-drawer a:hover {
        background: #f4f1ff;
        color: #4b2fd6;
    }

    /* ===============================
       DIVIDER
    ================================ */
    .divider {
        height: 1px;
        background: #a694ff;
        margin: 20px 0;
    }

    /* ===============================
       CTA LINKS (DRIVER / RIDER)
    ================================ */
    .mobile-drawer strong {
        font-weight: 700;
        color: #6239f7;
    }

    .mobile-drawer a strong {
        display: block;
    }

    /* ===============================
       GET APP BUTTON (WHITE)
    ================================ */
    .mobile-cta {
        margin-top: auto;
        background: #6239f7;
        color: #ad1f1f;
        padding: 15px;
        border-radius: 16px;
        text-align: center;
        font-weight: 700;
        font-size: 16px;
        border: 2px solid #fcfcfc;
        box-shadow: 0 12px 28px rgba(98,57,247,0.18);
        transition: background 0.25s ease;
    }
    .mobile-cta a span {
       
        color: #ffffff;
      
    }

    .mobile-cta:hover {
        background: #f4f1ff;
    }


    /* ===============================
       OVERLAY
    ================================ */
    .drawer-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 1500;
    }

    .drawer-overlay.show {
        opacity: 1;
        pointer-events: auto;
    }
}
