/**
 * Styles principaux - Neowise Site
 * Ne pas éditer ce fichier manuellement si vous utilisez Tailwind
 */

/* Configuration de base */
* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Focus styles pour l'accessibilité */
*:focus {
    outline: none;
}

*:focus-visible {
    outline: 2px solid #EE9E24;
    outline-offset: 2px;
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #9ca3af;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* Animation float pour les images hero */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

/* Transitions globales */
* {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-duration: 200ms;
    transition-timing-function: ease-in-out;
}

/* Masquer le scroll horizontal sur mobile */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }

    /* Ajustements mobile */
    h1 {
        font-size: 1.875rem; /* 30px */
    }

    h2 {
        font-size: 1.5rem; /* 24px */
    }

    h3 {
        font-size: 1.25rem; /* 20px */
    }
}

/* Utilitaires personnalisés */
.text-gradient-neowise {
    background: linear-gradient(90deg, #EE9E24, #d88a20);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-neowise {
    box-shadow: 0 10px 30px -10px rgba(32, 30, 65, 0.2);
}

.shadow-neowise-lg {
    box-shadow: 0 20px 50px -20px rgba(32, 30, 65, 0.3);
}

/* Background patterns */
.bg-pattern-dots {
    background-image: radial-gradient(circle, rgba(238, 158, 36, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Glass effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Animations */
@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-slide-left {
    animation: slideLeft 0.5s ease-out;
}

.animate-slide-right {
    animation: slideRight 0.5s ease-out;
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* Selection color */
::selection {
    background-color: #EE9E24;
    color: white;
}

::-moz-selection {
    background-color: #EE9E24;
    color: white;
}

/* Loader (si besoin futur) */
.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #EE9E24;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Print styles */
@media print {
    header, footer, nav {
        display: none;
    }

    body {
        font-size: 12pt;
        color: black;
        background: white;
    }

    a {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }
}
