/*
  Global stylesheet for the unified Unveiled Project site.
  The design follows a dark, elegant theme with accent colors and plenty of whitespace.
  Feel free to adjust paddings, margins and colors to taste.
*/

body {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  background-color: #0c0c0c;
  /* Slightly lighter text for better contrast on dark backgrounds */
  color: #e0e0e0;
  line-height: 1.6;
}

header {
  background-image: url('hero-bg.png');
  background-size: cover;
  background-position: center;
  height: 80vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Use a lighter overlay so the background image remains visible while keeping text readable */
  /* Lower opacity makes the hero section feel less heavy and improves contrast */
  /* Reduce the darkness of the overlay for clearer readability. A lower alpha allows the background image to show through while keeping text legible. */
  background-color: rgba(0, 0, 0, 0.2);
}

header h1 {
  font-size: 3rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 1;
  margin: 0;
  /* Ensure strong contrast on dark header */
  color: #ffffff;
  font-weight: 600;
}

header p {
  font-size: 1.2rem;
  margin-top: 1rem;
  max-width: 700px;
  z-index: 1;
  /* Ensure strong contrast on dark header */
  color: #ffffff; /* use pure white for maximum contrast on dark overlay */
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 0;
}

section {
  margin-bottom: 4rem;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid #8b0000;
  display: inline-block;
  padding-bottom: .5rem;
}

/* Experience section */
.experience {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.experience p {
  font-size: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

/* Who attends section */
.attend {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.attend .attendee {
  flex: 1;
  min-width: 250px;
  background-color: #151515;
  padding: 2rem;
  border-radius: 8px;
}

.attend .attendee h3 {
  margin-top: 0;
  color: #c62828;
}

/* Scenes section */
.scenes {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.scenes img {
  width: 100%;
  max-width: 320px;
  border-radius: 8px;
}

/* FAQ section */
.faq {
  max-width: 900px;
  margin: 0 auto;
}

.faq h3 {
  color: #c62828;
  margin-top: 1rem;
}

.faq p {
  margin-bottom: 1rem;
}

/* Testimonials section */
.testimonials {
  background-color: #111111;
  padding: 2rem;
  border-radius: 8px;
}

.testimonial {
  margin-bottom: 1.5rem;
}

.testimonial p {
  margin: 0;
  font-style: italic;
}

.testimonial span {
  display: block;
  margin-top: .5rem;
  font-size: .85rem;
  color: #888;
}

/* Email subscription */
.subscribe {
  text-align: center;
}

.subscribe input[type="email"] {
  padding: 10px;
  width: 250px;
  border: none;
  border-radius: 4px;
  margin-right: .5rem;
}

.subscribe button {
  padding: 10px 20px;
  border: none;
  background-color: #c62828;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
}

/* Login form */
.login-container {
  max-width: 400px;
  margin: 4rem auto;
  background-color: #111;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
}

.login-container h2 {
  margin-bottom: 1rem;
}

.login-container input[type="text"],
.login-container input[type="password"] {
  width: 90%;
  padding: 10px;
  margin: .5rem 0;
  border: 1px solid #333;
  border-radius: 4px;
  background-color: #1e1e1e;
  color: #f5f5f5;
}

.login-container button {
  width: 100%;
  padding: 10px;
  background-color: #c62828;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
}

.secret-content {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #111;
  border-radius: 8px;
}

.secret-content h2 {
  margin-top: 0;
}

.inner-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 10px 20px;
  background-color: #c62828;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
}

.error {
  color: #e53935;
  margin-bottom: 1rem;
}

/* Inner circle */
.inner-content {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #111;
  border-radius: 8px;
}

.inner-content h2 {
  margin-top: 0;
}

/* Language switcher */
.language-switch {
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 2;
}

.language-switch a {
  color: #ffffff;
  margin-left: 10px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.language-switch a.active {
  text-decoration: underline;
}