/* ===================================
   STYLE.CSS - FESTIVAL COOPÉRONS!
   Polices : Roboto (paragraphe), Anton (h2), TC Milo (h1 + menu)
   Couleurs : 
   =================================== */

/* ===== VARIABLES & THÈME ===== */
:root {
  /* Couleurs principales */
  --primary: #693805;
  --primary-dark: #693805;

  
  /* Textes */
  --text: #2c1810;
  --text-light: #5c4033;
  
  /* Backgrounds */
  --bg: #faf7f5;
  --white: #ffffff;
  
  /* Effets */
  --gradient: linear-gradient(135deg, #973116 0%, #C45824 100%);
  --gradient2: linear-gradient(135deg, #C45824 0%, var(--pagetwo) 100%);
  --gradient3: linear-gradient(135deg, #973116 0%, #C45824 100%);
  --gradient4: linear-gradient(135deg, #973116 0%, #C45824 100%);
  --shadow: 0 4px 6px -1px rgba(151, 49, 22, 0.1), 0 2px 4px -1px rgba(151, 49, 22, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(151, 49, 22, 0.15), 0 4px 6px -2px rgba(151, 49, 22, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(151, 49, 22, 0.18), 0 10px 10px -5px rgba(151, 49, 22, 0.1);
  
  /* Rayon de bordure */
  --radius: 16px;
}

/* ===== RÉGLAGES GÉNÉRAUX ===== */

/* Tous les éléments respectent la largeur de leur parent */
* {
  max-width: 100%;
  box-sizing: border-box;
}

/* Scroll fluide pour toute la page */
html {
  scroll-behavior: smooth;
}

/* ===== POLICES ===== */

/* Police TC Milo (locale) - pour h1 et menu */
@font-face {
  font-family: 'TC Milo';
  src: url('fonts/TC-Milo.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Corps de la page : Roboto pour les paragraphes */
body {
  margin: 3%;
  padding: 0;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg) 0%, #fff5f0 100%);
  min-height: 100vh;
}


/* ===== TITRES ===== */

/* h1 : TC Milo */
h2 {
  font-family: 'TC Milo', serif;
  max-width: 100%;
}

/* h2 : Anton */
h3 {
  font-family: 'Anton', sans-serif;
  max-width: 100%;
  font-weight: normal;
}

/* h3 : Roboto (comme le texte) */
h4,h5,h6 {
  font-family: 'Roboto', sans-serif;
  max-width: 100%;
}

/* ===== IMAGES ===== */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* ===== CONTENEUR PRINCIPAL ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* ===== LIENS ===== */
a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ===================================
   NAVIGATION
   TC Milo pour le menu et h1
   =================================== */

/* Barre de navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
  border-bottom: 3px solid transparent;
  border-image: var(--gradient);
  border-image-slice: 1;
}

/* Conteneur de la navbar */
.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo navbar : Anton */
.navbar-logo {
  display: flex;
  align-items: center;
  font-family: 'Anton',  serif;
  font-size: 0.5 rem;
  font-weight: normal;
  color: var(--primary-dark);
  text-decoration: none;
  gap: 0.75rem;
}

.navbar-logo img {
  height: 55px;
  width: auto;
  margin: 0;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.navbar-logo img:hover {
  transform: scale(1.05);
}

/* Menu navbar : TC Milo */
.navbar-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

.navbar-menu li {
  margin: 0;
}

.navbar-menu a {
  display: block;
  font-family: 'Anton', sans-serif;
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  background: transparent;
}

/* Effet de soulignement au hover */
.navbar-menu a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.navbar-menu a:hover {
  background: linear-gradient(135deg, rgba(196, 88, 36, 0.1) 0%, rgba(151, 49, 22, 0.1) 100%);
  color: var(--primary-dark);
  text-decoration: none;
}

.navbar-menu a:hover::before {
  width: 80%;
}

/* Lien actif */
.navbar-menu a.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
  text-decoration: none;
}

.navbar-menu a.active::before {
  display: none;
}

/* Bouton toggle mobile */
.navbar-toggle {
  display: none;
  background: var(--gradient);
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.navbar-toggle:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow);
}


/* ===== BARRE LOGOS FACEBOOK ET INSTAGRAM, FIXE BAS À DROITE ===== */
.social-bar {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 9999;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}

.social-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* Couleur du pictogramme (modifiable) avec filter */
.social-icon.pictogramme img {
  filter: hue-rotate(0deg) saturate(1);
}

/* Au survol */
.social-icon:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  background: #fff;
}

.social-icon:hover img {
  transform: scale(1.15);
}

/* Effet de fond coloré au survol */
.social-icon.pictogramme:hover {
  background: #B4620D;
}

.social-icon.facebook:hover {
  background: #1877F2;
}

.social-icon.instagram:hover {
  background: #E4405F;
}

/* Blanc au survol pour toutes les icônes */
.social-icon.pictogramme:hover img,
.social-icon.facebook:hover img,
.social-icon.instagram:hover img {
  filter: brightness(0) invert(1);
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 768px) {
  .social-bar {
    bottom: 15px;
    right: 15px;
    gap: 8px;
  }
  
  .social-icon {
    width: 42px;
    height: 42px;
  }
  
  .social-icon img {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .social-bar {
    bottom: 10px;
    right: 10px;
  }
  
  .social-icon {
    width: 38px;
    height: 38px;
  }
  
  .social-icon img {
    width: 22px;
    height: 22px;
  }
}


/* ===================================
   HERO BANNER with BUTTONS and TAGS
   =================================== */

.hero-banner {
  margin: 2rem auto;
  text-align: center;
  position: relative;
}

.hero-banner img {
  max-width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  margin: 0 auto 2rem;
}

.hero-buttons {
  position: absolute;
  left: 50%;
  bottom: 22%;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  z-index: 10;
}

.hero-btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.hero-btn-1 {
  background: #e88f32;
}

.hero-btn-2 {
  background: #B4620D;
}


/* Tags de navigation OnePager */

/* ===================================
   TAGS SCROLL DISCRETS (Ronds en colonne)
   Très discrets, à gauche de la bannière
   =================================== */

.onepager-tags {
  position: fixed;
  top: 60%;
  left: 5%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  z-index: 100;
}

/* Rond individuel (boulet) */
.tag {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 80%;
  border: 2px solid var(--primary-dark);
  cursor: pointer;
  transition: all 0.1s ease;
  text-decoration: none;
  position: relative;
}

/* Rond au hover */
.tag:hover {
  background: var(--primary-dark);
  transform: scale(2);
}

/* Rond actif (section visible) */
.tag.active {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 0 10px rgba(196, 88, 36, 0.5);
  transform: scale(1);
}

/* Tooltip optionnel (apparait au hover) */
.tag::after {
  content: attr(data-title);
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(15px);
  background: rgba(255, 255, 255, 0.80);
  color: #000;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1001;
  font-family: 'Roboto', sans-serif;
}

.tag:hover::after {
  opacity: 1;
}

/* ===================================
   RESPONSIVE MOBILE
   =================================== */

/* Tablettes ≤ 1024px */
@media (max-width: 1024px) {
  .onepager-tags {
    left: 1.5rem;
    gap: 0.6rem;
    padding: 0.85rem 0.4rem;
  }
  
  .tag {
    width: 11px;
    height: 11px;
  }
}

/* Tablettes et mobiles ≤ 768px */
@media (max-width: 768px) {
  .onepager-tags {
    left: 1.25rem;
    gap: 0.5rem;
    padding: 0.75rem 0.35rem;
  }
  
  .tag {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
  }
  
  .tag:hover {
    transform: scale(1.2);
  }
  
  .tag.active {
    transform: scale(1);
  }
  
  .tag::after {
    font-size: 0.7rem;
    padding: 0.35rem 0.6rem;
  }
}

/* Mobiles ≤ 580px */
@media (max-width: 580px) {
  .onepager-tags {
    left: 1rem;
    gap: 0.4rem;
    padding: 0.65rem 0.3rem;
  }
  
  .tag {
    width: 9px;
    height: 9px;
  }
}

/* Mobiles très petits ≤ 480px */
@media (max-width: 480px) {
  .onepager-tags {
    left: 0.85rem;
    gap: 0.35rem;
    padding: 0.55rem 0.25rem;
  }
  
  .tag {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.45);
  }
  
  .tag.active {
    transform: scale(1);
  }
}

/* Mobiles ultra petits ≤ 380px */
@media (max-width: 380px) {
  .onepager-tags {
    left: 0.7rem;
    gap: 0.3rem;
    padding: 0.5rem 0.2rem;
  }
  
  .tag {
    width: 7px;
    height: 7px;
  }
}


/* ===================================
   SECTIONS DE CONTENU
   =================================== */

.content-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow);
  border: 2px solid rgba(196, 88, 36, 0.15);
  text-align: justify;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  scroll-margin-top: 120px;
}

.content-section:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.content-section h2 {
  font-size: 2.25rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--primary-light);
}

.content-section h3 {
  font-size: 1.75rem;
  color: var(--primary-dark);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Astérisque avant les titres h2 */
.content-section h2::before {
  content: '#';
  color: var(--primary-light);
  margin-right: 0.5rem;
  font-weight: normal;
}

.content-section img {
    width: 100%;
    height: auto;
}


/* ===== LISTES ===== */
ul {
  padding-left: 1.5rem;
}

li {
  margin: 0.75rem 0;
  color: var(--text-light);
}

strong {
  color: var(--text);
  font-weight: 700;
}

em {
  color: var(--primary-dark);
}

/* ===== BOX DE SURLIGNAGE ===== */
.highlight-box {
  background: linear-gradient(135deg, rgba(196, 88, 36, 0.12) 0%, rgba(45, 122, 86, 0.08) 100%);
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  border-radius: 12px;
  margin: 1.5rem 0;
  font-style: italic;
}

/* ===== LISTE AVEC ÉMOJIS ===== */
.emoji-list {
  list-style: none;
  padding-left: 0;
}

.emoji-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(196, 88, 36, 0.15);
}

.emoji-list li:last-child {
  border-bottom: none;
}

/* ===== GRILLE D'INFOS ===== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.info-card {
  background: linear-gradient(135deg, rgba(196, 88, 36, 0.1) 0%, rgba(45, 122, 86, 0.08) 100%);
  padding: 1.25rem;
  border-radius: 12px;
  border: 2px solid rgba(196, 88, 36, 0.2);
  transition: all 0.3s ease;
}

.info-card:hover {
  background: linear-gradient(135deg, rgba(196, 88, 36, 0.18) 0%, rgba(45, 122, 86, 0.15) 100%);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* ===== BOUTON-LIEN ===== */
.button-link {
  display: inline-block;
  background: var(--gradient);
  color: var(--white) !important;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  margin: 0.5rem 0;
}

.button-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none !important;
}

/* ===== LISTE DE CONTACTS ===== */
.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  padding: 1rem 0;
  border-bottom: 1px dashed rgba(196, 88, 36, 0.25);
}

.contact-list li:last-child {
  border-bottom: none;
}

/* ===================================
   RESPONSIVE / MOBILE
   =================================== */

/* Tablettes et mobiles ≤ 768px */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  
  .navbar {
    padding: 0.75rem 1rem;
  }
  
  .navbar-logo {
    font-size: 1.1rem;
    gap: 0.5rem;
  }
  
  .navbar-logo img {
    height: 45px;
  }
  
  /* Bouton toggle visible */
  .navbar-toggle {
    display: block;
  }
  
  /* Menu en colonne sous la navbar */
  .navbar-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem;
    gap: 0.5rem;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius) var(--radius);
  }
  
  .navbar-menu.active {
    display: flex;
  }
  
  .navbar-menu a {
    padding: 1rem;
    text-align: center;
  }
  
  .content-section {
    padding: 1.5rem;
    margin: 1.5rem 0;
  }
  
  .content-section h2 {
    font-size: 1.75rem;
  }
  
  .content-section h3 {
    font-size: 1.4rem;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  img {
    margin: 1rem auto;
  }
}

/* Mobiles très petits ≤ 480px */
@media (max-width: 480px) {
  .navbar-logo {
    font-size: 0.95rem;
  }
  
  .navbar-logo img {
    height: 40px;
  }
  
  .container {
    padding: 0.75rem;
  }
  
  .content-section {
    padding: 1.25rem;
  }
  
  .content-section h2 {
    font-size: 1.5rem;
  }
  
  .onepager-tags {
    gap: 0.6rem;
    padding: 0 0.75rem;
  }
  
  .tag {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    border-radius: 40px;
  }
  
 
  /* ===================================
     CARDS DE RÉSERVATION
     Style spécial pour les cartes
     =================================== */

  .reservation-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 3px solid var(--primary);
    padding: 1.5rem;
    transition: all 0.3s ease;
  }

  .reservation-card:hover {
    background: var(--white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-dark);
  }

  .reservation-card h3 {
    font-family: 'Anton', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: normal;
  }

  .reservation-card p {
    margin: 0.75rem 0;
    color: var(--text);
  }

  /* Bouton plus grand pour réservation */
  .button-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
    display: block;
    text-align: center;
  }

  .button-large:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
  }

  }

  @media (max-width: 480px) {
    .tag-dark {
      padding: 0.6rem 1rem;
      font-size: 0.8rem;
    }
    
    .reservation-card {
      padding: 1rem;
    }
    
    .reservation-card h3 {
      font-size: 1.3rem;
    }
  }

/*RENDRE LES IMAGES ZOOMABLES SUR FOND NOIR*/

.zoomable {
  cursor: zoom-in;
}

.zoomable.small-zoom {
  width: 40%;
}

/* Overlay plein écran */
.img-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
}

.img-overlay.active {
  display: flex;
}

.img-overlay img {
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
  margin: 0;
  border-radius: 10px;
  box-shadow: none;
  transform: none !important;
}

.img-overlay img:hover {
  transform: none;
  box-shadow: none;
}

.img-overlay-close {
  position: fixed;
  top: 20px;
  right: 25px;
  color: white;
  font-size: 42px;
  cursor: pointer;
  user-select: none;
  line-height: 1;
}

/*FOOTER*/

footer p a {
  color: black;
  text-decoration: underline;
  text-decoration-style: dotted;  /* Pointillé */
  transition: all 0.3s ease;
}

footer p a:hover {
  color: white;
  text-decoration: underline;
}

}
