/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

@font-face {
  font-family: 'Rubik';
  src: url('../fonts/Rubik-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Navigation */
.navbar {
  background-color: #fff;
  padding: 2rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
}

.navbar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  text-transform: uppercase;
  gap: 2rem;
  margin: 0;
  font-size: 14px;
}

.navbar .nav-links li a {
  color: #000;
  text-decoration: none;
  padding-bottom: 5px;
  transition: border-bottom 0.3s ease;
  border-bottom: 3px solid transparent;
  font-weight: 500;
}

.navbar .nav-links li a:hover {
  border-bottom: 3px solid #000;
}

.navbar .nav-links li a.active {
  border-bottom: 3px solid #000;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
  z-index: 1001;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #000;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}

/* Hide mobile language selector on desktop */
.language-selector-mobile {
  display: none;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #27ae60;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background-color: #229954;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.scroll-to-top:active {
  transform: translateY(-1px);
}

.scroll-to-top img {
  width: 24px;
  height: 24px;
  display: block;
  filter: brightness(0) invert(1); /* Makes the SVG white */
}

.page-logo {
  position: absolute;
  top: 10px;
  left: 20px;
  z-index: 1000;
  display: inline-block;
}

.page-logo img {
  width: 84px;
  height: auto;
  display: block;
}

.language-selector {
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 2000;
}

.language-selector select {
  padding: 0.4rem 2rem 0.4rem 2.5rem;
  border: 1px solid #ccc;
  border-radius: 999px;
  background-color: #fff;
  font-size: 13px;
  font-family: 'Rubik', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-repeat: no-repeat, no-repeat;
  background-position: 0.5rem center, right 0.75rem center;
  background-size: 20px 15px, 12px 8px;
  cursor: pointer;
}

/* Default flag (French) */
.language-selector select {
  background-image: url('../images/flag_fr.png'), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23333' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}

/* Flag images based on selected language - will be updated via JavaScript */
.language-selector select.lang-fr {
  background-image: url('../images/flag_fr.png'), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23333' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}

.language-selector select.lang-en {
  background-image: url('../images/flag_en.png'), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23333' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}

.language-selector select.lang-de {
  background-image: url('../images/flag_de.png'), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23333' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}

.language-selector select.lang-nl {
  background-image: url('../images/flag_nl.png'), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23333' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}

.language-selector select.lang-it {
  background-image: url('../images/flag_it.png'), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23333' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}

.language-selector select.lang-es {
  background-image: url('../images/flag_es.png'), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23333' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}

.language-selector select.lang-pt {
  background-image: url('../images/flag_pt.png'), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23333' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  min-height: 600px;
  background: url('../images/1227969381.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  background-position: center 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 15px 0;
}



.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  padding-top: 20px;
  padding-bottom: 20px;
  max-width: 800px;
}

.hero-logo {
  max-width: 320px;
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.hero-website {
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text {
  color: #fff;
  font-size: 1.175rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 3rem;
  background-color: #27ae60;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-btn:hover {
  background-color: #229954;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.hero-spacer {
  height: 30px;
}

.hero-spacer-bottom {
  height: 60px;
}

/* Sections */
.section {
  padding: 0;
}

.section .container {
  max-width: 1000px;
  margin: 0 auto;
}

.section h2 {
  margin-bottom: 1.5rem;
  color: #6CB83A;
  text-transform: uppercase;
  text-align: left;
  font-family: 'Rubik', sans-serif;
  font-size: 1.8rem;
  font-weight: bold;
}

.section h3 {
  color: #6CB83A;
  text-transform: uppercase;
  text-align: left;
  font-family: 'Rubik', sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
}

.section p {
  text-align: justify;
}

/* Full-width images */
.full-width-image {
  width: 90%;
  max-width: 1000px;
  height: 200px;
  display: block;
  margin: 2rem auto;
  object-fit: cover;
  border-radius: 10px;
}

/* Welcome Section */
#welcome .container > div {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

/* Environment Section */
#environment .container > div {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

/* Pitches Section */
#pitches .container > div {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

/* Sanitary Section */
#sanitary .container > div {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.environment-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.intro-text {
  font-size: 1.3rem;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 0;
  text-align: justify;
}

.environment-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.environment-details {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.environment-details p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.caravan-rental {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
  text-align: center;
}

.caravan-rental p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.booking-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 1rem 2rem;
  background-color: #27ae60;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.booking-btn:hover {
  background-color: #229954;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Gallery */
#gallery .container > div {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 4/3;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: '🔍';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 0.9;
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-content {
  display: block;
  max-width: 90%;
  max-height: 85%;
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 5px;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { transform: translate(-50%, -50%) scale(0.8); }
  to { transform: translate(-50%, -50%) scale(1); }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 10000;
}

.lightbox-close:hover {
  color: #f39c12;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  padding: 20px;
  user-select: none;
  transition: color 0.3s ease;
  z-index: 10000;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  color: #f39c12;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 18px;
  text-align: center;
  padding: 10px 20px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 5px;
  max-width: 80%;
}

/* Map Section */
#access {
  position: relative;
  background-image: url('../images/796857197.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 4rem 0;
}

#access .access-content {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.map-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 0;
  align-items: start;
}

.map-info {
  padding-right: 1rem;
}

.map-info ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.map-info li {
  margin-bottom: 0.5rem;
}

.map-embed {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.map-zoom-controls {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 2;
}

.map-zoom-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  color: #000;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.map-zoom-btn:hover,
.map-zoom-btn:focus {
  background: #fff;
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.map-embed iframe {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #4285f4;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.map-btn:hover {
  background-color: #357ae8;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.map-btn-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

/* Responsive adjustments */
/* Tablet and below */
@media (max-width: 992px) {
  .navbar .nav-links {
    gap: 1.5rem;
    font-size: 13px;
  }

  .container {
    width: 95%;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .page-logo {
    top: 12px;
    left: 12px;
  }

  .page-logo img {
    width: 66px;
  }

  /* Hide desktop language selector on mobile */
  .language-selector {
    display: none;
  }

  /* Language selector inside mobile menu */
  .nav-links .language-selector-mobile {
    display: block;
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
  }

  .nav-links .language-selector-mobile select {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f8f9fa;
    font-size: 14px;
    font-family: 'Rubik', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-repeat: no-repeat, no-repeat;
    background-position: 0.75rem center, right 0.75rem center;
    background-size: 20px 15px, 12px 8px;
  }

  /* Mobile language selector flags */
  .nav-links .language-selector-mobile select {
    background-image: url('../images/flag_fr.png'), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23333' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  }

  .nav-links .language-selector-mobile select.lang-fr {
    background-image: url('../images/flag_fr.png'), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23333' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  }

  .nav-links .language-selector-mobile select.lang-en {
    background-image: url('../images/flag_en.png'), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23333' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  }

  .nav-links .language-selector-mobile select.lang-de {
    background-image: url('../images/flag_de.png'), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23333' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  }

  .nav-links .language-selector-mobile select.lang-nl {
    background-image: url('../images/flag_nl.png'), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23333' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  }

  .nav-links .language-selector-mobile select.lang-it {
    background-image: url('../images/flag_it.png'), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23333' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  }

  .nav-links .language-selector-mobile select.lang-es {
    background-image: url('../images/flag_es.png'), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23333' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  }

  .nav-links .language-selector-mobile select.lang-pt {
    background-image: url('../images/flag_pt.png'), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23333' stroke-width='1.5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  }

  /* Mobile Navigation */
  .menu-toggle {
    display: flex;
  }

  .navbar {
    padding: 2rem 0;
  }

  .navbar .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background-color: #fff;
    flex-direction: column;
    padding: 80px 20px 20px;
    gap: 0;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
    z-index: 1000;
  }

  .navbar .nav-links.active {
    right: 0;
  }


  .navbar .nav-links li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .navbar .nav-links li a {
    display: block;
    padding: 1rem 0;
    border-bottom: none;
    border-left: 3px solid transparent;
    padding-left: 10px;
  }

  .navbar .nav-links li a:hover,
  .navbar .nav-links li a.active {
    border-bottom: none;
    border-left: 3px solid #000;
    background-color: #f8f9fa;
  }

  .hero {
    min-height: 500px;
    background-attachment: scroll;
  }

  .hero-logo {
    max-width: 250px;
  }

  .hero-website {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .hero-text {
    font-size: 1.1rem;
  }

  .hero-btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }

  .section h2 {
    font-size: 1.5rem;
  }

  .section h3 {
    font-size: 1.3rem;
  }

  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }

  .lightbox-prev,
  .lightbox-next {
    font-size: 30px;
    padding: 10px;
  }

  .lightbox-close {
    top: 10px;
    right: 20px;
    font-size: 30px;
  }

  .lightbox-content {
    max-width: 95%;
    max-height: 80%;
  }

  .map-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  #access {
    background-attachment: scroll;
  }

  .map-info {
    padding-right: 0;
  }

  .environment-details,
  .caravan-rental {
    padding: 1.5rem;
  }

  .intro-text {
    font-size: 1.1rem;
  }

  .footer-buttons {
    gap: 1rem;
    flex-direction: column;
  }

  .pdf-btn {
    width: 100%;
    max-width: 300px;
  }

  .footer-logos {
    gap: 1rem;
  }

  .footer-logo {
    height: 30px; /* 50% of desktop 60px */
  }

  #welcome .container > div,
  #gallery .container > div,
  #contact .container > div {
    padding: 1.5rem;
  }

  /* Scroll to top button on mobile */
  .scroll-to-top {
    width: 45px;
    height: 45px;
    font-size: 20px;
    bottom: 15px;
    right: 15px;
  }

  .scroll-to-top img {
    width: 20px;
    height: 20px;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .page-logo img {
    width: 55px;
  }

  .language-selector select {
    padding: 0.3rem 1.2rem 0.3rem 0.5rem;
    font-size: 11px;
  }

  .hero {
    min-height: 400px;
    padding: 10px 0;
  }

  .hero-content {
    padding: 1rem;
  }

  .hero-logo {
    max-width: 200px;
  }

  .hero-website {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .hero-text {
    font-size: 0.95rem;
  }

  .hero-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .section {
    padding: 1.5rem 0;
  }

  .section h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .section h3 {
    font-size: 1.1rem;
  }

  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
  }

  #welcome .container > div,
  #gallery .container > div,
  #contact .container > div,
  .environment-details,
  .caravan-rental {
    padding: 1rem;
  }

  .navbar .nav-links {
    width: 100%;
    right: -100%;
  }

  .menu-toggle {
    right: 10px;
  }

  .menu-toggle span {
    width: 22px;
    height: 2.5px;
  }

  .footer-logo {
    height: 30px; /* 50% of desktop 60px */
  }

  .lightbox-prev {
    left: 5px;
  }

  .lightbox-next {
    right: 5px;
  }

  .section p {
    text-align: left;
  }

  form .btn {
    width: 100%;
  }

  /* Scroll to top button on small mobile */
  .scroll-to-top {
    width: 40px;
    height: 40px;
    font-size: 18px;
    bottom: 12px;
    right: 12px;
  }

  .scroll-to-top img {
    width: 18px;
    height: 18px;
  }
}

/* Contact Form */
#contact .container > div {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form input,
form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
  font-size: 16px; /* Prevents zoom on iOS */
}

form textarea {
  min-height: 150px;
  resize: vertical;
}

form .btn {
  width: fit-content;
  padding: 0.75rem 1.5rem;
  background-color: #2c3e50;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

form .btn:hover {
  background-color: #1a252f;
  transform: translateY(-2px);
}

form .btn:active {
  transform: translateY(0);
}

/* Required field asterisk */
.required {
  color: #dc3545;
  font-weight: bold;
  margin-left: 2px;
}

/* Footer */
.footer a {
  text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible {
  text-decoration: underline !important;
}

.footer .footer-logos a:hover,
.footer .footer-logos a:focus-visible {
  text-decoration: none !important;
}

.footer {
  background-color: #213910;
  color: #fff;
  text-align: center;
  padding: 30px 0;
  margin-top: 30px;
}

.footer-spacer {
  height: 50px;
}

.footer-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #fff;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.pdf-btn:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.pdf-icon {
  height: 20px;
  width: auto;
}

.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  padding: 0 1rem;
}

.footer-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-logos a {
  display: inline-block;
  line-height: 0;
}

.footer-logo:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.copyright {
  margin: 0;
  font-size: 0.85rem;
  text-transform: uppercase;
}
