/* Bootstrap CSS customizado para Ilume+ */
:root {
    --bs-primary: #2563eb;
    --bs-primary-rgb: 37, 99, 235;
    --bs-secondary: #6366f1;
    --bs-secondary-rgb: 99, 102, 241;
    --bs-success: #10b981;
    --bs-success-rgb: 16, 185, 129;
    --bs-info: #06b6d4;
    --bs-info-rgb: 6, 182, 212;
    --bs-warning: #f59e0b;
    --bs-warning-rgb: 245, 158, 11;
    --bs-danger: #ef4444;
    --bs-danger-rgb: 239, 68, 68;
    --bs-light: #f8fafc;
    --bs-light-rgb: 248, 250, 252;
    --bs-dark: #1e293b;
    --bs-dark-rgb: 30, 41, 59;
}

/* Custom Gradient Classes */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
}

.bg-gradient-light {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.text-gradient {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Animations */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-shadow {
    transition: box-shadow 0.3s ease;
}

.hover-shadow:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Custom Components */
.card-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
}

.btn-gradient {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #4f46e5 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.btn-outline-gradient {
    border: 2px solid var(--bs-primary);
    color: var(--bs-primary);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-gradient:hover {
    background: var(--bs-primary);
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.88) 0%, rgba(248, 250, 252, 0.92) 30%, rgba(241, 245, 249, 0.88) 70%, rgba(226, 232, 240, 0.85) 100%),
        url('https://images.pexels.com/photos/3862132/pexels-photo-3862132.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    background-attachment: fixed;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 70%),
        radial-gradient(circle at 70% 80%, rgba(99, 102, 241, 0.06) 0%, transparent 70%),
        linear-gradient(45deg, rgba(255, 255, 255, 0.4) 0%, rgba(248, 250, 252, 0.3) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    color: #1e293b;
}

.hero-section .lead {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    color: #475569;
}
/* Footer */
.footer-dark {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.footer-dark .text-muted {
    color: #94a3b8 !important;
}

.footer-dark .text-muted:hover {
    color: #cbd5e1 !important;
    transition: color 0.3s ease;
}

/* Responsive Images */
.img-demo {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Custom Spacing */
.py-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Object Fit Utilities */
.object-fit-contain {
    object-fit: contain;
}

.object-fit-cover {
    object-fit: cover;
}

/* Cursor Utilities */
.cursor-pointer {
    cursor: pointer;
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Cookie Consent Modal */
.cookie-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1060;
    background: white;
    border-top: 1px solid #dee2e6;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

/* Carousel Custom */
.carousel-demo .carousel-item img {
    height: 400px;
    object-fit: contain;
    background: #f8f9fa;
}

/* Form Enhancements */
.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

/* Utility Classes */
.text-muted-light {
    color: #64748b !important;
}

.bg-light-blue {
    background-color: #eff6ff !important;
}

.bg-light-green {
    background-color: #f0fdf4 !important;
}

.bg-light-purple {
    background-color: #faf5ff !important;
}

.bg-light-orange {
    background-color: #fff7ed !important;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        text-align: center;
    }
    
    .py-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .display-1 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 1.8rem;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* WhatsApp Float Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25d366;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) !important;
    animation: none;
}

/* Z-index utilities */
.z-index-1050 {
    z-index: 1050;
}


/* App Store Section */
.app-download-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 0;
}

.app-store-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.app-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb 0%, #8b5cf6 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}
/* App Store Badges */
.app-store-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.app-store-badge {
    display: inline-block;
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    padding: 8px 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.app-store-badge:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.app-store-badge img {
    height: 50px;
    width: auto;
    display: block;
}

.store-icon {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    border-radius: 8px;
}

.store-text {
    text-align: left;
}

.store-text .small {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 2px;
}

.store-text .fw-bold {
    font-size: 1rem;
    color: #1f2937;
}

@media (max-width: 768px) {
    .app-store-badge img {
        height: 45px;
    }
    
    .app-store-badges {
        gap: 0.5rem;
    }
    
    .app-store-card {
        padding: 2rem 1.5rem;
    }
    
    .app-icon {
        width: 60px;
        height: 60px;
    }
}

/* Logo Styles */
.navbar-brand img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar-brand .brand-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2563eb;
    text-decoration: none;
}

.navbar-brand:hover .brand-text {
    color: #1d4ed8;
}