﻿/* Styles pour l'identité visuelle - Logo HD Business Club */

/* Container du logo dans le header */
.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.05);
    transition: all 0.3s ease;
}

.logo-image:hover {
    filter: brightness(1.2) contrast(1.1);
    transform: scale(1.05);
}

.logo-text h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.logo-text .tagline {
    font-size: 0.9rem;
    color: #ccc;
    margin: 0;
    font-style: italic;
}

/* Footer avec logo */
.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.05);
    opacity: 0.9;
}

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

.footer-text p {
    margin: 0;
    line-height: 1.4;
}

.footer-tagline {
    font-size: 0.85rem;
    opacity: 0.8;
    font-style: italic;
}

/* Écran de chargement personnalisé */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    gap: 2rem;
}

.loading-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.2) contrast(1.1);
    animation: logoFloating 2s ease-in-out infinite alternate;
}

@keyframes logoFloating {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-10px);
    }
}

.loading-progress-text {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 1rem;
    animation: textPulse 1.5s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
}

/* Responsive design pour le logo */
@media (max-width: 768px) {
    .logo-container {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .logo-image {
        height: 50px;
    }
    
    .logo-text h1 {
        font-size: 1.5rem;
        margin-bottom: 0.1rem;
    }
    
    .logo-text .tagline {
        font-size: 0.8rem;
    }
    
    .footer-logo {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .footer-logo-image {
        height: 35px;
    }
    
    .footer-text {
        text-align: center;
    }
    
    .loading-logo {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .logo-container {
        gap: 0.25rem;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .logo-text h1 {
        font-size: 1.3rem;
    }
    
    .logo-text .tagline {
        font-size: 0.75rem;
    }
    
    .footer-logo-image {
        height: 30px;
    }
    
    .loading-logo {
        height: 60px;
    }
    
    .loading-progress-text {
        font-size: 1rem;
    }
}

/* Animation d'entrée pour le logo */
@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    animation: logoFadeIn 0.6s ease-out;
}

/* Amélioration visuelle pour la cohérence de marque */
.logo-container, .footer-logo {
    position: relative;
}

.logo-container::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, transparent 100%);
    opacity: 0.6;
}

/* Effet de brillance subtil sur le logo */
.logo-image {
    position: relative;
    overflow: hidden;
}

.logo-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.logo-image:hover::before {
    left: 100%;
}
