/* Wolf Rent a Car Colombia - Custom Styles */
/* Brand Colors: Red #d50026 | Blue #2176ae | Dark #11161c */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #d50026;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b50020;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-fade-in-up { animation: fadeInUp 0.6s ease-out forwards; }
.animate-fade-in { animation: fadeIn 0.5s ease-out forwards; }
.animate-slide-in-right { animation: slideInRight 0.5s ease-out forwards; }

/* WhatsApp button pulse */
.fixed.bottom-6.right-6 { animation: pulse-glow 2s infinite; }

/* Vehicle cards hover effect */
.vehicle-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.vehicle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Form focus states - Brand red */
input:focus, select:focus, textarea:focus {
    border-color: #d50026 !important;
}

/* Button loading state */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}
.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 3px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Toast notifications */
.toast-enter { animation: slideInRight 0.3s ease-out; }
.toast-exit { animation: fadeIn 0.3s ease-out reverse; }

/* Image lazy loading placeholder */
.img-placeholder {
    background: linear-gradient(110deg, #e8e8e8 8%, #f5f5f5 18%, #e8e8e8 33%);
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
}
@keyframes shimmer { to { background-position-x: -200%; } }

/* Hero gradient animated background */
.hero-gradient {
    background: linear-gradient(135deg, #11161c 0%, #1e2530 30%, #11161c 60%, #0d1117 100%);
    background-size: 300% 300%;
    animation: gradientShift 8s ease infinite;
}

/* Logo sizing */
.wolf-logo { height: 42px; width: auto; object-fit: contain; }
.wolf-logo-sm { height: 32px; width: auto; object-fit: contain; }
.wolf-logo-lg { height: 60px; width: auto; object-fit: contain; }

/* Brand accent line */
.wolf-accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #d50026, #2176ae);
    border-radius: 2px;
}

/* Brand gradient text */
.wolf-gradient-text {
    background: linear-gradient(135deg, #d50026, #2176ae);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Benefit card hover with brand colors */
.benefit-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid transparent;
}
.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(213, 0, 38, 0.08);
    border-color: rgba(213, 0, 38, 0.15);
}

/* Responsive */
@media (max-width: 640px) {
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.5rem !important; }
    .wolf-logo { height: 36px; }
}

/* Print styles */
@media print {
    nav, footer, .fixed, .sticky { display: none !important; }
    body { background: white; }
}
