/* camping-hautes-alpes.fr – Styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Source+Sans+3:wght@300;400;500;600&display=swap');

:root {
  --bleu:    #1a3a5c;
  --bleu2:   #0e6da8;
  --vert:    #2d7d46;
  --vert2:   #4caf72;
  --or:      #d4952a;
  --gris:    #f5f7fa;
  --gris2:   #e8ecf0;
  --texte:   #2c3e50;
  --léger:   #6b7c93;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Source Sans 3', sans-serif; color: var(--texte); font-size: 17px; line-height: 1.75; background: #fff; }

header {
  background: linear-gradient(135deg, var(--bleu) 0%, var(--bleu2) 100%);
  padding: 0 30px; position: sticky; top: 0; z-index: 999;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.header-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { text-decoration: none; }
.logo .nom { font-family: 'Playfair Display', serif; font-size: 1.35rem; color: #fff; font-weight: 700; line-height: 1; }
.logo .slogan { font-size: 0.72rem; color: rgba(255,255,255,0.75); letter-spacing: 0.04em; margin-top: 2px; }

nav ul { list-style: none; display: flex; gap: 6px; }
nav ul li a { color: rgba(255,255,255,0.9); text-decoration: none; font-size: 0.88rem; font-weight: 500; padding: 8px 13px; border-radius: 6px; transition: background 0.2s; }
nav ul li a:hover, nav ul li a.active { background: rgba(255,255,255,0.18); color: #fff; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  background: linear-gradient(to bottom, rgba(14,109,168,0.55) 0%, rgba(26,58,92,0.72) 100%),
              url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?w=1400&q=80') center/cover no-repeat;
  min-height: 460px; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 60px 20px;
}
.hero-content { max-width: 800px; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: 2.6rem; color: #fff; line-height: 1.2; margin-bottom: 18px; text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.92); margin-bottom: 30px; }
.hero .cta { display: inline-block; background: var(--or); color: #fff; text-decoration: none; font-weight: 600; padding: 14px 34px; border-radius: 50px; font-size: 1rem; transition: transform 0.2s, box-shadow 0.2s; box-shadow: 0 4px 15px rgba(212,149,42,0.5); }
.hero .cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(212,149,42,0.7); }

main { max-width: 1100px; margin: 0 auto; padding: 50px 20px; }

section { margin-bottom: 52px; }
section h2 { font-family: 'Playfair Display', serif; font-size: 1.65rem; color: var(--bleu); margin-bottom: 14px; }
section h3 { font-size: 1.15rem; color: var(--bleu2); font-weight: 600; margin: 22px 0 8px; }
section p { margin-bottom: 16px; }
section ul { margin: 10px 0 14px 22px; }
section ul li { margin-bottom: 5px; }
a { color: var(--bleu2); }
a:hover { color: var(--bleu); }

.breadcrumb { font-size: 0.82rem; color: var(--léger); margin-bottom: 24px; }
.breadcrumb a { color: var(--bleu2); text-decoration: none; }
.breadcrumb span { margin: 0 6px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin: 30px 0; }
.card { background: var(--gris); border-radius: 14px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.07); transition: transform 0.25s, box-shadow 0.25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.card-body { padding: 22px; }
.card-body h3 { font-size: 1.08rem; color: var(--bleu); margin-bottom: 8px; font-family: 'Playfair Display', serif; }
.card-body p { font-size: 0.92rem; color: var(--léger); margin: 0; }
.card-link { display: inline-block; margin-top: 14px; font-size: 0.88rem; font-weight: 600; color: var(--bleu2); text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.card-icon { font-size: 2.2rem; margin-bottom: 10px; }

.highlight { background: linear-gradient(135deg, var(--bleu) 0%, var(--bleu2) 100%); border-radius: 16px; padding: 36px 40px; color: #fff; margin: 40px 0; }
.highlight h2 { color: #fff; margin-bottom: 12px; }
.highlight p { color: rgba(255,255,255,0.9); margin-bottom: 0; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 30px 0; }
.info-box { background: var(--gris); border-left: 4px solid var(--bleu2); border-radius: 10px; padding: 20px 22px; }
.info-box .icon { font-size: 1.6rem; margin-bottom: 6px; }
.info-box h4 { font-size: 1rem; color: var(--bleu); font-weight: 600; margin-bottom: 6px; }
.info-box p { font-size: 0.88rem; color: var(--léger); margin: 0; }

.camping-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 0.92rem; overflow-x: auto; display: block; }
.camping-table thead tr { background: var(--bleu); color: #fff; }
.camping-table th, .camping-table td { padding: 11px 15px; text-align: left; border-bottom: 1px solid var(--gris2); }
.camping-table tbody tr:hover { background: var(--gris); }
.stars { color: var(--or); }

footer { background: var(--bleu); color: rgba(255,255,255,0.8); padding: 50px 30px 28px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; margin-bottom: 36px; }
.footer-col h4 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul li a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-col p { font-size: 0.88rem; color: rgba(255,255,255,0.7); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 20px; text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.5); }

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  nav { position: absolute; top: 68px; left: 0; right: 0; background: linear-gradient(135deg, var(--bleu) 0%, var(--bleu2) 100%); }
  nav ul { display: flex; flex-direction: column; gap: 0; max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
  nav ul.open { max-height: 500px; }
  nav ul li a { padding: 13px 24px; border-radius: 0; font-size: 1rem; }
  header { position: relative; }
  .hero h1 { font-size: 1.75rem; }
  .highlight { padding: 24px 20px; }
  .camping-table { font-size: 0.82rem; }
}
