/* ===============================
   STYLE.CSS — Dronevlucht Twente 3.0
   Compacte hero + zwevende kaarten
=============================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: linear-gradient(180deg, #182c44 0%, #2e3d68 60%, #8b73a5 100%);
  background-attachment: fixed; /* zorgt dat de gradient meescrollt */
  color: #f8f9fb;
  font-family: "Merriweather Sans", sans-serif;
}




/* ===============================
   HERO HEADER
=============================== */
header {
  position: relative;
  height: 30vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: url("img/header.jpg") center center / cover no-repeat;
  overflow: hidden;
}

header .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(24,44,68,0.9) 80%);
  z-index: 0;
}

header * {
  position: relative;
  z-index: 1;
}

header .logo {
  width: 120px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
  animation: fadeIn 1s ease forwards;
}

header h1 {
  font-size: 2.4rem;
  font-weight: 700;
  background: linear-gradient(90deg, #ffffff, #c5b9ff, #8b73a5);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  animation: slideDown 1s ease forwards;
}

header p {
  font-size: 1.1rem;
  color: #e6e6e6;
  text-shadow: 0 3px 12px rgba(0,0,0,0.7);
  opacity: 0;
  animation: fadeIn 1.2s ease forwards 0.5s;
}

@keyframes slideDown {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}
@keyframes fadeIn {
  to {opacity: 1;}
}

/* ===============================
   TOURS
=============================== */
main {
  margin-top: 0; /* was -60px */
  padding: 100px 40px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 100px;
}


.tours {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  max-width: 1100px;
}

/* Tour card basis */
.tour-card {
  background: #1f2e50;
  border-radius: 22px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  width: 300px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.tour-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.45);
}

.tour-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.tour-info {
  padding: 20px;
  background: linear-gradient(180deg, rgba(24,44,68,0.95), rgba(46,61,104,0.9));
}

.tour-info h2 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.tour-info p {
  font-size: 0.95rem;
  color: #dcdcdc;
}

/* Promo card */
.tour-card.promo {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(145deg, #8b73a5, #2e3d68);
}

.tour-card.promo .tour-info {
  background: transparent;
  text-align: center;
}

.tour-card.promo h2 {
  margin-bottom: 15px;
}

.promo-btn {
  background: #182c44;
  color: #fff;
  padding: 12px 26px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.promo-btn:hover {
  background: #8b73a5;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}

/* ===============================
   FOOTER
=============================== */
footer {
  text-align: center;
  padding: 40px 20px;
  background: #1b2335;
  color: #ccc;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ===============================
   RESPONSIVE
=============================== */
@media (max-width: 768px) {
  header {
    height: 50vh;
  }

  header h1 {
    font-size: 1.8rem;
  }

  .tours {
    gap: 40px;
  }

  .tour-card {
    width: 90%;
  }

  main {
    margin-top: -40px;
    padding: 60px 20px;
  }
}

/* ===============================
   PRELOADER
=============================== */
#preloader {
  position: fixed;
  inset: 0;
  background: #182c44;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  animation: fadeOut 0.8s ease forwards;
  animation-delay: 2.5s; /* zichtbaar 2.5s */
  opacity: 1;
  pointer-events: none;
}

.loader-content {
  text-align: center;
  color: #fff;
  opacity: 0;
  animation: fadeIn 1.2s ease forwards 0.3s;
}

.loader-logo {
  width: 130px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.6));
  animation: hoverFloat 2.5s ease-in-out infinite alternate;
}

@keyframes hoverFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

#preloader p {
  font-size: 1rem;
  color: #ddd;
  letter-spacing: 0.5px;
}

@keyframes fadeIn {
  to {opacity: 1;}
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* ===== Contactknop rechtsboven ===== */
.header-contact {
  position: absolute;
  top: 20px;
  right: 30px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}

/* ===== Contactknop rechtsboven ===== */
.header-contact {
  position: fixed;
  top: 20px;
  right: 25px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  z-index: 9999;
}

.header-contact:hover {
  background: #8b73a5;
  transform: translateY(-2px);
}

.contact-icon {
  font-size: 1.3rem;
}

/* 📱 Op mobiel iets groter & ronder */
@media (max-width: 600px) {
  .header-contact {
    width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border-radius: 50%;
  }
}


@supports (-webkit-touch-callout: none) {
  html, body {
    background-attachment: scroll;
  }
}

footer {
  background: linear-gradient(180deg, #1b2335 0%, #2e3d68 100%);
}

/* ===== Scrollreveal effecten ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.about .reveal {
  transition-delay: 0.2s;
}
.about .reveal:nth-child(2) {
  transition-delay: 0.4s;
}


/* ===== Wie zijn wij ===== */

.about {
  margin-top: 60px;
  background: linear-gradient(180deg, #2e3d68 0%, #182c44 100%);
  color: #fff;
  padding: 100px 40px;
  display: flex;
  justify-content: center;

}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  gap: 60px;
}

/* Mobiel: minder ruimte tussen foto en tekst */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column-reverse;
    gap: 20px; /* was 60px */
  }
  .about {
    padding: 60px 20px 40px; /* iets compacter */
  }
}


.about-text {
  flex: 1 1 450px;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #ffffff, #c5b9ff, #8b73a5);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #e6e6e6;
}

.about-photo {
  flex: 1 1 450px;
  text-align: center;
}

.about-photo img {
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease;
}

.about-photo img:hover {
  transform: scale(1.03);
}

/* Responsive */
@media (max-width: 768px) {
  .about {
    padding: 60px 20px;
  }
  .about-content {
    flex-direction: column-reverse;
    text-align: center;
  }
  .about-photo img {
    max-width: 90%;
  }
}




