body{
    margin:0;
    font-family:'Poppins', sans-serif;
    padding-top:110px;
}

body.modal-open{
    overflow:hidden;
}

/* TOP BAR */
.top-bar{
    display:flex;
    justify-content:space-between;
    background:#111;
    color:#fff;
    padding:8px 20px;
    font-size:14px;
}

/* HEADER */
.header-container{
    position:fixed;
    top:0;
    width:100%;
    z-index:1000;
}

.header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 20px;
    background:#fff;
}

/* LOGO FIX */
.logo img{
    max-height:50px !important;
    width:auto;
}

/* MENU */
.menu{
    display:flex;
    gap:20px;
}

.menu a{
    text-decoration:none;
    color:#333;
    font-family:'Montserrat', sans-serif;
}

.menu a:hover{
    color:#00c4b4;
}

/* MOBILE */
.menu-btn{
    display:none;
    font-size:24px;
    cursor:pointer;
}

/* MOBILE MENU */
.mobile-menu{
    position:fixed;
    top:0;
    left:0;
    width:280px;
    height:100%;
    background:#fff;
    padding:20px;
    z-index:2000;
    transform:translateX(-100%);
    transition:0.4s;
}

.mobile-menu.active{
    transform:translateX(0);
}

/* ITEM */
.menu-item{
    border-bottom:1px solid #eee;
}

.menu-item a{
    display:flex;
    justify-content:space-between;
    padding:14px 0;
    text-decoration:none;
    color:#333;
}

/* OVERLAY */
.overlay{
    position:fixed;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.5);
    opacity:0;
    visibility:hidden;
    transition:0.3s;
}

.overlay.active{
    opacity:1;
    visibility:visible;
}

/* SEARCH */
.search-modal{
    position:fixed;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.9);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:99999;
    opacity:0;
    visibility:hidden;
}

.search-modal.active{
    opacity:1;
    visibility:visible;
}

.search-box{
    width:90%;
    max-width:600px;
}

.search-box input{
    width:100%;
    padding:18px;
    font-size:18px;
}

#searchResults{
    background:#fff;
    margin-top:10px;
    max-height:300px;
    overflow:auto;
}

.result-item{
    padding:12px;
    border-bottom:1px solid #eee;
}

/* RESPONSIVE */
@media(max-width:768px){
    .menu{ display:none; }
    .menu-btn{ display:block; }
}

/* ===== FIX SEARCH MODAL PRO ===== */
.search-modal{
    position:fixed !important;
    top:0;
    left:0;
    width:100%;
    height:100%;

    background:rgba(0,0,0,0.85);

    display:flex;
    justify-content:center;
    align-items:center;

    z-index:99999;

    opacity:0;
    visibility:hidden;

    transition:0.3s;
}

/* ACTIVO */
.search-modal.active{
    opacity:1;
    visibility:visible;
}

/* CAJA CENTRADA */
.search-box{
    width:90%;
    max-width:600px;
    position:relative;
    animation:fadeZoom 0.3s ease;
}

/* ANIMACIÓN */
@keyframes fadeZoom{
    from{
        opacity:0;
        transform:scale(0.9);
    }
    to{
        opacity:1;
        transform:scale(1);
    }
}

/* INPUT */
.search-box input{
    width:100%;
    padding:18px;
    font-size:18px;
    border:none;
    border-radius:6px;
    outline:none;
}

/* RESULTADOS */
#searchResults{
    background:#fff;
    margin-top:10px;
    border-radius:6px;
    max-height:300px;
    overflow:auto;
}

/* CLOSE */
.close-search{
    position:absolute;
    top:-40px;
    right:0;
    color:#fff;
    font-size:24px;
    cursor:pointer;
}