
/* VARIABLES CSS GLOBALES */
:root {
    /* Couleurs officielles Mulhouse Water-Polo */
    --rouge-mwp: #ED1C24;
    --bleu-mwp: #003366;
    --blanc: #FFFFFF;
    --noir: #000000;
    --gris-clair: #F5F5F5;
    --gris-moyen: #CCCCCC;
    --gris-fonce: #666666;
    --primary-light: #dbeafe;
    --vert: #40a02b;
    

    --font-principale: Arial, Helvetica, sans-serif;
    
  
    --espacement-petit: 10px;
    --espacement-moyen: 20px;
    --espacement-grand: 40px;
    

    --rayon-bordure: 5px;
}

/* CSS BASIQUE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: var(--font-principale);
    line-height: 1.6;
    color: var(--noir);
    background-color: var(--blanc);
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}



/* HEADER.CSS */

.top-bar {
    background-color: var(--rouge-mwp);
    color: var(--blanc);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 20px;
}

.social-link {
    color: var(--blanc);
    font-size: 13px;
    transition: opacity 0.3s;
}

.social-link:hover {
    opacity: 0.8;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.top-bar-icon {
    color: var(--blanc);
    display: flex;
    align-items: center;
    position: relative;
    transition: opacity 0.3s;
}

.top-bar-icon:hover {
    opacity: 0.8;
}

.cart-icon {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--blanc);
    color: var(--rouge-mwp);
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    line-height: 1;
}

.btn-boutique {
    background-color: var(--blanc);
    color: var(--rouge-mwp);
    font-weight: bold;
    font-size: 12px;
    padding: 6px 20px;
    border-radius: 2px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-boutique:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.site-header {
    background-color: var(--blanc);
    border-bottom: 1px solid #ddd;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.site-logo a {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--noir);
    line-height: 1.2;
}

.logo-tagline {
    font-size: 15px;
    color: var(--rouge-mwp);
    font-weight: bold;
}

/* NAVIGATION */
.main-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-link {
    display: block;
    padding: 10px 18px;
    font-size: 16px;
    font-weight: 600;
    color: var(--noir);
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--bleu-mwp);
    background-color: var(--primary-light);
}


.nav-link.active {
    background-color: var(--bleu-mwp);
    color: var(--blanc);
    border-radius: 2px;
}

/* BOUTON RÉSEAUX SOCIAUX */
.social-bar {
    background-color: var(--blanc);
    border-top: 1px solid #eee;
    padding: 12px 0;
}

.social-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

.social-text {
    font-size: 13px;
    color: var(--noir);
}

.social-buttons {
    display: flex;
    gap: 10px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px;
    width: 32px;
    height: 32px;
    font-size: 12px;
    font-weight: 600;
    color: var(--blanc);
    background-color: var(--rouge-mwp);
    border-radius: 50%;
    transition: all 0.3s;
    border: 2px solid var(--rouge-mwp);
}

.social-btn:hover {
    background-color: var(--blanc);
    color: var(--rouge-mwp);
    border-color: var(--rouge-mwp);
    transform: scale(1.1);
}

.social-btn svg {
    width: 16px;
    height: 16px;
}

/* RESPONSIVE - TABLETTE */
@media (max-width: 1024px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }

    .main-nav {
        width: 100%;
        justify-content: center;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .social-container {
        justify-content: center;
    }
}

/* RESPONSIVE - MOBILE */
@media (max-width: 768px) {
    .top-bar-left {
        display: none;
    }

    .top-bar-container {
        justify-content: flex-end;
    }

    .logo-img {
        width: 60px;
        height: 60px;
    }

    .logo-title {
        font-size: 15px;
    }

    .logo-tagline {
        font-size: 10px;
    }

    .nav-menu {
        gap: 0;
    }

    .nav-link {
        padding: 8px 12px;
        font-size: 11px;
    }

    .social-text {
        display: none;
    }

    .social-container {
        justify-content: center;
    }
}


/* SECTION FOOTER */

.site-footer {
    background-color: #1a1a1a;
    color: var(--blanc);
    padding: 50px 20px 20px;
    margin-top: auto;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-column {
    flex: 1;
}

.footer-logo {
    max-width: 200px;
}

.footer-logo-img {
    width: 150px;
    height: auto;
}

.footer-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--blanc);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--rouge-mwp);
}

/* COPYRIGHT */
.footer-copyright {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 20px;
    text-align: center;
}

.footer-copyright p {
    color: #999;
    font-size: 13px;
}

.copyright-link {
    color: var(--rouge-mwp);
    font-weight: bold;
    transition: color 0.3s;
}

.copyright-link:hover {
    color: #ff4444;
}

/* RESPONSIVE FOOTER - TABLETTE */
@media (max-width: 1024px) {
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-logo {
        max-width: 100%;
        text-align: center;
    }
}

/* RESPONSIVE FOOTER - MOBILE */
@media (max-width: 768px) {
    .site-footer {
        padding: 30px 20px 15px;
    }

    .footer-container {
        gap: 30px;
    }

    .footer-copyright p {
        font-size: 11px;
    }
}

.swal2-container {
    z-index: 99999 !important;
}
