/* ==================================================
   SCCORIA ULTRA PREMIUM HEADER
   ================================================== */

/* Hide Astra Header */

.ast-primary-header-bar,
.main-header-bar,
.ast-mobile-header-wrap,
.ast-above-header-wrap,
.ast-below-header-wrap {
    display: none !important;
}

/* Variables */

:root {
    --navy: #08162D;
    --navy-dark: #050D1D;
    --gold: #D4AF37;
    --gold-light: #E8C768;
    --white: #ffffff;
    --text: #222;
    --border: rgba(255,255,255,.08);
}

/* Reset */

.sccoria-header * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.sccoria-header {
    position: sticky;
    top: 0;
    z-index: 99999;
    font-family: Arial, sans-serif;
}

/* Container */

.sccoria-container {
    max-width: 1450px;
    margin: auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ==================================================
   TOP BAR
   ================================================== */

.sccoria-topbar {
    background: var(--navy-dark);
    border-bottom: 1px solid rgba(255,255,255,.05);
    height: 42px;
    display: flex;
    align-items: center;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

.top-badge {
    font-size: 12px;
    color: #d8d8d8;
    font-weight: 500;
}

.topbar-right a {
    color: #d8d8d8;
    text-decoration: none;
    font-size: 12px;
    transition: .3s;
}

.topbar-right a:hover {
    color: var(--gold);
}

.search-trigger {
    width: 38px;
    height: 38px;
    border: none;
    background: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.search-trigger:hover {
    color: var(--gold);
}

/* ==================================================
   NAVBAR
   ================================================== */

.sccoria-navbar {
    background: rgba(8,22,45,.96);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 15px 45px rgba(0,0,0,.15);
}

.sccoria-navbar .sccoria-container {
    height: 90px;
}

/* Logo */

.sccoria-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.sccoria-logo img {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    padding: 3px;
    border: 2px solid var(--gold);
    transition: .4s;
}

.sccoria-logo:hover img {
    transform: rotate(5deg) scale(1.05);
}

.logo-content {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--gold);
    line-height: 1;
}

.logo-tagline {
    font-size: 10px;
    letter-spacing: 2px;
    margin-top: 5px;
    color: #fff;
    opacity: .8;
}

/* Menu */

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.desktop-nav > a,
.menu-item > a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    position: relative;
    padding: 10px 0;
    transition: .3s;
}

.desktop-nav > a::after,
.menu-item > a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: .3s;
}

.desktop-nav > a:hover,
.menu-item > a:hover {
    color: var(--gold);
}

.desktop-nav > a:hover::after,
.menu-item > a:hover::after {
    width: 100%;
}

/* ==================================================
   MEGA MENU
   ================================================== */

.mega-parent {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 650px;
    background: #fff;
    border-radius: 18px;
    padding: 30px;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
    margin-top: 18px;
}

.mega-parent:hover .mega-menu {
    display: grid;
}

.mega-column h4 {
    font-size: 15px;
    margin-bottom: 15px;
    color: var(--navy);
}

.mega-column a {
    display: block;
    padding: 10px 0;
    color: #444;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    transition: .3s;
}

.mega-column a:hover {
    padding-left: 8px;
    color: var(--gold);
}

/* ==================================================
   CTA
   ================================================== */

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-cta {
    background: linear-gradient(
        135deg,
        var(--gold),
        var(--gold-light)
    );
    padding: 14px 26px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    color: var(--navy);
    box-shadow: 0 10px 30px rgba(212,175,55,.25);
    transition: .3s;
}

.header-cta:hover {
    transform: translateY(-3px);
}

/* ==================================================
   MOBILE
   ================================================== */

.mobile-toggle {
    display: none;
    width: 45px;
    height: 45px;
    border: none;
    background: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

.mobile-drawer {
    display: none;
    background: var(--navy);
}

.mobile-drawer a {
    display: block;
    padding: 16px 24px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

/* ==================================================
   SEARCH OVERLAY
   ================================================== */

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

.search-box {
    width: min(700px,90%);
}

.search-box input {
    width: 100%;
    height: 70px;
    padding: 0 25px;
    border: none;
    border-radius: 70px;
    font-size: 18px;
    outline: none;
}

/* ==================================================
   RESPONSIVE
   ================================================== */

@media (max-width:1200px) {

    .desktop-nav {
        gap: 18px;
    }

}

@media (max-width:991px) {

    .desktop-nav,
    .header-cta {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .logo-title {
        font-size: 22px;
    }

    .logo-tagline {
        font-size: 8px;
    }

    .sccoria-logo img {
        width: 55px;
        height: 55px;
    }

    .topbar-right {
        display: none;
    }

    .mobile-drawer.active {
        display: block;
    }

}

@media (max-width:600px) {

    .sccoria-navbar .sccoria-container {
        height: 75px;
    }

    .logo-title {
        font-size: 18px;
    }

    .top-badge {
        font-size: 10px;
    }

}