/*=========================================
GOOGLE RESET
=========================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:"Inter",sans-serif;
    overflow-x:hidden;
}

/*=========================================
HEADER
=========================================*/

.header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    height:90px;

    display:flex;
    align-items:center;

    background:rgba(255,255,255,.75);

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(255,255,255,.3);

    transition:.35s;

    z-index:1000;

}

/* عند Scroll */

.header.scrolled{

    height:78px;

    background:#ffffffee;

    box-shadow:0 10px 35px rgba(0,0,0,.08);

}

/*=========================================
CONTAINER
=========================================*/

.header-container{

    width:min(1400px,92%);

    margin:auto;

    display:flex;

    align-items:center;

    justify-content:space-between;

}

/*=========================================
LOGO
=========================================*/

.logo{

    text-decoration:none;

    font-family:"Cormorant Garamond",serif;

    font-size:38px;

    font-weight:600;

    letter-spacing:8px;

    color:#B89B5E;

    transition:.3s;

}

.logo:hover{

    color:#b88d45;

}

/*=========================================
NAVIGATION
=========================================*/

.nav{

    flex:1;

    display:flex;

    justify-content:center;

}

.nav-list{

    display:flex;

    align-items:center;

    gap:48px;

    list-style:none;

}

.nav-list a{

    position:relative;

    text-decoration:none;

    color:#222;

    font-size:15px;

    font-weight:500;

    letter-spacing:.8px;

    transition:.35s;

}

.nav-list a:hover{

    color:#b88d45;

}

.nav-list a.active{

    color:#b88d45;

}

/* underline */

.nav-list a::after{

    content:"";

    position:absolute;

    left:0;
    bottom:-8px;

    width:0;

    height:2px;

    background:#b88d45;

    transition:.35s;

}

.nav-list a:hover::after,

.nav-list a.active::after{

    width:100%;

}

/*=========================================
HEADER ACTIONS
=========================================*/

.header-actions{

    display:flex;

    align-items:center;

    gap:18px;

}

/*=========================================
ICONS
=========================================*/

.icon-btn{

    position:relative;

    width:46px;

    height:46px;

    border:none;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    cursor:pointer;

    background:transparent;

    color:#222;

    transition:.35s;

}

.icon-btn:hover{

    background:#f5f5f5;

    color:#b88d45;

    transform:translateY(-2px);

}

.icon-btn i{

    width:20px;

    height:20px;

}

/*=========================================
BADGES
=========================================*/

.badge{

    position:absolute;

    top:2px;

    right:2px;

    width:20px;

    height:20px;

    border-radius:50%;

    background:#111;

    color:#fff;

    font-size:11px;

    font-weight:600;

    display:flex;

    align-items:center;

    justify-content:center;

    transition:.3s;

}

.icon-btn:hover .badge{

    background:#b88d45;

}

/*=========================================
MENU BUTTON
=========================================*/

.menu-toggle{

    display:none;

    width:46px;

    height:46px;

    border:none;

    background:none;

    cursor:pointer;

}

.menu-toggle span{

    display:block;

    width:25px;

    height:2px;

    background:#111;

    margin:6px auto;

    transition:.35s;

}

/*=========================================
MOBILE MENU
=========================================*/

.mobile-menu{

    position:fixed;

    top:90px;

    left:0;

    width:100%;

    background:#fff;

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:28px;

    padding:35px 0;

    transform:translateY(-120%);

    opacity:0;

    visibility:hidden;

    transition:.4s ease;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    z-index:999;

}

.mobile-menu.active{

    transform:translateY(0);

    opacity:1;

    visibility:visible;

}

.mobile-menu a{

    text-decoration:none;

    color:#111;

    font-size:17px;

    font-weight:500;

    letter-spacing:1px;

    transition:.3s;

}

.mobile-menu a:hover{

    color:#B88D45;

}

/*=========================================
MENU ANIMATION
=========================================*/

.menu-toggle.active span:nth-child(1){

    transform:translateY(8px) rotate(45deg);

}

.menu-toggle.active span:nth-child(2){

    opacity:0;

}

.menu-toggle.active span:nth-child(3){

    transform:translateY(-8px) rotate(-45deg);

}

/*=========================================
RESPONSIVE
=========================================*/

@media(max-width:992px){

    .nav{

        display:none;

    }

    .menu-toggle{

        display:flex;

        flex-direction:column;

        justify-content:center;

        align-items:center;

    }

    .header-actions{

        gap:12px;

    }

}

@media(max-width:768px){

    .header{

        height:75px;

    }

    .header.scrolled{

        height:70px;

    }

    .mobile-menu{

        top:75px;

    }

    .logo{

        font-size:30px;

        letter-spacing:5px;

    }

    .icon-btn{

        width:40px;

        height:40px;

    }

    .badge{

        width:18px;

        height:18px;

        font-size:10px;

    }

}

@media(max-width:500px){

    .header-container{

        width:92%;

    }

    .logo{

        font-size:26px;

        letter-spacing:4px;

    }

    .header-actions{

        gap:8px;

    }

    .icon-btn{

        width:38px;

        height:38px;

    }

}

/*=========================================
SMOOTH EFFECTS
=========================================*/

.header a,

.header button{

    transition:all .3s ease;

}

.header a:hover,

.header button:hover{

    transform:translateY(-2px);

}

/*=========================================
HEADER SHADOW ON SCROLL
=========================================*/

.header.scrolled{

    border-bottom:none;

    box-shadow:0 8px 30px rgba(0,0,0,.08);

}

/*=========================================
LUXURY HOVER
=========================================*/

.logo:hover{

    letter-spacing:10px;

}

.nav-list a:hover{

    letter-spacing:1.5px;

}

.icon-btn:hover{

    box-shadow:0 8px 20px rgba(184,141,69,.18);

}

/*=========================================
SELECTION
=========================================*/

::selection{

    background:#B88D45;

    color:#fff;

}

/*=========================================
SCROLLBAR
=========================================*/

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-thumb{

    background:#B88D45;

    border-radius:20px;

}

::-webkit-scrollbar-track{

    background:#f5f5f5;

}

/*==========================
SEARCH POPUP
==========================*/

.search-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);

    display: flex;
    justify-content: center;
    align-items: flex-start;

    padding-top: 100px;

    opacity: 0;
    visibility: hidden;

    transition: .3s;

    z-index: 9999;
}

.search-overlay.active{
    opacity: 1;
    visibility: visible;
}

.search-box{

    width: 90%;
    max-width: 650px;

    background: #fff;

    border-radius: 18px;

    padding: 20px;

    position: relative;

    box-shadow: 0 20px 50px rgba(0,0,0,.15);

}

#searchInput{

    width: 100%;

    height: 55px;

    border: 1px solid #ddd;

    border-radius: 10px;

    padding: 0 18px;

    font-size: 16px;

    outline: none;

}

.close-search{

    position: absolute;

    top: 15px;

    right: 15px;

    border: none;

    background: transparent;

    font-size: 22px;

    cursor: pointer;

}

#liveResults{

    margin-top: 20px;

}