@charset "UTF-8";

@font-face {
  font-family: 'Satoshi-Light';
  src: url('../fonts/Satoshi-Light.woff2') format('woff2'),
       url('../fonts/Satoshi-Light.woff') format('woff'),
       url('../fonts/Satoshi-Light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Satoshi-LightItalic';
  src: url('../fonts/Satoshi-LightItalic.woff2') format('woff2'),
       url('../fonts/Satoshi-LightItalic.woff') format('woff'),
       url('../fonts/Satoshi-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
  font-style: italic;
}
@font-face {
  font-family: 'Satoshi-Regular';
  src: url('../fonts/Satoshi-Regular.woff2') format('woff2'),
       url('../fonts/Satoshi-Regular.woff') format('woff'),
       url('../fonts/Satoshi-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Satoshi-Italic';
  src: url('../fonts/Satoshi-Italic.woff2') format('woff2'),
       url('../fonts/Satoshi-Italic.woff') format('woff'),
       url('../fonts/Satoshi-Italic.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: italic;
}
@font-face {
  font-family: 'Satoshi-Medium';
  src: url('../fonts/Satoshi-Medium.woff2') format('woff2'),
       url('../fonts/Satoshi-Medium.woff') format('woff'),
       url('../fonts/Satoshi-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Satoshi-MediumItalic';
  src: url('../fonts/Satoshi-MediumItalic.woff2') format('woff2'),
       url('../fonts/Satoshi-MediumItalic.woff') format('woff'),
       url('../fonts/Satoshi-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
  font-style: italic;
}
@font-face {
  font-family: 'Satoshi-Bold';
  src: url('../fonts/Satoshi-Bold.woff2') format('woff2'),
       url('../fonts/Satoshi-Bold.woff') format('woff'),
       url('../fonts/Satoshi-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Satoshi-BoldItalic';
  src: url('../fonts/Satoshi-BoldItalic.woff2') format('woff2'),
       url('../fonts/Satoshi-BoldItalic.woff') format('woff'),
       url('../fonts/Satoshi-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
  font-style: italic;
}
@font-face {
  font-family: 'Satoshi-Black';
  src: url('../fonts/Satoshi-Black.woff2') format('woff2'),
       url('../fonts/Satoshi-Black.woff') format('woff'),
       url('../fonts/Satoshi-Black.ttf') format('truetype');
  font-weight: 900;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Satoshi-BlackItalic';
  src: url('../fonts/Satoshi-BlackItalic.woff2') format('woff2'),
       url('../fonts/Satoshi-BlackItalic.woff') format('woff'),
       url('../fonts/Satoshi-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-display: swap;
  font-style: italic;
}
@font-face {
  font-family: 'Satoshi-Variable';
  src: url('../fonts/Satoshi-Variable.woff2') format('woff2'),
       url('../fonts/Satoshi-Variable.woff') format('woff'),
       url('../fonts/Satoshi-Variable.ttf') format('truetype');
  font-weight: 300 900;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Satoshi-VariableItalic';
  src: url('../fonts/Satoshi-VariableItalic.woff2') format('woff2'),
       url('../fonts/Satoshi-VariableItalic.woff') format('woff'),
       url('../fonts/Satoshi-VariableItalic.ttf') format('truetype');
  font-weight: 300 900;
  font-display: swap;
  font-style: italic;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* (Tous tes autres @font-face sont corrects, je ne les réécris pas pour gagner de la place ici) */

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

body {
    font-family: 'Satoshi-Medium';
    font-weight: 300;
    font-size: 1.3rem;
    color: #45543f;
    background-color: #aec167;
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1 {
    font-size: 4.5rem;
}

h2, h3, h4 {
    font-family: 'Satoshi-Bold';
    font-size: 3rem;
    text-align: center;
}

.hebergements{
	margin: 2%;
}

.hebergements h2, h3, h4{
    font-size: 2rem;
    text-align: start;
}
.hebergements h1{
	text-align: center;
	font-size: 4.5rem;
	margin: auto 0px auto 0px; 
}

.slider-yourte {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-yourte {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide-yourte.active {
    opacity: 1;
    z-index: 1;
}

footer h2, h3, h4 {
    text-align: left;
}

a {
    display: inline-block;
    color: #fffad1;
    font-weight: 300;
    transition: transform 0.5s ease-in-out;
    text-decoration: none;
}

a:hover {
    transform: scale(1.05);
    font-weight: 600;
}

/* --- Header --- */
header {
    padding: 32px;
    text-align: center;
    position: relative;
    background-color: #5d7b45;
    color: #fffad1;
    z-index: 10;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #fffad1;
    font-size: 18px;
}

/* --- Burger Menu --- */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 25px;
    justify-content: space-between;
    transition: all 0.3s ease-in-out;
    z-index: 11;
}

.burger span {
    width: 100%;
    height: 4px;
    background-color: #fffad1;
    display: block;
    transition: all 0.3s ease-in-out;
}

.burger.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
    position: relative;
    text-align: center;
}

.hero h1{
    font-family: 'Satoshi-Bold';
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fffad1;
    font-size: 4.5rem;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 80vh;
}

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

section.hero:nth-child(4) > h3:nth-child(1){
	text-align: center;
}
/* --- Activites --- */
.activites {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 20px 20px 50px;
    background: linear-gradient(135deg, 0%, #aec167 100%);
    justify-content: center;
}

.activite {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-in-out;
    display: flex;
    flex-direction: column;
}

.textalign{
	text-align: start !important;
}

.activite.visible {
    opacity: 1;
    transform: translateY(0);
}

.activite .image-texte {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 400px;
}

.activite img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.activite img:hover {
    transform: scale(1.05);
}

.activite .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    color: #fffad1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.activite h3 {
    margin: 0;
    font-size: 28px;
    font-weight: bold;
}

.activite p {
    margin-top: 10px;
    font-size: 18px;
    text-align: center;
    flex-grow: 1;
}

/* --- Responsive --- */
@media screen and (max-width: 768px) {
	section.hero:nth-child(3) > h1:nth-child(2){
		font-size: 4rem;
	}
    .burger {
        display: flex;
    }
	.hebergements h1{
		font-size: 2.5rem;
	}
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 0;
        right: 0;
        background-color: #5d7b45;
        padding: 20px;
        width: 250px;
        height: 100vh;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    nav ul.active {
        display: flex;
        transform: translateX(0);
        box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    }

    nav a {
        font-size: 22px;
        padding: 15px 0;
    }

    .hero h1 {
        font-size: 31px;
        margin-top: 40px;
    }

    .activite {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* --- CTA --- */
.cta {
    display: inline-block;
    padding: 10px 20px;
    background-color: #5d7b45;
    color: #fffad1;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    margin-top: 20px;
    transition: all 0.6s ease-in-out;
}

.cta:hover {
    background-color: #87AB69;
}

/* --- Footer --- */
footer {
    text-align: left;
    padding: 50px 20px;
    margin-top: 20px;
    background-color: #5d7b45;
    color: #fffad1;
    width: 100%;
}

footer a {
    color: #fffad1;
}

iframe {
    width: 100%;
    height: 450px;
    border: none;
    margin-top: 20px;
}

/* --- Loader --- */
#loader {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #d7cb70;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    border: 8px solid #fffad1;
    border-top: 8px solid #45543f;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}