/* Custom Styles for Cacahuates Macho Landing Page */

/* Text Shadow Utilities */
.text-shadow-lg {
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.8);
}

.text-shadow-md {
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.6);
}

/* Animations */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px #FFD700, 0 0 10px #FFD700, 0 0 15px #FFD700;
    }
    50% {
        box-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700, 0 0 30px #FFD700;
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Hover Effects */
.hover-glow:hover {
    animation: pulse-glow 2s infinite;
}

.hover-shake:hover {
    animation: shake 0.5s ease-in-out;
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(45deg, #C8102E, #FFD700, #FF6B35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Button Styles */
.btn-macho {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: none;
    color: #000;
    font-weight: bold;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-macho:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #C8102E;
    color: #C8102E;
    font-weight: bold;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background: #C8102E;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 16, 46, 0.3);
}

/* Pricing Card Enhancements */
.pricing-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s;
}

.pricing-card:hover::before {
    left: 100%;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Popular Badge */
.popular-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    font-weight: bold;
    padding: 8px 24px;
    border-radius: 50px;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    animation: pulse-glow 3s infinite;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #C8102E;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Fire Animation for Icons */
.fire-icon {
    color: #FF6B35;
    animation: shake 2s infinite;
}

/* Spicy Pepper Animation */
.pepper-bounce {
    animation: float 2s ease-in-out infinite;
}

/* Counter Styles */
.countdown-container {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    padding: 20px;
    display: inline-block;
}

.countdown-number {
    color: #FFD700;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 0 10px #FFD700;
}

.countdown-label {
    color: white;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.25rem !important;
    }
    
    .section-title {
        font-size: 2.5rem !important;
    }
}

/* Loading Animation for Images */
.image-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Success States */
.success-check {
    color: #10B981;
    font-size: 1.125rem;
}

/* Stock Counter Urgency */
.stock-urgent {
    color: #EF4444 !important;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    border-radius: 50px;
    padding: 15px 20px;
    font-size: 1.125rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #C8102E;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8B0000;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States */
button:focus,
a:focus {
    outline: 2px solid #FFD700;
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .bg-chile-red {
        background-color: #000000 !important;
    }
    
    .text-chile-red {
        color: #FFFFFF !important;
    }
}

/* Print Styles */
@media print {
    .whatsapp-btn,
    .countdown-container,
    button {
        display: none !important;
    }
    
    * {
        color: #000 !important;
        background: #fff !important;
    }
}