/* public/css/navbar.css */

/* ------------------   Base & branding   ------------------ */
nav {
    font-family: "tipografia2", sans-serif;
}
.custom-navbar {
    background: linear-gradient(to left, #411c5a, #461e60, #512470);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Logo */
.logo-navbar .logo-img {
    height: 80px;
    width: auto;
}

/* Links (≥768px) */
.navbar .nav-link {
    color: #fff !important;
    font-weight: 600;
    font-size: 1.1rem;
}
.nav-hover:hover {
    transform: translateY(-2px);
    color: var(--terciario) !important;
    transition: 0.3s;
}

/* Botones */
.btn-login,
.btn-register {
    background: var(--primario);
    color: var(--secundario) !important;
    border-radius: 0.3rem;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 1rem;
    transition: 0.3s;
}
.btn-login:hover,
.btn-register:hover {
    background: var(--secundarioBis) !important;
    transform: translateY(-2px);
    color: var(--terciario) !important;
}

/* Iconos sociales */
.social-icon {
    color: #fff;
    font-size: 1.95em;
    transition: 0.3s;
    margin-left: 0.95rem; /* (≈10 px) ajusta a tu gusto */
}
.social-icon:hover {
    color: var(--terciario) !important;
    transform: translateY(-2px);
}

/* --------------  Sticky shadow  -------------- */
.custom-navbar.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
    transition: box-shadow 0.25s;
}
.custom-navbar.sticky-top.is-stuck {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important;
}

/* --------------  Bootstrap Toggler icon -------------- */
.navbar-toggler {
    padding: 0.25rem 0.75rem;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28 255, 255, 255, 0.85 %29)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --------------  Offcanvas (móvil) -------------- */
.custom-offcanvas {
    background: linear-gradient(to left, #411c5a, #461e60, #512470);
    color: #fff;
}
.custom-offcanvas .offcanvas-title {
    font-family: "tipografia2", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}
.custom-offcanvas .btn-close {
    filter: invert(1); /* icono blanco */
}
.custom-offcanvas .nav-link {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}
.custom-offcanvas .nav-link:hover {
    color: var(--cuaternario);
    transform: translateY(-2px);
}

/* Botones dentro del offcanvas */
.custom-offcanvas .btn-login,
.custom-offcanvas .btn-register {
    display: block;
    width: 100%;
}

/* --------------  Responsiveness tweaks -------------- */
/* En móvil (<768px) los íconos sociales del nav principal podrían ocultarse
   si quieres máximo minimalismo. Descomenta si lo deseas. */
/*
@media (max-width:767.98px){
    nav .social-icon{display:none!important;}
}
*/

/* opcional: borde del botón */
.toggler-blanco {
    border-color: #ffffff;
}
/* public/css/navbar.css */

/* ------------------   Base & branding   ------------------ */
nav { font-family: "tipografia2", sans-serif; }
.custom-navbar {
    background: linear-gradient(to left, #411c5a, #461e60, #512470);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Logo */
.logo-navbar .logo-img { height: 80px; width: auto; }

/* Links (≥768px) */
.navbar .nav-link {
    color: #fff !important;
    font-weight: 600;
    font-size: 1.1rem;
}
.nav-hover:hover {
    transform: translateY(-2px);
    color: var(--terciario) !important;
    transition: 0.3s;
}

/* Botones */
.btn-login,
.btn-register {
    background: var(--primario);
    color: var(--secundario) !important;
    border-radius: 0.3rem;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 1rem;
    transition: 0.3s;
}
.btn-login:hover,
.btn-register:hover {
    background: var(--secundarioBis) !important;
    transform: translateY(-2px);
    color: var(--terciario) !important;
}

/* ✅ NUEVO: botón Servicios (desktop y móvil) */
.btn-servicio {
    background: var(--secundario);
    color: #fff !important;
    border-radius: 999px;
    padding: 8px 18px;
    font-weight: 800;
    font-size: 1rem;
    transition: 0.3s;
    box-shadow: 0 10px 22px rgba(0,0,0,.12);
}
.btn-servicio:hover {
    background: var(--secundarioBis);
    transform: translateY(-2px);
    color: #fff !important;
}

/* Iconos sociales */
.social-icon {
    color: #fff;
    font-size: 1.95em;
    transition: 0.3s;
    margin-left: 0.95rem;
}
.social-icon:hover {
    color: var(--terciario) !important;
    transform: translateY(-2px);
}

/* --------------  Sticky shadow  -------------- */
.custom-navbar.sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
    transition: box-shadow 0.25s;
}
.custom-navbar.sticky-top.is-stuck {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important;
}

/* --------------  Bootstrap Toggler icon -------------- */
.navbar-toggler { padding: 0.25rem 0.75rem; }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28 255, 255, 255, 0.85 %29)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --------------  Offcanvas (móvil) -------------- */
.custom-offcanvas {
    background: linear-gradient(to left, #411c5a, #461e60, #512470);
    color: #fff;
}
.custom-offcanvas .offcanvas-title {
    font-family: "tipografia2", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}
.custom-offcanvas .btn-close { filter: invert(1); }
.custom-offcanvas .nav-link {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}
.custom-offcanvas .nav-link:hover {
    color: var(--cuaternario);
    transform: translateY(-2px);
}

.custom-offcanvas .btn-servicio {
    display: block;
    width: 100%;
}

/* Botones dentro del offcanvas */
.custom-offcanvas .btn-login,
.custom-offcanvas .btn-register {
    display: block;
    width: 100%;
}

/* --------------  Responsiveness tweaks -------------- */
/*
@media (max-width:767.98px){
    nav .social-icon{display:none!important;}
}
*/

/* opcional: borde del botón */
.toggler-blanco { border-color: #ffffff; }
