/* Variables */
:root {
    --gold: #D4AF37;
    --silver: #C0C0C0;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
    --dark-gold: #B8860B;
    --text-color: #333333;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-color);
    position: relative;
    overflow-x: hidden;
}

/* Header */
header {
    /* background: rgba(255, 255, 255, 0.95); */
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--gold);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: background 0.3s, padding 0.3s;
}

header.scrolled {
    padding: 0.8rem 5%;
    /* background: rgba(255, 255, 255, 0.98); */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 40px;
}

.logo h1 {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(45deg, var(--gold), var(--silver));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 300;
}

.logo-icon {
    color: var(--gold);
    font-size: 2.2rem;
    height: 2.2rem;
}

/* Navigation */
nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    transition: color 0.3s;
    font-weight: 400;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: width 0.3s;
}

nav a:hover {
    color: var(--gold);
}

nav a:hover::after {
    width: 100%;
}

/* Icônes */
.icons {
    display: flex;
    gap: 1.8rem;
}

.icon {
    color: var(--text-color);
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.3s;
}

.icon:hover {
    color: var(--gold);
}

/* Burger Menu */
.burger-menu {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-color);
    transition: color 0.3s;
}

.burger-menu:hover {
    color: var(--gold);
}

/* Menu mobile */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 200;
    padding: 5rem 2rem;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.close-menu {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    transition: color 0.3s;
}

.close-menu:hover {
    color: var(--gold);
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    margin-bottom: 1.5rem;
}

.mobile-menu a {
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1.5px;
    font-weight: 400;
    transition: color 0.3s;
    display: block;
}

.mobile-menu a:hover {
    color: var(--gold);
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 992px) {
    nav {
        display: none;
    }

    .burger-menu {
        display: block;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .logo h1 {
        display: none;
    }

    .our-story {
        grid-template-columns: 1fr;
    }

    .story-image {
        order: -1;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    padding: 5rem 10% 2rem;
    background-color: var(--white);
    border-top: 1px solid var(--medium-gray);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.8rem;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 1px;
    background-color: var(--gold);
    bottom: -8px;
    left: 0;
}

.footer-col ul {
    list-style-type: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul li a {
    color: #777;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
    font-weight: 300;
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-icons a {
    color: #777;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--gold);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--medium-gray);
    color: #777;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.icon-badge {
    display: inline-block;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--gold);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    animation: pulse 2s infinite;
}

/* // >> ICI << // */

.alert {
    position: relative;
    margin-top: 80px;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}

.alert-dismissible {
    padding-right: 3rem;
}

.alert-dismissible .btn-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    padding: 1.25rem 1rem;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.fade {
    transition: opacity 0.15s linear;
}

.show {
    opacity: 1;
}

/* Animation pour l'effet de "fade" */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fade.show {
    animation: fadeIn 0.3s;
}

.bganimated {
    position: relative;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    background: #D4AF37;
    color: white;
}