/* Custom Scrollbar - Premium Aesthetic */
::-webkit-scrollbar {
    width: 6px; /* Sleeker, thinner scrollbar */
}

::-webkit-scrollbar-track {
    background: #fdfdfd;
}

::-webkit-scrollbar-thumb {
    background: #232e66; /* Deep Corporate Blue Thumb */
    border-radius: 10px;
    border: 1px solid #ffffff; /* Adds a clean luxury gap */
    transition: var(--transition-smooth);
}

::-webkit-scrollbar-thumb:hover {
    background: #3b4eba; /* Slightly lighter blue on hover */
}

/* Adjust logo position in desktop view - Ultra Left */
@media (min-width: 992px) {
    .header-container {
        padding: 0 15px; /* Minimalist edge padding for maximum width spread */
    }
}

:root {
    --primary-color: #d4a428;
    --primary-hover: #b88a1e;
    --dark-bg: #1a1a1a;
    --light-text: #ffffff;
    --dark-text: #1e293b;
    --nav-text: #000000;
    --glass-bg: rgba(255, 255, 255, 0.98);
    --sticky-bg: rgba(255, 255, 255, 0.95);
    --font-premium: 'Montserrat', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.05);
    --header-height: 110px;
    --header-sticky-height: 95px;
}

/* Base Header Wrapper */
.header-wrapper {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background: #fff;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Transparent Over-Video Header for Home Page */
.page-home .header-wrapper:not(.sticky) {
    position: absolute;
    background: transparent !important;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    box-shadow: none;
}

.page-home .header-wrapper:not(.sticky) .nav-links li a {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.page-home .header-wrapper:not(.sticky) .icon-bar {
    background-color: #ffffff;
}

.page-home .header-wrapper:not(.sticky) .logo-img {
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.3));
}


/* Sticky State */
.header-wrapper.sticky {
    position: fixed;
    background: var(--sticky-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: var(--shadow-premium);
    animation: slideDown 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Container - Full Width for Luxury Spread */
.header-container {
    max-width: 100%; /* Go full width to allow logo to sit far left */
    margin: 0;
    padding: 0 30px; /* Default breathing space */
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    transition: var(--transition-smooth);
}

.header-wrapper.sticky .header-container {
    height: var(--header-sticky-height);
}

/* Logo Section */
.logo-section {
    flex-shrink: 0;
}

.logo-img {
    height: 95px;
    width: 260px; /* Increased width to accommodate horizontal logo */
    object-fit: contain;
    transition: var(--transition-smooth);
}

.header-wrapper.sticky .logo-img {
    height: 85px;
    width: 220px;
}

/* Navigation & Actions */
.nav-section {
    display: flex;
    align-items: center;
    gap: 40px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-family: var(--font-premium);
    font-size: 14px;
    font-weight: 600;
    color: var(--nav-text);
    text-transform: none;
    letter-spacing: 1px;
    padding: 10px 0;
    position: relative;
    transition: var(--transition-smooth);
    opacity: 1;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--primary-color);
    opacity: 1;
}

/* Underline Indicator */
.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

/* Social Section */
.social-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
    border-left: 1px solid rgba(0,0,0,0.1);
    padding-left: 25px;
}

.social-links li a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 16px;
    transition: var(--transition-smooth);
}

.social-links li a.facebook { background: #3b5998; color: #fff; }
.social-links li a.instagram { background: #e1306c; color: #fff; }
.social-links li a.twitter { background: #1da1f2; color: #fff; }

.social-links li a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

.social-links li a i {
    color: #fff !important;
}

/* Mobile Menu Button */
.navbar-toggle {
    display: none;
    border: none;
    background: transparent;
    padding: 10px;
}

.icon-bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--dark-text);
    margin: 5px 0;
    transition: var(--transition-smooth);
}

/* Responsive Styles */
@media (max-width: 1100px) {
    .nav-section {
        gap: 15px;
    }
    .nav-links {
        gap: 12px;
    }
    .nav-links li a {
        font-size: 13px;
    }
}

@media (max-width: 991px) {
    .social-section {
        display: none;
    }
    .navbar-toggle {
        display: block !important;
    }
    .logo-img {
        height: 70px;
        width: 200px;
    }
    .header-container {
        height: 80px;
        padding: 0 15px;
    }
    .header-wrapper.sticky .logo-img {
        height: 50px;
        width: 150px;
    }
    .header-wrapper.sticky .header-container {
        height: 60px;
    }
}

/* Clearfixes for potential legacy content */
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}
