/*
Theme Name: Euno
Description: Thème personnalisé pour le site Euno avec landing page intégrée
Author: Votre Nom
Version: 1.0
*/

/* Import des variables CSS */
@import url('assets/css/variables.css');

/* Import des styles de la landing page */
@import url('assets/css/landing.css');

/* Import des animations */
@import url('assets/css/animations.css');

/* Import des pages spécifiques */
@import url('assets/css/pages.css');

/* Reset CSS basique */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    overflow-x: visible; /* Permettre le débordement horizontal pour les flèches */
}

/* Conteneur principal */
.container {
    margin: 0 auto;
    padding: 0 160px;
    max-width: 100%;
}

html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    max-width: 100%;
}

/* === AMÉLIORATION DU FOCUS DES INPUTS === */
/* Suppression du background gris par défaut et ajout d'un contour orange */
input:focus,
textarea:focus,
select:focus {
    background-color: white !important;
    outline: none !important;
    border: 2px solid #FF8C00 !important;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2) !important;
}

/* Pour les inputs dans les formulaires */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.precommande-form input:focus,
.precommande-form textarea:focus,
.precommande-form select:focus {
    background-color: white !important;
    outline: none !important;
    border: 2px solid #FF8C00 !important;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2) !important;
}

/* Styles généraux pour les boutons */
button, 
.btn,
input[type="submit"], 
input[type="button"] {
    /* Styles de base */
    display: inline-block;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    
    /* Style doré/jaune */
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #2c2c2c;
    box-shadow: 
        0 4px 15px rgba(255, 215, 0, 0.3),
        0 2px 5px rgba(0, 0, 0, 0.1);
    
    /* Effet de brillance */
    background-size: 200% 200%;
    animation: shimmer 3s ease-in-out infinite alternate;
}

/* Animation de brillance subtile */
@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

/* États hover et focus */
button:hover, 
.btn:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(255, 215, 0, 0.4),
        0 4px 10px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #FFE55C 0%, #FFB347 100%);
}

button:active, 
.btn:active,
input[type="submit"]:active,
input[type="button"]:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 10px rgba(255, 215, 0, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

button:focus, 
.btn:focus,
input[type="submit"]:focus,
input[type="button"]:focus {
    outline: none;
    box-shadow: 
        0 4px 15px rgba(255, 215, 0, 0.3),
        0 2px 5px rgba(0, 0, 0, 0.1),
        0 0 0 3px rgba(255, 215, 0, 0.2);
}

/* Variantes de tailles */
.btn-small {
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 20px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
    border-radius: 30px;
}

/* Variante secondaire (transparente) */
.btn-secondary {
    background: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    box-shadow: none;
}

.btn-secondary:hover {
    background: #FFD700;
    color: #2c2c2c;
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(255, 215, 0, 0.4),
        0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Bouton désactivé */
button:disabled, 
.btn:disabled,
input[type="submit"]:disabled,
input[type="button"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    animation: none;
}

button:disabled:hover, 
.btn:disabled:hover,
input[type="submit"]:disabled:hover,
input[type="button"]:disabled:hover {
    transform: none;
    box-shadow: 
        0 4px 15px rgba(255, 215, 0, 0.3),
        0 2px 5px rgba(0, 0, 0, 0.1);
}

/* ===== NAVIGATION PAGES LÉGALES ===== */

/* === NAVIGATION LINKS === */
.legal-navigation,
.contact-navigation {
    padding: 2rem 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 2rem;
}

.navigation-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.navigation-links .btn {
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.navigation-links .btn-outline {
    background: white;
    color: #FF8C00;
    border-color: #FFD700;
    box-shadow: none;
}

.navigation-links .btn-outline:hover {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #2c2c2c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.navigation-links .btn-secondary {
    background: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    box-shadow: none;
}

.navigation-links .btn-secondary:hover {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #2c2c2c;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.navigation-links .btn-primary {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #2c2c2c;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.navigation-links .btn-primary:hover {
    background: linear-gradient(135deg, #FFE55C 0%, #FFB347 100%);
    color: #2c2c2c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* === BANDEAU DE COOKIES === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    animation: slideUp 0.6s ease-out forwards;
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 2rem;
}

.cookie-text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.cookie-text p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.4;
    margin: 0;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-close:hover {
    background: #f3f4f6;
    color: #374151;
}

/* === MODAL DE PRÉFÉRENCES === */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.cookie-modal.active {
    display: flex;
}

.cookie-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.cookie-modal-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.cookie-modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.cookie-modal-body {
    padding: 2rem;
}

.cookie-category {
    margin-bottom: 2rem;
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.cookie-category h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.cookie-category p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

/* === SWITCH COOKIES === */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-switch input:checked + .cookie-slider {
    background-color: #FFD700;
}

.cookie-switch input:focus + .cookie-slider {
    box-shadow: 0 0 1px #FFD700;
}

.cookie-switch input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

.cookie-switch input:disabled + .cookie-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding: 1rem 2rem 2rem;
    border-top: 1px solid #e5e7eb;
}

/* === RESPONSIVE COOKIES === */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
    }
    
    .cookie-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-modal {
        padding: 1rem;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 1.5rem;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
}

/* === RESPONSIVE CONTAINER === */
@media (max-width: 1024px) {
    .container {
        padding: 0 70px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .navigation-links {
        flex-direction: column;
        align-items: center;
    }
    
    .navigation-links .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
} 

