/* ============================================
   Camping ADLN — Shared Stylesheet
   ============================================ */
 
/* --- Google Fonts import --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap');
 
/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
 
body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  margin: 0 auto;
  max-width: 1200px;
}
 
a {
  text-decoration: none;
  color: inherit;
}
 
ul {
  padding-left: 1.25em;
}
 
/* --- CSS Variables --- */
:root {
  --color-bg:        #DBE0E6;
  --color-bg-card:   #C2CCD6;
  --color-nav:       #264E1C;
  --color-text:      #000000;
  --color-white:     #FFFFFF;
 
  --font-size-nav-brand: 26pt;
  --font-size-nav-link:  12pt;
  --font-size-heading-xl: 32pt;
  --font-size-heading-lg: 28pt;
  --font-size-heading-md: 24pt;
  --font-size-body:  12pt;
 
  --letter-spacing-tight: -0.03em;
  --line-height-body: 2.0;
  --line-height-list: 1.7;
  
  scrollbar-gutter: stable;
}
 
/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  background-color: var(--color-nav);
  padding: 35px 45px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
 
.navbar__brand {
  color: var(--color-white);
  font-size: var(--font-size-nav-brand);
  font-weight: 500;
  letter-spacing: var(--letter-spacing-tight);
  text-decoration: none;
}
 
.navbar__links {
  display: flex;
  gap: 20px;
  align-items: center;
}
 
.navbar__link {
  color: var(--color-white);
  font-size: var(--font-size-nav-link);
  font-weight: 400;
  text-decoration: none;
}
 
/* Active / current page indicator */
.navbar__link--active {
  text-decoration: underline;
}
 
.navbar__icon img {
  filter: brightness(0) invert(1);
  display: block;
}
 
/* ============================================
   PAGE WRAPPER
   ============================================ */
.page-content {
  background-color: var(--color-bg);
  padding: 90px 40px;
}
 
.page-content--tight {
  padding: 50px 40px;
}
 
.page-content--contact {
  padding: 70px 15px;
}
 
/* ============================================
   TYPOGRAPHY
   ============================================ */
.heading-extralarge {
  font-size: var(--font-size-heading-xl);
  font-weight: 600;
  margin-bottom: 30px;
}
 
.heading-large {
  font-size: var(--font-size-heading-lg);
  font-weight: 600;
  margin-bottom: 30px;
  letter-spacing: var(--letter-spacing-tight);
}
 
.heading-medium {
  font-size: var(--font-size-heading-md);
  font-weight: 500;
  margin-bottom: 20px;
}
 
.body-text {
  font-size: var(--font-size-body);
  font-weight: 400;
  line-height: var(--line-height-body);
  letter-spacing: var(--letter-spacing-tight);
}
 
.body-text--list {
  font-size: var(--font-size-body);
  font-weight: 400;
  line-height: var(--line-height-list);
  letter-spacing: var(--letter-spacing-tight);
}
 
.body-text--bold {
  font-weight: 600;
}
 
/* ============================================
   CARD / SPLIT LAYOUT
   ============================================ */
 
/* Generic side-by-side card: image left, text right */
.split-card {
  background-color: var(--color-bg-card);
  display: flex;
}
 
.split-card__image {
  width: 550px;
  height: 600px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}
 
.split-card__body {
  padding: 60px;
  flex: 1;
}
 
/* Variant used on ethique page (image left, text not in a card) */
.split-plain {
  display: flex;
}
 
.split-plain__image {
  background-repeat: no-repeat;
  flex-shrink: 0;
}
 
.split-plain__body {
  flex: 1;
}
 
/* ============================================
   TARIFS — OVERLAP LAYOUT
   ============================================ */
.tarifs-wrapper {
  position: relative;
}
 
.tarifs-image {
  position: relative;
  left: 350px;
  width: 750px;
  height: 650px;
  background-size: 125%;
  background-repeat: no-repeat;
}
 
.tarifs-card {
  position: relative;
  margin-top: -560px;
  width: 600px;
  height: 475px;
  background-color: var(--color-bg-card);
  padding: 50px;
}
 
.tarifs-card__inner {
  margin-top: 70px;
}
 
.tarifs-card__row {
  font-size: var(--font-size-body);
  font-weight: 400;
  letter-spacing: var(--letter-spacing-tight);
  margin-bottom: 30px;
}
 
/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout {
  display: flex;
}
 
.contact-info {
  flex: 1;
  margin-right: 20px;
  margin-top: 20px;
  text-align: left;
}
 
.contact-info p {
  line-height: var(--line-height-list);
  letter-spacing: var(--letter-spacing-tight);
}
 
.contact-info a {
  color: inherit;
}
 
.contact-map {
  width: 800px;
  height: 500px;
  flex-shrink: 0;
  background-color: var(--color-bg);
  margin-top:40px;
}
 
.contact-map iframe {
  border: 0;
  margin-top: -69px;
  display: block;
}
 
/* ============================================
   HOME — INTRO SECTION
   ============================================ */
.hero-image {
  width: 100%;
  height: auto;
  display: block;
}
 
.intro-section {
  background-color: var(--color-bg);
  padding: 50px 120px;
}
 
/* ============================================
   PHOTO GALLERY
   ============================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  cursor: pointer;
  transition: opacity 0.2s;
}

.gallery img:hover {
  opacity: 0.8;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 999;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px 18px;
  cursor: pointer;
  z-index: 1000;
}

.lightbox-arrow.left  { left: 20px; }
.lightbox-arrow.right { right: 20px; }

.lightbox-arrow:hover { background: rgba(255, 255, 255, 0.4); }

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* ============================================
   RESPONSIVE — MOBILE (vertical phone)
   ============================================ */
@media (max-width: 768px) {

  body {
    max-width: 100%;
  }
  
  .heading-extralarge,
  .heading-large,
  .heading-medium {
    text-align: center;
  }

  /* Navbar */
  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 20px 20px;
  }

  .navbar__links {
    flex-direction: column;
	align-items: center;
    gap: 10px;
  }

  .navbar__icon {
    margin-top: 6px;
  }

  /* Page wrappers */
  .page-content,
  .page-content--tight,
  .page-content--contact {
    padding: 30px 20px;
  }

  .intro-section {
    padding: 30px 20px;
  }

  /* Split layouts → stack vertically */
  .split-card,
  .split-plain {
    flex-direction: column;
	background-color: var(--color-bg-card);
  }

  .split-card__image {
    width: 100%;
    height: 220px;
  }

  .split-plain__image {
    width: 100% !important;
    height: 220px !important;
    background-size: cover !important;
    background-position: center !important;
	margin-bottom: 20px;
  }

  .split-card__body {
    padding: 25px;
  }

  /* Tarifs */
  .tarifs-image {
    position: static;
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center !important;
	margin-top: -15px;
  }
  
  .tarifs-card {
    position: static;
    margin-top: 0;
    width: 100%;
    height: auto;
    padding: 25px;
  }
  
  .tarifs-card__inner {
    margin-top: 0;
  }
  
  .tarifs-card__row {
    text-align: center;
  }

  /* Contact */
  .contact-layout {
    flex-direction: column;
  }
  
  .contact-info p {
    margin-bottom: 12px;
  }

  .contact-map {
    width: 100%;
    height: 300px;
    margin-top: 20px;
  }

  .contact-map iframe {
    width: 100% !important;
    height: 300px !important;
    margin-top: 0;
  }

  /* Gallery */
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .lightbox-arrow {
    top: 90%;
  }
}