/* ==================== STYLES GÉNÉRAUX ==================== */

body {
    margin: 0;
    font-family: 'Roboto', Arial, sans-serif;
    color: black;
    background-color: #8BC34A;
    flex-direction: column;
    align-items: center;
}

a {
    color: blue;
    text-decoration: underline;
}

h1 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid white;
    padding-bottom: 0.5rem;
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ==================== BOUTONS & LIENS ==================== */

.btn-retour, .retour-btn
{
    display: inline-block;
    margin-top: 2rem;
    padding: 0.7rem 1.5rem;
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    background-color: #0f4c5c;
/*    color: white;*/
}

/* ==================== TITRE / FLEUR ==================== */

#titre {
    width: 80%;
    background-color: transparent;
    color: black;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
	border-radius: 20px;
}
/* ==================== BLOCS DE LA PAGE INDEX ==================== */

.block {
    position: absolute;
    text-align: center;
    font-size: 16px;
    color: black;
    font-weight: bold;
}

.block img {
    width: 100px;
    height: auto;
    margin-top: 10px;
}

#accueil {
    top: 20%;
    left: 10%;
    width: 20%;
    height: 75%;
    background-color: #FFFB9B;
	border-radius: 20px;
}

#services {
    top: 20%;
    left: 40%;
    width: 20%;
    height: 35%;
    background-color: #9ED0FF;
    position: absolute;
	border-radius: 20px;
}

#diplomes {
    top: 20%;
    left: 70%;
    width: 20%;
    height: 35%;
    background-color: #FFD9A8;
	border-radius: 20px;
}

#tarifs {
    top: 60%;
    left: 40%;
    width: 20%;
    height: 35%;
    background-color: #FFC4F7;
	border-radius: 20px;
}

#contact {
    top: 60%;
    left: 70%;
    width: 20%;
    height: 35%;
    background-color: #FFAE75;
	border-radius: 20px;
}

/* ==================== RESPONSIVE PAGE INDEX ==================== */

@media (max-width: 768px) {
    #titre img {
        max-width: 80px;
        height: auto;
        margin-bottom: 10px;
    }

    .block {
        width: 90%;
        max-width: 400px;
        margin: 10px auto;
        height: auto;
        min-height: 120px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .block img {
        width: 40px;
        margin-top: 10px;
		align-items: center;
    }
}

.block:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ==================== PAGE CONTACT ==================== */

.contact-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.map {
    margin-top: 2rem;
    border: 2px solid white;
    border-radius: 8px;
    overflow: hidden;
}

/* ==================== PAGE SERVICES ==================== */

body.services-page {
    background-color: #e6f0ff;
    padding: 0;
}

.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    background-color: #0f4c5c;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-grow: 1;
}

.tab {
    padding: 10px 20px;
    border: none;
    background-color: #ccc;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
}

.tab.active {
    background-color: #0f4c5c;
    color: white;
}

.diagram-tab {
    display: none;
}

.diagram-tab.active {
    display: block;
}

.diagram-container {
    position: relative;
    margin: 40px auto;
    width: 90%;
    height: 650px;
    background-color: #cce5ff;
    border-radius: 10px;
}

/* ==================== ZONE CENTRALE & BOÎTES ==================== */

.central-ellipse {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20%;/*180px;*/
    height: 18%;/*120px;*/
    background-color: #0f4c5c;
    color: white;
    text-align: center;
    line-height: 1.5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.diagram-box {
    position: absolute;
    width: 25%; /*250px;*/
    background-color: #0f4c5c;
    color: white;
    padding: 10px;
    border-radius: 10px;
    font-size: 14px;
}

.diagram-box strong {
    font-size: 15px;
    display: block;
    margin-bottom: 5px;
}

.diagram-box ul {
    padding-left: 20px;
    margin-top: 10px;
}

.box-top-left    { top: 5%;   left: 5%; }
.box-top-right   { top: 5%;   right: 5%; }
.box-middle-right{ top: 40%;  right: 5%; }
.box-bottom-left { bottom: 15%; left: 10%; }
.box-bottom-left-gerance { bottom: 15%; right: 5%; }
.box-bottom-right-enfants { bottom: 15%; right: 5%; }
.box-bottom-right-adultes { bottom: 15%; right: 5%; }

/* ==================== FLÈCHES ==================== */

.diagram-arrows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.diagram-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.diagram-box, .diagram-center {
    position: relative;
    z-index: 1;
}

.bloc-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.block {
  flex: 1 1 250px;
  max-width: 300px;
  height: auto;
  background-color: #9ED0FF;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.block-titre {
  flex: 1 1 350px;
  max-width: 500px;
  height: auto;
  background-color: #9ED0FF;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.block-titre img {
    width: 100px;
    height: auto;
    margin-top: 10px;
    align-items: center;
}