/* ====================================================
   CUSTOM HEADER STYLES
   Order: Marquee → Info Bar → Nav → Slider (no overlaps)
   ==================================================== */

/* ──────────────────────────────────────────────────
   1. FORCE HEADER OUT OF FIXED POSITIONING
   The original theme CSS sets the header to
   position:fixed. We override it to position:relative
   so it sits in the normal document flow — below the
   marquee and info bar — without overlapping anything.
   ────────────────────────────────────────────────── */

   .mt-cursor,
.mt-cursor-view {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
}

header.header,
header.header.sticky-active {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: 100 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    border-top: none !important;
}

/* The inner .primary-header normally gets position:fixed
   from the theme JS (.fixed class added on scroll > 110px).
   Allow that to work naturally — it will stick at top:0
   AFTER the marquee + info bar have scrolled away. */
.primary-header.fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12) !important;
    border-bottom: 2px solid rgba(200, 169, 110, 0.2) !important;
}

/* ──────────────────────────────────────────────────
   2. NAV LINK & ICON COLOURS (for white background)
   ────────────────────────────────────────────────── */
header.header .mobile-menu-items ul li a,
.primary-header .mobile-menu-items ul li a {
    color: #1a1a2e !important;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: color 0.3s ease;
    position: relative;
}

header.header .mobile-menu-items ul li a:hover,
.primary-header .mobile-menu-items ul li a:hover,
header.header .mobile-menu-items ul li.active > a,
.primary-header .mobile-menu-items ul li.active > a {
    color: #c8a96e !important;
}

/* Active Nav Underline Bar */
header.header .mobile-menu-items ul li.active > a::after,
.primary-header .mobile-menu-items ul li.active > a::after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: 0;
    width: 100%;
    height: 1px;
    /* background: linear-gradient(90deg, #211070, #010111); */
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(200, 169, 110, 0.4);
}

header.header .sidebar-icon svg path,
.primary-header.fixed .sidebar-icon svg path {
    fill: #1a1a2e !important;
}

header.header .search-icon i,
.primary-header.fixed .search-icon i {
    color: #1a1a2e !important;
}

/* header.header .tl-primary-btn.header-btn,
.primary-header.fixed .tl-primary-btn.header-btn {
    background: linear-gradient(135deg, #c8a96e, #a07840) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 15px rgba(200, 169, 110, 0.35) !important;
    transition: all 0.3s ease !important;
} */

header.header .tl-primary-btn.header-btn,
.primary-header.fixed .tl-primary-btn.header-btn {
    /* background: #1a1a2e !important;    */
    background: #103059 !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 15px rgba(6, 13, 76, 0.35) !important;
    transition: all 0.3s ease !important;
    
}


/* header.header .tl-primary-btn.header-btn:hover,
.primary-header.fixed .tl-primary-btn.header-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(200, 169, 110, 0.5) !important;
} */
 header.header .tl-primary-btn.header-btn:hover,
.primary-header.fixed .tl-primary-btn.header-btn:hover {
    background: linear-gradient(135deg, #c8a96e, #e8c97e) !important;  /* ← add this */
    color: #1a1a2e !important;                                           /* ← dark text on gold */
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(200, 169, 110, 0.5) !important;
}


/* ──────────────────────────────────────────────────
   3. MARQUEE BAR — sits at the very top in normal flow
   ────────────────────────────────────────────────── */
.top-marquee-bar {
    position: relative;
    z-index: 200;
    display: flex;
    align-items: center;
    width: 100%;
    height: 42px;
    overflow: hidden;
    padding: 0;
    background: linear-gradient(270deg, #1a1a2e 0%, #16213e 30%, #0f3460 65%, #1a1a2e 100%);
    background-size: 300% 100%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%;   }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%;   }
}

.top-marquee-bar::before,
.top-marquee-bar::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}
.top-marquee-bar::before {
    left: 0;
    background: linear-gradient(to right, #1a1a2e, transparent);
}
.top-marquee-bar::after {
    right: 0;
    background: linear-gradient(to left, #1a1a2e, transparent);
}

/* ──────────────────────────────────────────────────
   4. MARQUEE TRACK & ANIMATION
   ────────────────────────────────────────────────── */
.marquee-track {
    display: flex;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: marqueeScroll 35s linear infinite;
    will-change: transform;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0%   { transform: translateX(0);    }
    100% { transform: translateX(-50%); }
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 28px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.marquee-item:hover { color: #f5d48a; }

.marquee-item .marquee-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(200, 169, 110, 0.25);
    backdrop-filter: blur(4px);
    flex-shrink: 0;
}

.marquee-item .marquee-icon i {
    font-size: 10px;
    color: #f5d48a;
}

.marquee-item .marquee-badge {
    display: inline-block;
    background: linear-gradient(135deg, #c8a96e, #e8c97e);
    color: #1a1a2e;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1);    opacity: 1;    }
    50%       { transform: scale(1.08); opacity: 0.85; }
}

.marquee-separator {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c8a96e, #e8c97e);
    margin: 0 10px;
    flex-shrink: 0;
    box-shadow: 0 0 6px rgba(200, 169, 110, 0.6);
    animation: dot-glow 2s ease-in-out infinite;
}

@keyframes dot-glow {
    0%, 100% { box-shadow: 0 0 4px rgba(200, 169, 110, 0.5); }
    50%       { box-shadow: 0 0 12px rgba(200, 169, 110, 1);  }
}

/* ──────────────────────────────────────────────────
   5. INFO BAR — sits between marquee and nav
   ────────────────────────────────────────────────── */
.top-info-bar {
    position: relative;
    z-index: 150;
    width: 100%;
    background: #f8f7f4;
    border-bottom: 1px solid #e8e0d0;
    padding: 7px 0;
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    color: #555;
}

.top-info-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.top-info-bar .info-left,
.top-info-bar .info-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-info-bar .info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #444;
}

.top-info-bar .info-item i {
    color: #c8a96e;
    font-size: 12px;
}

.top-info-bar .info-item a {
    color: #444;
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-info-bar .info-item a:hover { color: #c8a96e; }

.top-info-bar .social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-info-bar .social-links a {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ebebeb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 11px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.top-info-bar .social-links a:hover {
    background: #c8a96e;
    color: #fff;
    transform: translateY(-2px);
}
