/* Estilos para el menú y footer con colores de movilidad eléctrica */

:root {
    --ev-primary: #0b6b3a;
    --ev-primary-hover: #0f7f45;
    --ev-accent: #2ed573;
}

/* Estilos del menú */
.navbar {
    background: var(--ev-primary) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
}

.navbar .navbar-brand,
.navbar .navbar-brand:hover,
.navbar .navbar-brand:focus {
    color: #ffffff !important;
}

.navbar .form-control {
    border-radius: 20px;
    border: none;
}

.navbar-nav .nav-link {
    position: relative;
    margin: 0 0.25rem;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    background-color: rgba(255, 255, 255, 0.18);
    color: #ffffff !important;
}

.navbar-nav .nav-link.active {
    background-color: rgba(255, 255, 255, 0.18);
    font-weight: 500;
}

.navbar-search-btn {
    background: transparent !important;
    border: none !important;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 1rem;
}

.navbar-search-btn i {
    color: #ffffff !important;
}

.navbar-search-btn:hover,
.navbar-search-btn:focus {
    transform: scale(1.05);
}

/* Estilos del footer */
.site-footer {
    background: var(--ev-primary) !important;
    color: white !important;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2) !important;
}

.site-footer a {
    color: rgba(255,255,255,0.9) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: #ffffff !important;
}

/* Estilos para enlaces en hover */
.hover-link {
    position: relative;
    transition: all 0.3s ease;
}

.hover-link:before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.hover-link:hover:before {
    width: 100%;
}

/* Estilos para botones sociales */
.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
    color: white;
}

.social-btn.youtube:hover {
    background-color: #FF0000;
}

.social-btn.whatsapp:hover {
    background-color: #25D366;
}

.social-btn.telegram:hover {
    background-color: #0088cc;
}

.social-btn.facebook:hover {
    background-color: #1877F2;
}

.social-btn.twitter:hover {
    background-color: #1DA1F2;
}

.social-btn.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Estilos para el separador del footer */
.site-footer hr {
    border-color: rgba(255,255,255,0.2);
    opacity: 0.5;
}

.btn-accent {
    background-color: var(--ev-accent) !important;
    color: #ffffff !important;
    border: none;
    border-radius: 20px;
    padding-inline: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-accent:hover,
.btn-accent:focus {
    background-color: var(--ev-primary-hover) !important;
    transform: translateY(-2px);
}
