@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

.title-font {
    font-family: 'Inter', sans-serif;
}

/* Scroll suave personalizado */
html {
    scroll-behavior: smooth;
}

/* Dark Mode Styles */
.dark body {
    background-color: #000000 !important;
    color: #ffffff !important;
}

.dark #hero {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2d2d2d 100%) !important;
}

/* Navegación */
.dark nav {
    background-color: #000000 !important;
    border-bottom: 1px solid #333333 !important;
}

/* Todas las secciones principales */
.dark section {
    background-color: #000000 !important;
}

/* Secciones con gradientes específicos */
.dark .bg-gradient-to-br {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2d2d2d 100%) !important;
}

.dark .bg-gradient-to-b {
    background: linear-gradient(to bottom, #000000, #1a1a1a) !important;
}

.dark .bg-gradient-to-r {
    background: linear-gradient(to right, #000000, #1a1a1a) !important;
}

/* Secciones con colores específicos */
.dark .bg-slate-50,
.dark .bg-gray-50,
.dark .bg-light-blue,
.dark .bg-white {
    background-color: #000000 !important;
}

.dark .bg-gray-100 {
    background-color: #1a1a1a !important;
}

.dark .bg-gray-200 {
    background-color: #2d2d2d !important;
}

/* Footer */
.dark footer {
    background-color: #000000 !important;
}

/* Tarjetas y elementos flotantes */
.dark .feature-card,
.dark .testimonial-card,
.dark .benefits-card {
    background-color: #1a1a1a !important;
    border: 1px solid #333333 !important;
}

/* TEXTOS - INVERSIÓN COMPLETA */
.dark .text-gray-900,
.dark .text-black {
    color: #ffffff !important;
}

.dark .text-gray-800 {
    color: #f0f0f0 !important;
}

.dark .text-gray-700 {
    color: #e0e0e0 !important;
}

.dark .text-gray-600 {
    color: #cccccc !important;
}

.dark .text-gray-500 {
    color: #999999 !important;
}

.dark .text-gray-400 {
    color: #666666 !important;
}

.dark .text-gray-300 {
    color: #4d4d4d !important;
}

/* Colores específicos - AMARILLO */
.dark .text-yellow-600,
.dark .text-yellow-500,
.dark .text-yellow-400 {
    color: #fbbf24 !important;
}

.dark .bg-yellow-50 {
    background-color: #1a1a1a !important;
}

.dark .bg-yellow-100 {
    background-color: #2d2d2d !important;
}

.dark .bg-yellow-500 {
    background-color: #fbbf24 !important;
}

.dark .bg-yellow-600 {
    background-color: #f59e0b !important;
}

.dark .border-yellow-200 {
    border-color: #7f1d1d !important;
}

/* Animaciones personalizadas */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(2deg); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(30px) rotate(-2deg); }
}

@keyframes pulse-slow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes text-glow {
    0%, 100% { text-shadow: 0 0 5px rgba(251, 191, 36, 0.3); }
    50% { text-shadow: 0 0 20px rgba(251, 191, 36, 0.6), 0 0 30px rgba(251, 191, 36, 0.4); }
}

@keyframes gradient-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

.animate-float-slow { 
    animation: float-slow 8s ease-in-out infinite; 
}

.animate-float-reverse { 
    animation: float-reverse 10s ease-in-out infinite; 
}

.animate-pulse-slow { 
    animation: pulse-slow 4s ease-in-out infinite; 
}

.animate-text-glow { 
    animation: text-glow 3s ease-in-out infinite; 
}

.animate-gradient { 
    animation: gradient-move 8s ease infinite; 
    background-size: 200% 200%; 
}

/* Enlaces */
.dark a {
    color: #cccccc !important;
}

.dark a:hover {
    color: #ffffff !important;
}

/* Dark mode navbar hover contrast */
.dark nav a:hover {
    color: #000000 !important;
}

.dark nav a:hover span {
    color: #000000 !important;
}

/* Color preservation classes - these colors should remain the same in both modes */
.preserve-red-600 {
    color: #dc2626 !important;
}

.preserve-blue-600 {
    color: #2563eb !important;
}

.preserve-green-600 {
    color: #16a34a !important;
}

.preserve-purple-600 {
    color: #9333ea !important;
}

.preserve-orange-600 {
    color: #ea580c !important;
}

.preserve-yellow-600 {
    color: #ca8a04 !important;
}

.preserve-indigo-600 {
    color: #4f46e5 !important;
}

.preserve-teal-600 {
    color: #0d9488 !important;
}

.preserve-cyan-600 {
    color: #0891b2 !important;
}

.preserve-emerald-600 {
    color: #059669 !important;
}

.preserve-pink-600 {
    color: #db2777 !important;
}

.preserve-rose-600 {
    color: #e11d48 !important;
}

.preserve-violet-600 {
    color: #7c3aed !important;
}

.preserve-sky-600 {
    color: #0284c7 !important;
}

.preserve-lime-600 {
    color: #65a30d !important;
}

/* Fixed yellow color for specific elements */
.fixed-yellow-color {
    color: #eab308 !important;
    text-shadow: 0 0 8px rgba(234, 179, 8, 0.3) !important;
}

.dark .fixed-yellow-color {
    color: #eab308 !important;
    text-shadow: 0 0 12px rgba(234, 179, 8, 0.8), 0 0 24px rgba(234, 179, 8, 0.4), 0 0 36px rgba(234, 179, 8, 0.2) !important;
}

