/* Estilos personalizados para Navaja & Estilo */

/* Estilo especial para el símbolo & y el logo */
.font-bold span {
    color: #F5D547;
}

.logo-container {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #F5D547;
    background: radial-gradient(circle, #333 60%, #222 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: flip 4s linear infinite;
    box-shadow: 0 0 15px rgba(245, 213, 71, 0.3);
    transition: transform 0.3s ease-in-out;
    perspective: 1000px;
}

.logo-container:hover {
    animation-play-state: paused;
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(179, 90, 32, 0.5);
}

.logo-container img {
    width: 40px;
    height: auto;
    filter: drop-shadow(0 0 4px #000);
    transform-style: preserve-3d;
    object-fit: contain;
}

@keyframes flip {
    0%   { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

/* Animaciones y transiciones */
.transition-transform {
    transition: transform 0.3s ease;
}

@keyframes borderRotate {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos para el título del hero */
.hero-title {
    animation: slideUp 1s ease-out forwards;
    padding: 20px;
    background: linear-gradient(90deg, transparent 25%, rgba(245, 213, 71, 0.2) 50%, transparent 75%);
    background-size: 200% 100%;
    animation: borderRotate 3s linear infinite;
}

.hero-text {
    animation: slideUp 1s ease-out 0.3s forwards;
    opacity: 0;
}

/* Estilos para el menú móvil */
#mobile-menu {
    transition: all 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
}

#mobile-menu.active {
    max-height: 300px;
}

/* Estilos para imágenes con lazy loading */
.lazy-load {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.lazy-load.loaded {
    opacity: 1;
}

/* Estilos para secciones con scroll */
.scroll-section {
    scroll-margin-top: 80px; /* Ajustar según la altura del header */
}

/* Estilos para botones */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Estilos para tarjetas de servicios */
.service-card {
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Estilos para formularios */
.form-input:focus {
    border-color: #B35A20;
    outline: none;
    box-shadow: 0 0 0 2px rgba(179, 90, 32, 0.2);
}

/* Estilos para el footer */
.footer-link {
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #F5D547;
}

/* Estilos para la galería */
.gallery-item img {
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}