/* Global reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
}

a {
    color: #073c75;
    text-decoration: none;
    background-color: transparent;
}

/* Conteneur pour les petits ronds (pagination dots) */
.pagination-dots {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    border: 2px solid #ccc;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #2682C4;
    border: 2px solid #ccc;
}

.dot:hover {
    background-color: #2682C4;
    border: 2px solid #ccc;
}

/* Tooltip au survol */
.dot::after {
    content: attr(data-title);
    position: absolute;
    left: -100px;
    transform: translateY(-50%);
    background-color: #333;
    color: white;
    padding: 5px 8px;
    font-size: 12px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Affichage du tooltip au survol */
.dot:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Hero Section Styles */
.hero-section {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #f4f4f4;
}

.pana-accordion {
    width: 100%;
    height: 100%;
}

.pana-accordion-wrap {
    display: flex;
    width: 100%;
    height: 100%;
}

.pana-accordion-item {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    transition: flex 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pana-accordion-item:hover {
    flex: 3;
}

.pana-accordion-item.set-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Text Styles - centered at the bottom with full background */
.pa-text {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 90%;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
}

/* Tag and Title */
.pa-tag {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Guild name styling */
.pa-text h2 {
    font-size: 28px;
    font-style: italic;
    margin-bottom: 15px;
}

/* Author details */
.pa-author {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.pa-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.pa-author h4 {
    font-size: 20px;
}

/* Ensure proper responsiveness */
@media (max-width: 768px) {
    .pana-accordion-item {
        flex: 1 !important;
    }

    .pa-text h2 {
        font-size: 22px;
    }

    .pa-author h4 {
        font-size: 16px;
    }
}

/* Section de la communauté */
.community-section {
    display: flex;
    width: 100%;
    min-height: 100vh;
    clear: both;
}

/* Partie gauche : représentants de la communauté */
.community-left {
    flex: 1;
    background-color: #2682C4;
    color: white;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
}

.community-left .representative {
    text-align: left;
    margin-bottom: 40px;
    width: 100%;
    max-width: 600px;
}

.community-left .representative img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto;
    display: block;
}


.community-left h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.community-left p {
    font-size: 16px;
    line-height: 1.5;
}

/* Styles des titres avec liseré café */
.community-left h2 {
    font-size: 26px;
    margin-bottom: 20px;
    position: relative;
}

/* Liseré café sous les titres */
.community-left h2::after {
    content: '';
    display: block;
    width: 200px;
    height: 4px;
    background-color: #70685d;
    margin-top: 10px;
    border-radius: 2px;
}

/* Partie droite : description de la communauté */
details {
    margin-bottom: 20px;
}

.community-right {
    flex: 1;
    background-color: #70685d;
    color: black;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    box-sizing: border-box;
    min-height: 100vh;
}

.community-right h2 {
    font-size: 26px;
    margin-bottom: 20px;
}

.community-right p, 
.community-right ul {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.community-right ul {
    padding-left: 20px;
}

.community-right li {
    margin-bottom: 10px;
}

/* Styles des titres avec liseré bleu */
.community-right h2 {
    font-size: 26px;
    margin-bottom: 20px;
    position: relative;
}

/* Liseré bleu sous les titres */
.community-right h2::after {
    content: '';
    display: block;
    width: 200px;
    height: 4px;
    background-color: #2682C4;
    margin-top: 10px;
    border-radius: 2px;
}

/* Contact Section */
.contact-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #2682C4;
    color: white;
}

.contact-container {
    text-align: center;
}

.contact-section h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    position: relative;
}

/* Ligne bleue sous le titre */
.contact-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: white;
    margin: 20px auto;
}

/* Liste des liens */
.contact-links {
    list-style: none;
    padding: 0;
}

.contact-links li {
    margin: 20px 0;
}

.contact-links a {
    text-decoration: none;
    font-size: 1.5rem;
    color: white;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.contact-links a:hover {
    color: #ccc;
}

/* Icônes */
.contact-links i {
    margin-right: 10px;
    font-size: 2rem;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .community-section {
        flex-direction: column;
    }

    .community-left, .community-right {
        width: 100%;
        min-height: 50vh;
    }
}