/* ====== Global Styles ====== */
:root {
  --primary-color: #e7d9d9;
  --secondary-text: #333;
  --tertiary-text: #444;
  --primary-spacing: 20px;
  --secondary-spacing: 10px;
  --font-large: 2em;
  --font-medium: 1.2em;
  --font-small: 1em;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: white;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  backdrop-filter: blur(5px);
  max-width: 1200px;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--primary-spacing);
  background-color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

header img {
  max-width: 120px;
  height: auto;
  margin-bottom: var(--secondary-spacing);
}

header h1 {
  font-size: var(--font-large);
  color: var(--secondary-text);
  margin: 0;
}

nav {
  background-color: #333333;
  overflow: hidden;
  margin: var(--secondary-spacing) 0;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: var(--primary-spacing);
}

nav a {
  display: block;
  text-decoration: none;
  color: white;
  text-align: center;
  padding: var(--secondary-spacing) var(--primary-spacing);
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav a:hover,
nav a:focus {
  background-color: white;
  color: var(--secondary-text);
}

footer {
  margin-top: 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

footer img {
  max-width: 40px;
  height: auto;
  transition: transform 0.3s ease;
}

footer img:hover {
  transform: scale(1.2);
}

footer img:active {
  transform: scale(0.8);
}

figure figcaption{
  display: none;
}

form input[type="text"],
form input[type="email"],
form input[type="file"],
form textarea {
  width: 100%;
  max-width: 800px;
  box-sizing: border-box;
  padding: 10px;
  margin: 10px 0;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form textarea {
  resize: vertical; /* Allow vertical resizing only */
}

form input[type="submit"],
form input[type="reset"] {
  width: auto; /* Buttons can have their own sizes */
  padding: 10px 20px;
  font-size: 1em;
  border: none;
  background-color: #333;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

form input[type="submit"]:hover,
form input[type="reset"]:hover {
  background-color: #555;
}

/* ====== Page-Specific Styles ====== */
.center-main {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.language-select {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--primary-spacing);
  justify-content: center;
}

.language-select li {
  margin: 0;
}

.language-select a {
  text-decoration: none;
  color: black;
  background-color: var(--primary-color);
  padding: var(--secondary-spacing) var(--primary-spacing);
  border-radius: 5px;
  font-size: var(--font-medium);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.language-select a:hover {
  background-color: #bfbfbf;
  transform: scale(1.1);
}


/* Section and Main Styles */
.main-section {
  margin: 5%;
  padding: var(--primary-spacing);
}

.main-section img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: var(--secondary-spacing) 0;
  padding: 5px;
}

.main-section audio {
  display: block;
  margin: var(--secondary-spacing) 0;
}

.main-section p {
  line-height: 1.6;
  margin: var(--secondary-spacing) 0;
}

/* Design responsif */
@media (max-width: 600px) {
  header img {
    max-width: 80px;
  }

  nav ul {
    flex-direction: column;
  }

  .language-select a {
    font-size: var(--font-small);
  }
  form input[type="text"],
  form input[type="email"],
  form input[type="file"],
  form textarea {
    width: 100%;
  }
}

/* Style Swiper */
.swiper {
  width: 100%;
  height: 100%;
  background: white;
}

.swiper-slide {
  font-size: 18px;
  color: black;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px 60px;
}

.parallax-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 130%;
  height: 100%;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center;
}

.swiper-slide .title {
  font-size: 31px;
  font-weight: 300;
}

.swiper-slide .subtitle {
  font-size: 41px;
}

.swiper-slide .text {
  font-size: 14px;
  max-width: 400px;
  line-height: 1.3;
}

.description {
  display: none;
  margin-top: 10px;
}
.toggle-link {
  color: blue;
  cursor: pointer;
  text-decoration: underline;
}
