
/* Mode sombre */
body.dark-mode {
    background-color: #121212;
    color: #f0f0f0;
}

body.dark-mode .card {
    background-color: #1e1e1e;
}

body.dark-mode header, 
body.dark-mode footer {
    background: linear-gradient(135deg, #6a0dad 0%, #2a0147 100%);
}

/* Header styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #6a0dad 0%, #2a0147 100%);
    color: white;
    padding: 15px 5%;
    width: 100%;
    height: 80px;
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.logo {
    display: flex;
    align-items: center;
}

.logo h2 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(to right, #fff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo-highlight {
    position: relative;
    color: #fff;
}

.logo-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ff6b6b;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.logo:hover .logo-highlight::after {
    transform: scaleX(1);
    transform-origin: left;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    font-size: 1rem;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-link.active {
    background: white;
    color: #6a0dad;
    box-shadow: 0 4px 10px rgba(209, 144, 144, 0.1);
}

/* Menu icon animation */
.menu-icon {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar1, .bar2, .bar3 {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.4s ease-in-out;
}

.change .bar1 {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: rotate(45deg) translate(-6px, -6px);
}

/* Menu secret styles */
.menu-secret {
    position: fixed;
    top: 80px;
    right: -300px;
    width: 250px;
    background: #f9f9f9;
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px 0 0 5px;
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 999;
}

body.dark-mode .menu-secret {
    background: #1e1e1e;
}

.menu-secret.active {
    right: 0;
}

.menu-secret ul {
    list-style: none;
}

.menu-secret li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.menu-secret li:hover {
    transform: translateX(5px);
}

.menu-secret a {
    color: #333333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

body.dark-mode .menu-secret a {
    color: #f0f0f0;
}

.menu-secret i {
    width: 20px;
    text-align: center;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(106, 13, 173, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(106, 13, 173, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(106, 13, 173, 0);
    }
}

/* Footer styles */
footer {
    background: linear-gradient(135deg, #2a0147 0%, #6a0dad 100%);
    color: white;
    padding: 60px 5% 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-logo p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.link-column {
    min-width: 150px;
}

.link-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.link-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: white;
}

.link-column a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    font-size: 0.9rem;
}

.link-column a:hover {
    color: white;
    transform: translateX(5px);
}

.link-column a i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.social-icons a:hover {
    background: white;
    color: #6a0dad;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.7;
}


@media (max-width: 992px) {
    nav ul {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }
    
    nav ul {
        display: none;
    }
    
    .menu-icon {
        display: block;
    }
}