/* CSS específico de index.php extraído */

/* Navigation styles */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    justify-content: center;
    margin: 0 20px;
}

/* Estilos minimalistas para navegación principal (servicios) */
.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    border: none;
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    background: linear-gradient(135deg, rgba(123, 90, 238, 0.1), rgba(255, 138, 61, 0.1));
    color: #7B5AEE;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(123, 90, 238, 0.15);
    border-radius: 12px;
}

/* Estilos diferentes para "Mi cuenta" - más oscuro */
.user-account {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.08);
    padding: 10px 16px;
    border-radius: 20px;
    color: #333;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.user-account:hover {
    background: rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.user-account:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-arrow {
    font-size: 12px !important;
    transition: transform 0.3s ease;
}

/* Header logo styling */
.header-logo {
    height: 45px;
    width: auto;
}

/* Map iframe */
.map-iframe {
    border: 0;
    border-radius: 8px;
}

/* Social icons */
.social-facebook {
    color: #7B5AEE;
}

.social-instagram {
    color: #FF8A3D;
}

/* Auth modal hidden elements */
.auth-back-btn-hidden,
.auth-message-hidden,
.auth-form-hidden {
    display: none;
}

/* Register form styles */
.register-terms {
    font-size: 12px;
    color: #7f8c8d;
    text-align: center;
    margin-top: 15px;
}

.register-email-bold {
    font-weight: bold;
}

/* ==================== ESTILOS DE OFERTAS ==================== */

/* Badge de oferta INLINE - En la sección de pricing */
.offer-badge-inline {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 11px;
    box-shadow: 0 2px 12px rgba(255, 107, 53, 0.4);
    animation: pulse 2s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    margin-left: 8px;
    pointer-events: none; /* No interfiere con clicks */
}

.offer-badge-inline i {
    font-size: 12px;
    animation: flame 1.5s ease-in-out infinite;
}

.offer-badge-inline .offer-discount {
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
}

.offer-badge-inline .offer-label {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Animación de pulso para el badge */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 30px rgba(255, 107, 53, 0.6);
    }
}

/* Animación de llama */
@keyframes flame {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    25% {
        transform: translateY(-3px) scale(1.1);
    }
    50% {
        transform: translateY(0) scale(0.95);
    }
    75% {
        transform: translateY(-2px) scale(1.05);
    }
}

/* Contador regresivo de oferta - INLINE en pricing */
.offer-countdown-inline {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 11px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
    animation: pulse 2s ease-in-out infinite;
    white-space: nowrap;
    margin-left: 8px;
    pointer-events: none; /* No interfiere con clicks */
}

.offer-countdown-inline i {
    font-size: 11px;
    animation: spinSlow 3s linear infinite;
}

.offer-countdown-inline .countdown-timer {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.3px;
}

/* Contenedor de pricing con layout mejorado */
.pricing-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Animación de rotación lenta para el reloj de arena */
@keyframes spinSlow {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
}

/* Animación de rotación lenta para el reloj de arena */
@keyframes spinSlow {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
}

/* Estado de urgencia cuando quedan menos de 1 hora */
.offer-countdown-inline.urgent {
    animation: pulse 1s ease-in-out infinite;
    box-shadow: 0 2px 12px rgba(255, 107, 53, 0.5);
}

/* Mensaje de oferta debajo del título */
.offer-message {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe8a8 100%);
    color: #856404;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin: 6px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    border-left: 3px solid #f7931e;
    line-height: 1.3;
    pointer-events: none; /* No interfiere con clicks */
}

.offer-message i {
    color: #f7931e;
    font-size: 12px;
    flex-shrink: 0;
}

/* Estilos de precios con oferta */
.price-with-offer {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}

.offer-price {
    font-size: 24px;
    font-weight: 700;
    color: #ff6b35;
    text-shadow: 0 2px 4px rgba(255, 107, 53, 0.2);
}

/* Efecto hover en tarjetas con oferta */
.service-item-card.has-offer {
    position: relative;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.service-item-card.has-offer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, #ff6b35, #f7931e, #ff6b35);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-item-card.has-offer:hover::before {
    opacity: 1;
}

.service-item-card.has-offer:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .offer-badge-inline {
        padding: 4px 8px;
        font-size: 10px;
        margin-left: 5px;
        gap: 3px;
    }
    
    .offer-badge-inline .offer-discount {
        font-size: 12px;
    }
    
    .offer-badge-inline i {
        font-size: 10px;
    }
    
    .offer-badge-inline .offer-label {
        font-size: 8px;
    }
    
    .offer-countdown-inline {
        padding: 3px 8px;
        font-size: 10px;
        margin-left: 5px;
    }
    
    .offer-countdown-inline i {
        font-size: 10px;
    }
    
    .offer-countdown-inline .countdown-timer {
        font-size: 10px;
    }
    
    .pricing-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .offer-message {
        font-size: 11px;
        padding: 5px 8px;
    }
    
    .offer-message i {
        font-size: 11px;
    }
    
    .offer-price {
        font-size: 18px;
    }
    
    .original-price {
        font-size: 12px;
    }
}