/*
Theme Name: budgetparticipatif
Theme URI: https://www.verdun.fr/budgetparticipatif/
Author: Stéphanie Torzecki
*/


/* Effet de zoom sur l'image */
.card-img-wrapper {
    overflow: hidden; 
}

.zoom {
    transition: transform 0.3s ease; 
}

.zoom:hover {
    transform: scale(1.1); 
}




/* --- Frise Horizontale --- */
.timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-bottom: 20px;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ee7330;
    z-index: 0;
}

.timeline-item {
    position: relative;
    text-align: center;
    width: 120px;
}

.timeline-item .circle {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    border: 3px solid #55bcb9;
    line-height: 40px;
    color: #55bcb9;
    font-size: 18px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    z-index: 1;
}

.timeline-item .circle i {
    font-size: 18px;
}

.timeline-item.completed .circle {
    background-color: #55bcb9;
    color: #fff;
}

.timeline-item.in-progress .circle {
    background-color: #ee7330;
    color: #fff;
    border-color: #ee7330;
}

.timeline-item.blocked .circle {
    border-color: #dc3545;
    color: #dc3545;
}

.timeline-item .step-title {
    margin-top: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.timeline-item .step-date {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

/* Accordéon - Mobile */
@media (max-width: 768px) {
    /* Cache la frise horizontale sur les petits écrans */
    .timeline {
        display: none;
    }

    /* Affiche l'accordéon sur les petits écrans */
    .accordion {
        display: block;
    }
}

/* Frise Horizontale - Desktop */
@media (min-width: 769px) {
    /* Cache l'accordéon sur les grands écrans */
    .accordion {
        display: none;
    }

    /* Affiche la frise horizontale sur les grands écrans */
    .timeline {
        display: flex;
    }
}


/* --- Section de Contenu --- */
.content-section {
    display: none;
    margin-top: 40px;
    padding: 20px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
}

#content-title {
    display: none;
}

.single-line-title {
    white-space: nowrap;
}

/* --- Liens et Texte --- */
a {
	color: inherit; 
    text-decoration: none;
}

.timeline-item .step-title a, 
.timeline-item .step-date a {
    text-decoration: none; /* Enlève le soulignement des liens dans le titre et la date */
}

.timeline a {
    text-decoration: none;
}


h2 {
    color: #55bcb9;
    font-weight: bold;
}

/* Liens pour .text-secondary */
.text-secondary {
    color: #55bcb9 !important;
    text-decoration: none;
}

.text-secondary:link {
    color: #55bcb9 !important;
    text-decoration: none;
}

.text-secondary:visited {
    color: #55bcb9 !important;
    text-decoration: none;
}

.text-secondary:hover {
    color: #55bcb9 !important;
    text-decoration: underline;
}

.text-secondary:active {
    color: #ee7330 !important;
}

.text-secondary:focus {
    outline: 2px solid #ee7330; /* Ajoute un contour lorsqu'il est sélectionné via le clavier */
    outline-offset: 2px;
}

/* --- Formulaires --- */
.wpcf7 form, form.custom-form {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.wpcf7 input, .wpcf7 textarea, .wpcf7 select,
form.custom-form input,
form.custom-form textarea,
form.custom-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.wpcf7 input[type="submit"], form.custom-form input[type="submit"] {
    background-color: #55bcb9;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
}

.wpcf7 input[type="submit"]:hover, form.custom-form input[type="submit"]:hover {
    background-color: #218838;
}

/* --- Boutons --- */
.bg-orange {
    background-color: #ee7330; !important;
    color: white;
    padding: 15px;
}


.bg-orange:hover {
    background-color: #ee7330;
    cursor: pointer;
}

.bg-orange:focus {
    background-color: #ee7330;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.bg-orange:active {
    background-color: #ee7330;
    transform: scale(0.98);
}


.bg-green, .bg-green:link {
    background-color: #55bcb9 !important;
    color: white !important;
    padding: 15px;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.bg-green:hover {
    background-color: #4caea7;
    cursor: pointer;
}

.bg-green:focus {
    background-color: #4caea7;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.bg-green:active {
    background-color: #409e94;
    transform: scale(0.98);
}


.bg-primary {
    background-color: #55bcb9;!important;
}

.text-primary {
    color: #55bcb9; !important;
}

a {
    color: #55bcb9;
    text-decoration: none;
}

a:hover {
    color: #4caea7;
}

a:focus {
    color: #409e94;
}


/* --- Navigation --- */
.navbar-dark .navbar-nav .nav-link {
    color: #ffffff !important;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:active {
    color: #ffffff !important;
}


#breadcrumb-section .breadcrumb a {
    color: #55bcb9; 
}

#breadcrumb-section .breadcrumb a:hover {
    color: #55bcb9; 
}


a {
    color: #55bcb9;
    text-decoration: none;
}

a:hover {
    color: #ee7330;
    text-decoration: underline;
}

a:focus {
    color: #ee7330;
    outline: none;
    text-decoration: underline;
}




/* --- Bouton Retour en haut --- */
#topBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    text-align: center;
    line-height: 50px;
}

#topBtn:hover {
    transform: scale(1.1);
}

/* --- Boutons Primaires --- */
.btn-primary {
    background-color: #3e9691;
    border-color: #3e9691;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #35736f;
    border-color: #35736f;
}


.download-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #55bcb9;
    color: white;
    font-size: 16px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #4caea7;
}





/* --- Modals --- */
.modal-content {
    border-radius: 1rem;
}
