/* ====== Variables & Reset ====== */
:root {
  --primary: #6a1b9a; /* Violet profond - couleur dominante du site actuel */
  --secondary: #f8bbd0; /* Rose clair - accent */
  --dark: #2e2d2d;
  --light: #f9f9f9;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ====== Header ====== */
.header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

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

.main-nav ul {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-weight: 600;
  padding: 0.5rem 0;
  position: relative;
}

.main-nav a:hover {
  color: var(--primary);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.main-nav a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* ====== Hero Section ====== */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
              url('https://images.unsplash.com/photo-1492684223066-81342ee5ff30?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
  height: 100vh;
  min-height: 600px;
  color: var(--white);
  display: flex;
  align-items: center;
  text-align: center;
  margin-top: 82px; /* Compenser le header fixe */
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* ====== Buttons ====== */
.cta-button {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid var(--primary);
}

.cta-button:hover {
  background-color: transparent;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.cta-button.secondary {
  background-color: transparent;
  color: var(--primary);
}

.cta-button.secondary:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* ====== About Section ====== */
.about {
  padding: 5rem 0;
}

.about .container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about .text-content {
  flex: 1;
}

.about .image-content {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.about p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* ====== Activities Section ====== */
.activities {
  padding: 5rem 0;
  background-color: var(--light);
}

.activities h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 3rem;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.activity-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.activity-card:hover {
  transform: translateY(-10px);
}

.activity-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.activity-card h3 {
  padding: 1rem 1.5rem 0;
  color: var(--primary);
}

.activity-card p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
}

/* ====== Events Section ====== */
.events {
  padding: 5rem 0;
  text-align: center;
}

.events h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 3rem;
}

/* ====== Footer ====== */
.footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 4rem 0 0;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-column h3 {
  color: var(--secondary);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.footer-column p, 
.footer-column address {
  margin-bottom: 1rem;
  opacity: 0.8;
  font-style: normal;
}

.footer-column a:hover {
  color: var(--secondary);
  opacity: 1;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-nav ul {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.footer-nav a:hover {
  color: var(--secondary);
}

/* ====== Responsive Design ====== */
@media (max-width: 992px) {
  .about .container {
    flex-direction: column;
  }
  
  .about .image-content {
    order: -1;
    max-width: 600px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
    z-index: 1001;
  position: relative;
  }
  
  .main-nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 1000;
  }
  
  .main-nav ul.active {
    right: 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero {
    min-height: 500px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .about h2,
  .activities h2,
  .events h2 {
    font-size: 2rem;
  }
  
  .footer-columns {
    grid-template-columns: 1fr;
  }
  
  .footer-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ====== Animations ====== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}