/* Styles pour le hero de la page de profil organisation */

/* Hero principal */
.organization-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Image de fond */
.organization-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Overlay sombre */
.organization-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

/* Contenu du hero */
.organization-hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80%;
}

/* Header avec logo et nom */
.organization-hero-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out;
}

/* Titre principal */
.organization-hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.1s both;
}

.organization-hero-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

/* Badges */
.organization-hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.organization-hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.organization-hero-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.organization-hero-badge svg {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

/* Logo de l'organisation */
.organization-hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    animation: fadeInUp 1s ease-out 0.1s both;
}

.organization-hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.organization-hero-logo svg {
    width: 60px;
    height: 60px;
    color: white;
}

/* Vertical display */
.organization-hero-vertical {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Actions principales */
.organization-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: stretch;
    animation: fadeInUp 1s ease-out 0.6s both;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    width: 100%;
}

.organization-hero-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.125rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    min-width: 200px;
    height: 56px;
    position: relative;
    z-index: 10;
    box-sizing: border-box;
}

/* Bouton principal */
.organization-hero-btn-primary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.organization-hero-btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.organization-hero-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
}

/* Indicateur de scroll */
.organization-hero-scroll {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 10;
    animation: bounce 2s infinite;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 50%;
}

.organization-hero-scroll:hover {
    color: rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transform: translateY(-2px);
}

.organization-hero-scroll svg {
    width: 1.5rem;
    height: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 639px) {
    .organization-hero-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .organization-hero-title-wrapper {
        align-items: center;
        text-align: center;
    }
    
    .organization-hero-title {
        font-size: 2rem;
    }
    
    .organization-hero-logo {
        width: 80px;
        height: 80px;
    }
    
    .organization-hero-logo svg {
        width: 40px;
        height: 40px;
    }
    
    .organization-hero-btn {
        width: 100%;
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}

@media (min-width: 640px) {
    .organization-hero-title {
        font-size: 3.5rem;
    }
    
    .organization-hero-actions {
        flex-direction: row;
        gap: 1.5rem;
        align-items: center;
    }
    
    .organization-hero-btn {
        min-width: 180px;
        flex: 1;
        max-width: 250px;
    }
}

@media (min-width: 768px) {
    .organization-hero-title {
        font-size: 4rem;
    }
    
    .organization-hero {
        min-height: 60vh;
    }
}

@media (min-width: 1024px) {
    .organization-hero-title {
        font-size: 5rem;
    }
    
    .organization-hero {
        min-height: 60vh;
    }
}

/* Améliorations pour les écrans très larges */
@media (min-width: 1280px) {
    .organization-hero-title {
        font-size: 6rem;
    }
}

/* Mode sombre et préférences utilisateur */
@media (prefers-reduced-motion: reduce) {
    .organization-hero-title,
    .organization-hero-badge,
    .organization-hero-actions {
        animation: none;
    }
    
    .organization-hero-scroll {
        animation: none;
    }
    
    .organization-hero-btn:hover {
        transform: none;
    }
}

/* Amélioration de l'accessibilité */
.organization-hero-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* Fallback pour les navigateurs sans support backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
    .organization-hero-badge,
    .organization-hero-btn-primary {
        background: rgba(255, 255, 255, 0.3);
    }
}

