/* ========== STYLES IDENTIQUES AU SITE ========== */

 :root {
    --primary-orange: #E67E22;
    --primary-color: var(--primary-orange);
    --primary-dark: #C65F1E;
    --secondary-color: #2C3E50;
    --accent-color: #333333;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --header-height: 80px;
    --topbar-height: 50px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    overflow-x: hidden;
    padding-top: 0;
    transition: padding-top 0.3s ease;
}

body.header-fixed {
    padding-top: var(--header-height);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}


/* Header & Navigation */


/* Header & Navigation */

.top-bar {
    background-color: var(--accent-color);
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: relative;
    z-index: 1031;
}

.top-bar.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

.top-bar a {
    color: var(--primary-orange);
    text-decoration: none;
}

.top-bar a:hover {
    text-decoration: underline;
}

.main-header {
    background-color: white;
    padding: 15px 0;
    transition: all 0.3s ease;
    width: 100%;
    z-index: 1030;
}

.main-header.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(6px);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--accent-color);
    text-decoration: none;
}

.logo span {
    color: var(--primary-orange);
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--dark-color) !important;
    margin: 0 10px;
    padding: 8px 15px !important;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: var(--primary-orange);
    color: white !important;
}


/* ================= ACTIVE LINKS ================= */

.navbar-nav .nav-link.active {
    background-color: var(--primary-orange);
    color: white !important;
}

.dropdown-item.active {
    background-color: var(--primary-orange);
    color: white !important;
}

.nav-item.dropdown>.nav-link.active {
    background-color: var(--primary-orange);
    color: white !important;
}

.btn-don {
    background-color: var(--primary-orange);
    color: white !important;
    font-weight: 700;
    padding: 10px 25px !important;
    border-radius: 5px;
    border: none;
    transition: all 0.3s ease;
}

.btn-don:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}


/* Dropdown Styles */

.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    top: 100%;
    left: 0;
}

.dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    margin-top: 0;
    /* IMPORTANT */
    border-top: 3px solid var(--primary-orange)
}

.dropdown-item {
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-orange);
    color: white;
    padding-left: 30px;
}

.dropdown-toggle::after {
    display: none !important;
}


/* Back to top button */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}


/* Page Header */

.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/Lessaliennes/mama1.png');
    background-size: cover;
    background-position: center 30%;
    padding: 120px 0 80px;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-orange);
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}


/* Sections */

.section-padding {
    padding: 80px 0;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
}

.section-title h2 {
    font-weight: 800;
    color: var(--accent-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--primary-orange);
    bottom: 0;
    left: 0;
}

.section-title.center-title h2:after {
    left: 50%;
    transform: translateX(-50%);
}


/* Team Cards */

.team-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--primary-orange);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h4 {
    color: var(--accent-color);
    margin-bottom: 5px;
    font-weight: 700;
}

.team-card .team-title {
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.team-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
}

.team-link {
    color: var(--primary-orange);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin-top: auto;
}

.team-link:hover {
    gap: 10px;
    color: var(--primary-dark);
}

.team-bio-more {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: left;
    font-size: 0.9rem;
    color: #555;
}

.team-bio-more.show {
    display: block;
}


/* Footer */

.contact-info {
    margin-bottom: 30px;
}

.contact-info i {
    color: var(--primary-orange);
    margin-right: 10px;
    width: 20px;
}

.newsletter-form .form-control {
    border-radius: 5px 0 0 5px;
    border: 1px solid #ddd;
}

.newsletter-form .btn {
    border-radius: 0 5px 5px 0;
    background-color: var(--primary-orange);
    color: white;
    border: 1px solid var(--primary-orange);
    font-weight: 600;
}

footer {
    background-color: var(--accent-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-orange);
    color: white;
    transform: translateY(-5px);
}


/* Un autre css de l'équipe */
.team-bio-more {
    display: none;
    margin-top: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid #eee;
}
.team-bio-more.show {
    display: block;
}

/* Responsive */

@media (max-width: 992px) {
    .navbar-nav .nav-link {
        margin: 5px 0;
    }
    body.header-fixed {
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    .top-bar .social-icons {
        justify-content: center;
        margin-top: 10px;
    }
    .logo {
        font-size: 1.5rem;
    }
    .top-bar .social-icons {
        justify-content: center;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .page-header {
        padding: 80px 0 60px;
    }
    .page-header h1 {
        font-size: 2rem;
    }
    .team-avatar {
        width: 100px;
        height: 100px;
    }
    .top-bar .row>div {
        text-align: center !important;
        justify-content: center !important;
    }
    .top-bar .social-icons {
        margin-left: 0 !important;
        margin-top: 5px;
    }
}

@media (max-width: 400px) {
    .logo {
        font-size: 1.3rem;
    }
}


/* Toast Notification */

.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: white;
    color: var(--dark-color);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12), 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1050;
    max-width: 380px;
    width: calc(100% - 60px);
    transform: translateX(calc(100% + 60px));
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-left: 4px solid var(--primary-orange);
    font-family: 'Poppins', sans-serif;
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-icon {
    background-color: var(--primary-orange);
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-orange);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.toast-message {
    font-size: 0.95rem;
    color: var(--dark-color);
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0 5px;
    transition: color 0.2s;
    line-height: 1;
    flex-shrink: 0;
}

.toast-close:hover {
    color: var(--primary-orange);
}

@media (max-width: 576px) {
    .toast-notification {
        bottom: 20px;
        right: 20px;
        padding: 12px 16px;
        max-width: calc(100% - 40px);
        width: calc(100% - 40px);
    }
    .toast-icon {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
    .toast-title {
        font-size: 0.9rem;
    }
    .toast-message {
        font-size: 0.85rem;
    }
}