/* Styles pour les pages de constructeurs */

/* Bannière pleine hauteur */
.constructeur-banner {
    position: relative;
    width: 100%;
    height: 100vh; /* Hauteur de la fenêtre visible */
    overflow: hidden;
}

/* Conteneur d'image */
.constructeur-banner .image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Conteneur vidéo */
.constructeur-banner .video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.constructeur-banner .fullscreen-video {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Overlay pour le contenu */
.constructeur-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Fond semi-transparent */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

/* Logo de la marque */
.constructeur-banner .brand-logo {
    max-width: 500px;
    margin: 0 auto 20px;
}

.constructeur-banner .brand-logo img {
    max-height: 120px;
    width: auto;
}

/* Titre de la marque */
.constructeur-banner .brand-title {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* Badge concessionnaire officiel */
.constructeur-banner .official-dealer-badge {
    display: inline-block;
    color: white;
    font-weight: 700;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
    font-size: 1rem;
}

/* Styles responsive */
@media (max-width: 768px) {
    .constructeur-banner .brand-title {
        font-size: 2rem;
    }
    
    .constructeur-banner .brand-logo {
        max-width: 150px;
    }
}

/* Ajustement pour que le contenu principal commence après la bannière */
.constructeur-banner + #content {
    margin-top: 30px;
}

.tax-constructeur .taxonomy-logo {
    background-color: var(--morel-secondary);
    padding: 10px;
    margin-bottom: 10px;
}


.tax-constructeur .dealer-info {
    color: var(--morel-secondary);
    line-height: 1.5;
    border-bottom: 1px solid var(--morel-secondary);
    margin-bottom: 10px;
    padding: 10px 0;
}

.tax-constructeur .dealer-info h5 {
    color:  var(--morel-secondary);
}
