:root {
  --primary: #0d62ad;
  --secondary: #2ea5e4;
  --accent: #30cff1;
  --highlight: #0d62ad;
  /* Changed from yellow to blue */
  --amber: #faaf3b;
  --sky-blue: #8fd8ff;
  --bg-white: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --font-heading: 'Syncopate', sans-serif;
  --font-body: 'Outfit', sans-serif;
}

@font-face {
  font-family: 'Blanka';
  src: url('https://fonts.cdnfonts.com/s/16217/Blanka-Regular.woff') format('woff');
}

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

body {
  background: #ffffff;
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ─── SHADCN UI STYLE BACKGROUND ─── */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #ffffff;
  background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
}

/* ─── ONE BIG BODY CARD (SHADCN STYLE) ─── */
.main-wrapper {
  width: 95%;
  max-width: 1300px;
  margin: 40px auto 60px;
  background: #ffffff;
  border-radius: 30px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  padding: 0;
  /* Edge-to-edge support */
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.content-padding {
  padding: 60px 40px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mini-hero-card {
  width: 100%;
  max-width: 1100px;
  height: 400px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 15px 40px rgba(13, 98, 173, 0.1);
  margin-bottom: 40px;
}

.mini-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text-box {
  width: 90%;
  max-width: 800px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  margin-bottom: 80px;
  box-shadow: 0 10px 30px rgba(13, 98, 173, 0.05);
}

.hero-text-box h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 20px;
}

.hero-text-box p {
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #1e293b;
}

/* ─── SUBTLE BORDER BEAM ─── */
.main-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  padding: 2px;
  background: conic-gradient(from var(--beam-angle),
      transparent 80%,
      var(--primary),
      var(--secondary),
      transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: beamRotate 6s linear infinite;
}

@property --beam-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes beamRotate {
  from {
    --beam-angle: 0deg;
  }

  to {
    --beam-angle: 360deg;
  }
}

/* ─── LANGUAGE TOGGLE SWITCH ─── */
.lang-switch {
  position: absolute;
  top: 40px;
  left: 40px;
  display: flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 50px;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  user-select: none;
  width: 130px;
  z-index: 1000;
}

.lang-switch .toggle-bg {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 58px;
  height: calc(100% - 8px);
  background: #ffffff;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-switch.en .toggle-bg {
  transform: translateX(64px);
}

.lang-option {
  flex: 1;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #64748b;
  transition: color 0.3s;
  height: 32px;
}

.lang-switch.de .option-de,
.lang-switch.en .option-en {
  color: var(--primary);
}

.flag-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}

.hero-logo {
  width: 100%;
  max-width: 350px;
  margin-bottom: 40px;
}

h1 {
  font-family: 'Blanka', var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: #0f172a;
  text-align: center;
}

.shimmer-text {
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

/* ─── CHAT BUTTON (SQUARE WITH CORNERS) ─── */
.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background: var(--primary);
  color: white;
  padding: 15px 25px;
  border-radius: 12px;
  /* Square with rounded corners */
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(13, 98, 173, 0.3);
  z-index: 2000;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: translateY(-5px);
}

/* ─── TOUR CARDS ─── */
#tours {
  padding: 0 40px;
  /* Prevents touching the edges of main-wrapper */
}

.tour-card {
  height: 400px;
  /* Slightly reduced for 3-column layout */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.tour-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.tour-card:hover .tour-bg {
  transform: none;
}

.tour-card:hover {
  transform: none;
  box-shadow: 0 10px 40px rgba(13, 98, 173, 0.1);
}

.tour-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.4) 40%,
      transparent 100%);
  z-index: 2;
  transition: opacity 0.5s;
}

.tour-card:hover::before {
  opacity: 0.8;
}

.tour-content {
  position: relative;
  z-index: 3;
  padding: 30px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.tour-info {
  flex: 1;
}

.tour-content h3 {
  font-family: 'Blanka', var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.location-badge,
.tour-info h3,
.tour-info p,
.tour-btn {
  opacity: 1;
  /* Always visible */
  transform: translateY(0);
  /* Always in place */
  transition: all 0.3s ease;
}

.tour-subtext {
  font-size: 0.85rem;
  opacity: 0.8;
  line-height: 1.4;
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.location-badge {
  background: var(--primary);
  color: white;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
  box-shadow: 0 0 20px rgba(13, 98, 173, 0.4);
  letter-spacing: 1px;
}

.tour-btn {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
  overflow: hidden;
}

.tour-card:hover .tour-btn {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(13, 98, 173, 0.6);
}

.tour-btn svg {
  transition: transform 0.3s;
}

.tour-btn:hover svg {
  transform: translateX(3px);
}


/* ─── HORIZONTAL FOOTER ─── */
.footer-card {
  width: 100%;
  margin-top: 40px;
  background: #ffffff;
  border-radius: 30px;
  border: 1px solid #e2e8f0;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 30px;
}

.footer-brand img {
  width: 320px;
}

.footer-section h4 {
  font-family: 'Blanka', var(--font-heading);
  margin-bottom: 15px;
  color: var(--primary);
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icon {
  width: 45px;
  height: 45px;
  background: #f1f5f9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: all 0.3s;
  text-decoration: none;
}

.social-icon:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-5px);
}

.footer-copyright {
  width: 100%;
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
  font-weight: 700;
  font-size: 0.7rem;
  opacity: 0.5;
}