/* ==========================================================================
   Header Styles for Oikoshreem Realtors
   ========================================================================== */

:root {
    --header-height: 90px;
    --header-height-fixed: 75px;
    --theme-gold: #d5ac63;
    --theme-dark: #111111;
}

/* Base Header */
.main-header {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 999;
    transition: all 0.4s ease;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Header Top */
.header-top-two {
    position: relative;
    background-color: var(--theme-dark) !important;
    height: 40px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

/* .main-header.fixed-header .header-top-two {
    height: 0;
    opacity: 0;
    overflow: hidden;
} */

.header-top-two .links li a {
    color: #fff !important;
    font-size: 14px !important;
}

.header-top-two .social-icon-three li a {
    color: var(--theme-gold) !important;
}

/* Main Box */
.main-header .main-box {
    position: relative;
    padding: 10px 0;
    background: #ffffff;
}

.main-header .main-box .outer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.main-header .nav-outer {
    margin-left: auto;
    /* Push menu to the right on desktop */
}

.main-header.fixed-header .main-box {
    padding: 5px 0;
}

/* Logo */
.main-header .logo-box img {
    height: 60px;
    width: auto !important;
    transition: all 0.4s ease;
}

.main-header.fixed-header .logo-box img {
    height: 55px;
}

/* Desktop Navigation */
.main-menu .navigation>li {
    position: relative;
    display: inline-block;
    margin: 0 15px;
}

.main-menu .navigation>li>a {
    display: block;
    padding: 25px 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    color: #333 !important;
    transition: all 0.3s ease;
}

.main-menu .navigation>li.current>a,
.main-menu .navigation>li:hover>a {
    color: var(--theme-gold) !important;
}

/* Mobile Nav Toggler */
.mobile-nav-toggler {
    display: none;
    width: 45px;
    height: 40px;
    background: var(--theme-gold);
    color: #fff;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
}

/* Mobile Menu Drawer (Right Side) */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #111111;
    z-index: 1001;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 40px 20px;
    overflow-y: auto;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    display: block !important;
}

.mobile-menu.visible {
    right: 0;
}

/* Menu Backdrop */
.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu-backdrop.visible {
    opacity: 1;
    visibility: visible;
}

.mobile-menu .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu .close-btn:hover {
    color: var(--theme-gold);
}

.mobile-menu .logo-box {
    margin-bottom: 40px;
    text-align: left;
}

.mobile-menu .navigation {
    width: 100%;
}

.mobile-menu .navigation li {
    margin-bottom: 5px;
}

.mobile-menu .navigation li a {
    display: block;
    padding: 12px 15px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mobile-menu .navigation li a:hover,
.mobile-menu .navigation li.current a {
    background: rgba(213, 172, 99, 0.1);
    color: var(--theme-gold);
}

.mobile-menu .contact-info {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu .contact-info h4 {
    color: var(--theme-gold);
    font-size: 16px;
    margin-bottom: 15px;
}

.mobile-menu .info-list li {
    color: #ccc;
    font-size: 14px;
    margin-bottom: 10px;
}

.mobile-menu .social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.mobile-menu .social-links a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.mobile-menu .social-links a:hover {
    background: var(--theme-gold);
    color: #fff;
}

/* Container Width Override */
.main-header .container {
    max-width: 100% !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
}

@media only screen and (max-width: 991px) {
    .main-menu {
        display: none !important;
    }

    .mobile-nav-toggler {
        display: flex !important;
        margin-left: auto !important;
    }

    .main-header .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .main-header .main-box .outer-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .main-header .nav-outer {
        margin-left: auto !important;
        display: flex !important;
    }

    .main-header .logo-box img {
        height: 50px !important;
    }
}