/* Variables de couleurs */
:root {
--primary-pink: #e83e8c;
--light-pink: #f8d7da;
--soft-pink: #f9c1c5;
--dark-pink: #c83d72;
--white: #ffffff;
--light-gray: #f8f9fa;
--text-dark: #333333;
--text-light: #6c757d;
}

/* Styles généraux */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Inter', 'Roboto', sans-serif;
color: var(--text-dark);
line-height: 1.6;
background-color: var(--white);
overflow-x: hidden;
}

.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
padding: 0 15px;
}

section {
padding: 80px 0;
}

h1, h2, h3, h4 {
font-family: 'Playfair Display', serif;
margin-bottom: 20px;
color: var(--primary-pink);
}

h1 {
font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

h2 {
font-size: clamp(1.6rem, 2.5vw + .8rem, 2.5rem);
position: relative;
padding-bottom: 15px;
}

h2:after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 80px;
height: 3px;
background: var(--primary-pink);
}

p {
margin-bottom: 15px;
font-size: 1.1rem;
}

.btn {
display: inline-block;
background-color: var(--primary-pink);
color: var(--white);
padding: 15px 30px;
border-radius: 50px;
text-decoration: none;
font-weight: 500;
transition: all 0.3s ease;
border: none;
cursor: pointer;
box-shadow: 0 4px 15px rgba(232, 62, 140, 0.3);
margin: 10px;
}

.btn:hover {
background-color: var(--dark-pink);
transform: translateY(-3px);
box-shadow: 0 8px 20px rgba(232, 62, 140, 0.4);
}

.btn-light {
background-color: transparent;
border: 2px solid var(--white);
color: var(--white);
}

.btn-light:hover {
background-color: var(--white);
color: var(--primary-pink);
}

/* Header */
header {
background-color: rgba(255, 255, 255, 0.7);
backdrop-filter: saturate(140%) blur(10px);
border-bottom: 1px solid rgba(0,0,0,0.06);
box-shadow: 0 4px 24px rgba(0,0,0,0.06);
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
transition: all 0.3s ease;
}

header.scrolled {
padding: 5px 0;
background-color: rgba(255, 255, 255, 0.95);
}

.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 0;
}

.logo {
font-family: 'Playfair Display', serif;
font-size: 28px;
font-weight: 700;
color: var(--primary-pink);
text-decoration: none;
display: flex;
align-items: center;
}

.logo img {
  width: 220px;
  height: 75px;
  object-fit: contain; /* ou cover, selon ce que tu veux */
}

.nav-links {
display: flex;
list-style: none;
}

.nav-links li {
margin-left: 30px;
}

.nav-links a {
text-decoration: none;
color: var(--text-dark);
font-weight: 500;
transition: color 0.3s ease;
position: relative;
}

.nav-links a:after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 0;
height: 2px;
background-color: var(--primary-pink);
transition: width 0.3s ease;
}

.nav-links a:hover {
color: var(--primary-pink);
}

.nav-links a:hover:after {
width: 100%;
}

.menu-toggle {
display: none;
font-size: 24px;
cursor: pointer;
color: var(--primary-pink);
}

/* Overlay for mobile menu */
.nav-overlay[hidden] { display: none; }
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(2px);
  z-index: 900;
}

/* Hero Section */
.hero {
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('../images/hero.jpg') no-repeat center center/cover;
height: 100vh;
display: flex;
align-items: center;
text-align: center;
color: var(--white);
}

.hero-content {
max-width: 800px;
margin: 0 auto;
animation: fadeIn 1.5s ease;
}

.hero p {
font-size: 1.3rem;
margin-bottom: 40px;
}

/* About Section */
.about {
background-color: var(--light-gray);
position: relative;
overflow: hidden;
}

.about:before {
content: '';
position: absolute;
top: -100px;
right: -100px;
width: 300px;
height: 300px;
border-radius: 50%;
background-color: var(--light-pink);
opacity: 0.3;
z-index: 0;
}

.about-content {
display: flex;
align-items: center;
flex-wrap: wrap;
position: relative;
z-index: 1;
}

.about-text {
flex: 1;
min-width: 300px;
padding: 20px;
}

.about-image {
flex: 1;
min-width: 300px;
padding: 20px;
text-align: center;
}

.about-image img {
max-width: 100%;
border-radius: 10px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}

.about-image img:hover {
transform: scale(1.03);
}

.about-image h3 {
margin-top: 20px;
color: var(--primary-pink);
}

/* Facilities Section */
.facilities {
background-color: var(--white);
}

.section-header {
text-align: center;
margin-bottom: 50px;
}

.section-header h2:after {
left: 50%;
transform: translateX(-50%);
}

.facility-item {
display: flex;
align-items: center;
margin-bottom: 60px;
flex-wrap: wrap;
}

.facility-item:nth-child(even) {
flex-direction: row-reverse;
}

.facility-image, .facility-text {
flex: 1;
min-width: 300px;
padding: 20px;
}

.facility-image img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.facility-image img:hover {
transform: scale(1.03);
}

/* Horses Section */
.horses {
background: linear-gradient(to bottom, var(--light-pink), var(--white));
padding: 80px 0;
text-align: center;
}

.carousel {
position: relative;
max-width: 900px;
margin: 0 auto;
overflow: hidden;
border-radius: 15px;
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.carousel-inner {
display: flex;
transition: transform 0.5s ease;
}

.carousel-item {
min-width: 100%;
padding: 30px;
background-color: var(--white);
text-align: center;
}

.carousel-item img {
width: 100%;
max-height: 450px;
object-fit: cover;
border-radius: 10px;
}

.carousel-control {
position: absolute;
top: 50%;
transform: translateY(-50%);
background-color: rgba(255, 255, 255, 0.8);
color: var(--primary-pink);
border: none;
padding: 15px;
cursor: pointer;
border-radius: 50%;
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}

.carousel-control:hover {
background-color: var(--primary-pink);
color: var(--white);
}

.carousel-control.prev {
left: 20px;
}

.carousel-control.next {
right: 20px;
}

/* Disciplines Section */

.menu-title {
    margin-top: 15px;
    color: #ddd;
    font-size: 24px;
}

.disciplines {
background-color: var(--white);
}

.discipline-item {
margin-bottom: 20px;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.discipline-header {
background: linear-gradient(to right, var(--primary-pink), var(--dark-pink));
padding: 20px;
color: var(--white);
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
transition: all 0.3s ease;
}

.discipline-header:hover {
background: linear-gradient(to right, var(--dark-pink), var(--primary-pink));
}

.discipline-content {
display: none;
padding: 30px;
background-color: var(--light-gray);
border-radius: 0 0 10px 10px;
}

.discipline-table {
width: 100%;
border-collapse: collapse;
}

.discipline-table th, .discipline-table td {
padding: 15px;
text-align: left;
border-bottom: 1px solid #ddd;
}

.discipline-table th {
background-color: var(--light-pink);
color: var(--text-dark);
}

.discipline-table tr:last-child td {
border-bottom: none;
}

/* Pricing Section */
.pricing {
background: linear-gradient(to bottom, var(--white), var(--light-pink));
padding: 0px 0;
padding-bottom: 20px;
}

.pricing-category {
margin-bottom: 60px;
background-color: var(--white);
border-radius: 15px;
padding: 30px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.price-table {
width: 100%;
border-collapse: collapse;
margin-bottom: 20px;
border-radius: 10px;
overflow: hidden;
}

.price-table th, .price-table td {
padding: 18px;
text-align: left;
border-bottom: 1px solid #eee;
}

.price-table th {
background-color: var(--primary-pink);
color: var(--white);
}

.price-table tr:last-child td {
border-bottom: none;
}

.price-table tr:nth-child(even) {
background-color: var(--light-gray);
}

/* Footer */
footer {
background: linear-gradient(to right, var(--primary-pink), var(--dark-pink));
color: var(--white);
padding: 60px 0 30px;
}

.footer-content {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}

.footer-section {
flex: 1;
min-width: 300px;
padding: 20px;
}

.footer-section h3 {
color: var(--white);
margin-bottom: 25px;
position: relative;
padding-bottom: 15px;
}

.footer-section h3:after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 50px;
height: 2px;
background: var(--white);
}

.footer-section p {
margin-bottom: 12px;
display: flex;
align-items: center;
}

.footer-section i {
margin-right: 15px;
font-size: 18px;
}

.social-icons {
display: flex;
gap: 15px;
margin-top: 20px;
text-decoration: none;
}

.social-icons a {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 50%;
background-color: rgba(255, 255, 255, 0.1);
color: var(--white);
font-size: 18px;
transition: all 0.3s ease;
padding-left: 12px;
text-decoration: none;
}

.social-icons a:hover {
background-color: var(--white);
color: var(--primary-pink);
transform: translateY(-5px);
}

.footer-bottom {
margin-top: 50px;
padding-top: 20px;
border-top: 1px solid rgba(255, 255, 255, 0.2);
text-align: center;
}

/* Animations */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}

.fade-in {
opacity: 0;
transform: translateY(20px);
transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
opacity: 1;
transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
}

.nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(360px, 85vw);
    background-color: var(--white);
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    padding: 24px;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 1000;
}

.nav-links.active { transform: translateX(0); }

.nav-links li {
    margin: 15px 0;
}

.menu-toggle {
    display: block;
}

.hero p {
    font-size: 1.1rem;
}
}

@media (max-width: 768px) {
section {
    padding: 60px 0;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

.about-content, .facility-item {
    flex-direction: column;
}

.facility-item:nth-child(even) {
    flex-direction: column;
}

.btn {
    padding: 12px 25px;
}

.carousel-control {
    width: 40px;
    height: 40px;
    padding: 10px;
}
}

@media (max-width: 576px) {
h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.8rem;
}

.hero {
    height: 80vh;
}

.footer-section {
    min-width: 100%;
}
}

/* Scroll lock when menu is open */
body.no-scroll { overflow: hidden; }
