/* ============================================
   HEADER VARIANTS — Sinematik Theme
   Layout: Centered, Transparent
   Behavior: Sticky, Smart-Sticky
   ============================================ */

/* ============================================
   CENTERED HEADER
   ============================================ */
.navbar.header-centered {
    text-align: center;
}

.navbar.header-centered .container {
    flex-direction: column;
    gap: 0.75rem;
}

.navbar.header-centered .container > a[rel="home"] {
    justify-content: center;
}

.navbar.header-centered .hidden.lg\:flex {
    width: 100%;
    justify-content: center;
}

.navbar.header-centered .flex.lg\:hidden {
    width: 100%;
    justify-content: center;
}

/* ============================================
   TRANSPARENT HEADER
   ============================================ */
.navbar.header-transparent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 100;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.header-transparent.scrolled {
    position: fixed;
    background-color: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* ============================================
   STICKY HEADER (Always Visible)
   ============================================ */
.navbar.header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.header-sticky.scrolled {
    background-color: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* Prevent content jump when header becomes fixed */
body.header-is-sticky {
    padding-top: 80px;
}

/* ============================================
   SMART STICKY (Visible on Scroll Up Only)
   ============================================ */
.navbar.header-smart {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.header-smart.scrolled {
    background-color: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar.header-smart.is-hidden {
    transform: translateY(-100%);
}

/* Prevent content jump for smart sticky */
body.header-is-smart {
    padding-top: 80px;
}

/* ============================================
   COMBINED: Transparent + Sticky
   Transparent stays absolute until scroll,
   then becomes fixed with background.
   ============================================ */
.navbar.header-transparent.header-sticky {
    position: fixed;
}

.navbar.header-transparent.header-smart {
    position: fixed;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 1023px) {
    .navbar.header-centered .container {
        flex-direction: row;
        justify-content: space-between;
    }

    .navbar.header-centered .flex.lg\:hidden {
        width: auto;
    }
}
