/* ========================
   Home Page Styles
========================= */

/* ---------------- Hero Section ---------------- */
.home-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
}

.home-hero,
.home-why-us,
.home-tour-overview,
.home-testimonials,
.home-faq,
.home-contact {
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical center */
  align-items: center;     /* horizontal center */
  padding: 4rem 1rem;
  text-align: center;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 0;
}

.home-hero-container {
  position: relative;
  z-index: 1;
}

.home-hero-content {
  text-align: center;
}

.home-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  margin: 0.5rem;
  text-align: center;
  min-width: 140px;
}
/* Primary button */
.home-btn-primary {
  background-color: #0070f3;
  color: #fff;
  border: none;
}

.home-btn-primary:hover {
  background-color: #005bb5;
}

/* Secondary button (visible on dark backgrounds) */
.home-btn-secondary {
  background-color: rgba(255,255,255,0.2);
  color: #fff;
  border: 1px solid #fff;
}

.home-btn-secondary:hover {
  background-color: rgba(255,255,255,0.35);
}
.home-btn-hero {
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.3s;
  display: inline-block;
  margin: 0 0.5rem;
}

.home-btn-primary {
  background-color: #0070f3;
  color: #fff;
  border: none;
}

.home-btn-primary:hover {
  background-color: #005bb5;
}

.home-btn-secondary {
  background-color: rgba(255,255,255,0.2);
  color: #fff;
  border: 1px solid #fff;
}

.home-btn-secondary:hover {
  background-color: rgba(255,255,255,0.3);
}

/* ---------------- Warum mit uns Section ---------------- */
.home-why-us {
  text-align: center;
  padding: 4rem 1rem;
}

.home-why-us h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.home-why-us-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.home-card {
  flex: 1 1 200px;
  max-width: 250px;
  padding: 1.5rem;
  border-radius: 12px;
  background: #f9f9f9;
  text-align: center;
  transition: transform 0.3s ease;
}

.home-card:hover {
  transform: translateY(-5px);
}

.home-card i {
  font-size: 2rem;
  color: #0070f3;
  margin-bottom: 0.5rem;
}

/* ---------------- Tour Overview Section ---------------- */
/* ---------------- Tour Overview Section ---------------- */
.home-tour-overview {
  text-align: center;
  padding: 4rem 1rem;
}

.home-tour-overview h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* ---------------- Tour Card ---------------- */
.home-tour-card {
  position: relative;
  background-image: url('/img/BJ/BJ_the_great_wall_bluesky.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 4rem 2rem;
  border-radius: 15px;
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  min-height: 400px;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* hover effect */
}

/* ---------------- Overlay ---------------- */
.home-tour-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15); /* lighter overlay for better visibility */
  z-index: 0;
  border-radius: 15px;
}

/* ---------------- Card Content ---------------- */
.home-tour-card h2,
.home-tour-card p,
.home-tour-buttons {
  position: relative;
  z-index: 1;
}

/* ---------------- Card Hover Effect ---------------- */
.home-tour-card:hover {
  transform: translateY(-5px);       /* subtle lift */
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* ---------------- Tour Buttons ---------------- */
.home-tour-buttons {
  display: flex;
  flex-wrap: wrap;    /* allow wrapping on small screens */
  justify-content: center;
  gap: 1rem;          /* space between buttons, works horizontally & vertically */
  margin-top: 1rem;
}

.home-tour-buttons .home-btn-primary,
.home-tour-buttons .home-btn-secondary {
  flex: 1 1 auto;       /* allow buttons to shrink & grow */
  min-width: 140px;     /* prevent buttons from being too small */
  margin: 0 0.5rem;
}

/* Secondary button style for light backgrounds */
.home-tour-overview .home-btn-secondary {
  background-color: #fff;
  color: #0070f3;
  border: 1px solid #0070f3;
  transition: all 0.3s ease;
}

.home-tour-overview .home-btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005bb5;
  border-color: #005bb5;
}


/* ---------------- Testimonials Section ---------------- */
.home-testimonials {
  padding: 4rem 1rem;
  background-color: #f5f6f7;
  text-align: center;
}

.home-testimonials h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.home-testimonials-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.home-testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  max-width: 300px;
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.home-testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.home-testimonial-card p {
  font-size: 1rem;
  color: #333;
}

.home-testimonial-card span {
  font-weight: 600;
  color: #555;
  font-size: 0.9rem;
}

/* ---------------- FAQ Section ---------------- */
.home-faq {
  padding: 4rem 1rem;
  background-color: #f5f6f7;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.home-faq h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.faq-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1rem 1.5rem;
  text-align: left;
  background: #0070f3; /* same Apple-style dark blue */
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px; /* same as hero buttons */
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #005fa3; /* slightly darker on hover */
  transform: translateY(-2px);
}

.faq-question::after {
  content: '+';
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1rem 1.5rem;
  display: none;
  font-size: 1rem;
  color: #333;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-link {
  color: #0071c2; /* Apple-like dark blue */
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.faq-link:hover {
  color: #005fa3; /* slightly darker on hover */
  text-decoration: underline;
}


/* ---------------- Contact Section ---------------- */
.home-contact {
  text-align: center;
  padding: 4rem 1rem;
}

.home-contact h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.home-contact-info {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.home-contact-info li {
  margin-bottom: 1rem;
}

/* ---------------- Responsive Adjustments ---------------- */
@media (max-width: 768px) {
  .home-hero-content h1 {
    font-size: 2rem;
  }
  .home-hero-content p {
    font-size: 1rem;
  }
  .home-why-us-cards,
  .home-tour-buttons {
    flex-direction: column;
    gap: 1.5rem;
  }
  .home-tour-card {
    padding: 1.5rem;
  }
  .home-tour-card {
    padding: 3rem 1.5rem;
    min-height: 300px;
  }
}
