

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: var(--blanco);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--celeste);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
  display: inline-block;
    padding: 10px 20px;
    color: #333; 
    text-decoration: none;
    border-radius: 12px; 
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1); 
    border: 1px solid transparent;
        font-weight: 500;
}

.nav-links li a:hover {
 color: var(--celeste);
    background-color: #ffffff; 
    transform: translateY(-4px) scale(1.02); 
    
   
    box-shadow: 0 10px 25px rgba(0, 170, 255, 0.15); 
    
    border-color: rgba(0, 170, 255, 0.1); 
    
}
.nav-links li a:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 5px 10px rgba(0, 170, 255, 0.1);
}



.search-container {
    padding: 20px;
    display: flex;
    justify-content: center;
    background: var(--gris-claro);
}

.search-box {
    width: 100%;
    max-width: 600px;
    display: flex;
}

.search-box input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--celeste);
    border-radius: 50px 0 0 50px;
    outline: none;
}

.search-box button {
    padding: 0 25px;
    background: var(--celeste);
    color: white;
    border: none;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
}

.whatsapp-float img { width: 35px; }


@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .nav-links li {
        margin: 20px 0;
        opacity: 0; 
    }

 
    .nav-active {
        transform: translateX(0%);
    }

  
    .nav-active li {
        opacity: 1;
        transition: opacity 0.5s ease 0.2s;
    }

    .burger {
        display: block;
        cursor: pointer;
        z-index: 1600; 
    }
}


.burger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
   
    body {
        margin: 0;
        box-shadow: none;
        width: 100vw;
    }

   
    .navbar {
        padding: 0.8rem 5%;
    }
    
    .logo {
        font-size: 1.2rem; 
    }

    
    .search-container {
        padding: 15px;
    }
    
    .search-box input {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    

 }

 
.input-group {
    position: relative;
    width: 100%;
    display: flex;
    gap: 5px;
}


.suggestions-box {
    position: absolute;
    top: 110%; 
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none; 
    overflow: hidden;
    border: 1px solid #eee;
}

.suggestions-box.active {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

.sug-title {
    padding: 10px 15px;
    font-size: 0.8rem;
    color: #999;
    background: #f9f9f9;
    margin: 0;
}

.sug-item {
    padding: 12px 15px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #333;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
}

.sug-item:hover {
    background: #f0f7ff;
    color: #007bff;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


@media (max-width: 768px) {
    .search-box {
        width: 90%;
    }
    .sug-item {
        padding: 15px; 
    }
}


.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 100%;
    max-width: 400px;
    position: relative;
    text-align: center;
    animation: slideUp 0.3s ease;
}

.close-btn {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 25px;
    cursor: pointer;
}

.modal-buttons, .form-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.modal-content input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.btn-modal {
    padding: 12px;
    background: #00AEEF;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.btn-wa { background: #25d366; }
.modal-buttons p {
    color: #333;
    font-weight: bold;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}


.burger {
    display: none; 
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px;
    transition: all 0.3s ease;
}


@media screen and (max-width: 768px) {
    .burger {
        display: block;
    }

    .nav-links {
        position: fixed;
        right: 0px;
        top: 0px;
        height: 100vh;
        background: white;
        display: flex;
        width: 60%;
        transform: translateX(100%); 
        transition: transform 0.4s ease-in;
        z-index: 1000;
        padding-top: 100px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        flex-direction: column;
        justify-content: flex-start;
    }


    .nav-active {
        transform: translateX(0%);
    }

    .toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }
}

.whatsapp-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 3000;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.whatsapp-float {
    color: #333;
    border: none;
    
    border-radius: 50px;
    display: flex;
        flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.3s;
    background: transparent;
    padding: 0px 0px;

}

.whatsapp-float:hover {
    transform: scale(1.05);
  
}

.whatsapp-float img {
    width: 60px;
    height: 60px;
    
}

.float-text { font-weight: bold; font-size: 14px; }

.whatsapp-chat-box {
    width: 300px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 15px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.chat-header {
    background: #00aaff;
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.chat-header img { width: 30px; }

.chat-header-info strong { display: block; font-size: 14px; }
.chat-header-info span { font-size: 11px; opacity: 0.9; }

.close-chat {
    position: absolute;
    right: 10px;
    top: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.chat-body {
    padding: 20px;
    background: #f0f2f5; 
}

.admin-msg {
    background: white;
    padding: 10px 15px;
    border-radius: 10px 10px 10px 0;
    font-size: 13px;
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin: 0;
}

.chat-footer {
    padding: 15px;
    text-align: center;
}

.btn-chat-now {
    background: #25d366; 
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    display: block;
    font-size: 14px;
    transition: 0.3s;
}

.btn-chat-now:hover { background: #1ebe57; }


@media (max-width: 480px) {
    .whatsapp-chat-box {
        width: 280px;
        right: 0;
        
    }
    .float-text { display: none; }
    .whatsapp-float { border-radius: 50%;         padding: 5px; }
}