/* Transparent Header Overlay on Video Banner */

/* Make header transparent and overlay on video */
.video-hero-area~header,
.video-hero-area+* header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}

/* Transparent header styling - clean overlay without background */
.tg-header__area {
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: all 0.4s ease;
    border-bottom: none;
}

/* When scrolled, add subtle background */
.tg-header__area.header-scrolled {
    background: rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

/* Logo styling for transparent header */
.tg-header__area .logo img {
    filter: brightness(1.2) drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
    transition: all 0.3s ease;
}

.tg-header__area.header-scrolled .logo img {
    filter: brightness(1.1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.4));
}

/* Navigation links - white color for transparent header */
.tg-header__area .navigation>li>a {
    color: #fff !important;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.tg-header__area .navigation>li>a:hover {
    color: #B38F4B !important;
}

/* Sub-menu styling */
.tg-header__area .sub-menu {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.tg-header__area .sub-menu li a {
    color: #fff !important;
}

.tg-header__area .sub-menu li a:hover {
    background: rgba(96, 78, 10, 0.1);
    color: #B38F4B !important;
}

/* Phone number and language selector */
.tg-header-contact-number span,
.tg-header-contact-number a,
.select_languagee {
    color: #fff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.tg-header-contact-icon svg path {
    fill: #fff;
}

/* Login/Account button */
.tg-btn-header {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: all 0.3s ease;
}

.tg-btn-header:hover {
    background: #B38F4B; !important;
    border-color: #B38F4B;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(96, 78, 10, 0.4);
}

/* Mobile menu toggle - visible on transparent header */
.mobile-nav-toggler.mobile-nav-black span {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Logo background circle - removed for cleaner look */
.tg-header__area .tg-header-logo-bg {
    background: transparent !important;
    border: none !important;
}

/* Simple glow to logo container for better visibility on dark backgrounds */
.tg-header__area .logo {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    transition: filter 0.3s ease;
}

.tg-header__area.header-scrolled .logo {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.3));
}

/* Sticky header behavior */
#header-sticky.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    animation: slideDown 0.4s ease;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile Menu Styling */
.tgmobile__menu .nav-logo {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tgmobile__menu-box {
    background: rgba(0, 0, 0, 0.98) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.tgmobile__menu .navigation li a {
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tgmobile__menu .navigation li a:hover {
    background: rgba(96, 78, 10, 0.1);
    color: #B38F4B;
}

/* Mobile - Only show hamburger icon (no text) */
@media (max-width: 1199px) {
    .tg-header-btn {
        display: none !important;
    }

    .tg-header-contact-info {
        display: none !important;
    }

    .tg-header-cart {
        display: none !important;
    }

    /* Show only hamburger menu */
    .tg-header-menu-bar {
        display: block !important;
    }

    /* Mobile logo - center it */
    .logo {
        text-align: center;
    }

    .logo img {
        max-height: 50px;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1199px) {
    .logo img {
        max-height: 60px;
    }
}

/* Desktop - full menu */
@media (min-width: 1200px) {
    .tg-header-menu-bar {
        display: none !important;
    }
}

/* RTL Support for Transparent Header */
[dir="rtl"] .tg-header__area .navigation {
    direction: rtl;
}

[dir="rtl"] .tg-header__area .sub-menu {
    right: 0;
    left: auto;
}

[dir="rtl"] .tg-header-contact-icon {
    margin-right: 0;
    margin-left: 5px;
}

[dir="rtl"] .tg-header-btn {
    margin-left: 0;
    margin-right: 20px;
}

[dir="rtl"] .tg-header-menu-bar {
    padding-left: 0;
    padding-right: 20px;
}

/* Smooth transitions for all interactive elements */
.tg-header__area a,
.tg-header__area button,
.tg-header__area .navigation li {
    transition: all 0.3s ease;
}

/* Adjust header height to not interfere with video */
.tg-header-height {
    height: auto;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Ensure content below header is not hidden */
main {
    position: relative;
    z-index: 1;
}

/* Mobile menu improvements */
.tgmobile__menu .close-btn {
    color: #fff;
    font-size: 24px;
    padding: 20px;
}

.tgmobile__menu .close-btn:hover {
    color: #B38F4B;
}

/* Account menu in mobile */
.account__nav li a {
    color: #fff !important;
    padding: 12px 20px;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.account__nav li a:hover {
    background: rgba(96, 78, 10, 0.1);
    color: #B38F4B !important;
}

/* Language switcher in mobile menu */
.tgmobile__menu .select_languagee {
    color: #fff !important;
    padding: 12px 20px;
    display: block;
}

/* Improve mobile menu backdrop */
.tgmobile__menu-backdrop {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Add subtle glow effect on hover for better UX */
.tg-header__area .navigation>li:hover>a {
    text-shadow: 0 0 10px rgba(96, 78, 10, 0.5);
}

/* Responsive padding adjustments */
@media (max-width: 1545px) {
    .container-1545 {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .logo img {
        max-height: 55px;
    }

    .tg-header__area {
        padding: 10px 0;
    }

    .mobile-nav-toggler span {
        width: 25px;
        height: 2px;
    }
}

/* Ensure header is above video */
header {
    position: relative;
    z-index: 1000;
}

/* When homepage has video banner */
body.home-page header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

/* Add class to body when on home page */
.home-page .tg-header-height {
    position: absolute !important;
}