/* ============================================
   KAIS TRAVEL BERLIN — Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

:root {
  --blue-primary: #0077B6;
  --blue-dark: #005F8A;
  --blue-deeper: #023E58;
  --blue-light: #90E0EF;
  --blue-pale: #CAF0F8;
  --blue-bg: #F0F9FF;
  --white: #FFFFFF;
  --off-white: #F8FAFB;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --green-whatsapp: #25D366;
  --green-whatsapp-hover: #1EBE57;
  --red-accent: #E63946;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 18px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.3;
  color: var(--gray-900);
}

a {
  color: var(--blue-primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--blue-dark);
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,119,182,0.1);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-area img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--blue-primary);
  box-shadow: 0 2px 8px rgba(0,119,182,0.2);
}
.logo-area .logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue-primary);
}
.logo-area .logo-sub {
  font-size: 0.65rem;
  color: var(--gray-500);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.nav-desktop a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  padding-bottom: 2px;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-primary);
  transition: width var(--transition);
}
.nav-desktop a:hover {
  color: var(--blue-primary);
}
.nav-desktop a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--blue-primary);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.8rem !important;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--blue-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--white);
  box-shadow: -5px 0 30px rgba(0,0,0,0.15);
  z-index: 1001;
  padding: 5rem 2rem 2rem;
  transition: right var(--transition);
  flex-direction: column;
  gap: 1.5rem;
}
.nav-mobile.open {
  right: 0;
}
.nav-mobile a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1000;
}
.nav-overlay.active {
  display: block;
}
.mobile-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-600);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/hero2.jpg') center/cover no-repeat;
  transform: scale(1.03);
  transition: transform 8s ease;
}
.hero:hover .hero-bg {
  transform: scale(1.0);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2,62,88,0.55) 0%,
    rgba(0,119,182,0.4) 50%,
    rgba(2,62,88,0.7) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 850px;
  padding: 2rem 1.5rem;
  animation: fadeInUp 1s ease-out;
}
.hero-content h1 {
  font-size: 2.6rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  font-weight: 700;
}

.hero-notice {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-top: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}
.hero-notice i {
  font-size: 1.4rem;
  color: var(--blue-light);
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.hero-notice p {
  color: rgba(255,255,255,0.95);
  font-size: 0.95rem;
  line-height: 1.7;
}
.hero-notice strong {
  color: var(--white);
}

.hero-cta-row {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: var(--blue-primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0,119,182,0.35);
}
.btn-primary:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,119,182,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-color: var(--white);
}

.btn-whatsapp {
  background: var(--green-whatsapp);
  color: var(--white);
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 18px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover {
  background: var(--green-whatsapp-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
}

.btn-submit {
  background: var(--blue-primary);
  color: var(--white);
  padding: 1rem 2.5rem;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  width: 100%;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,119,182,0.3);
}
.btn-submit:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: 5rem 1.5rem;
}
.section-alt {
  background: var(--blue-bg);
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: 2rem;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}
.section-header p {
  font-size: 1rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}
.section-divider {
  width: 60px;
  height: 3px;
  background: var(--blue-primary);
  margin: 1rem auto 0;
  border-radius: 3px;
}

/* ============================================
   ROUTES CARDS
   ============================================ */

.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.route-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.route-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-primary), var(--blue-light));
}
.route-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.route-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.route-card-icon i {
  font-size: 1.4rem;
  color: var(--blue-primary);
}
.route-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--gray-900);
}
.route-card-image {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1rem;
}
.route-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.route-card:hover .route-card-image img {
  transform: scale(1.08);
}
.route-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.notice-box {
  background: linear-gradient(135deg, #FFF7ED, #FEF3C7);
  border: 1px solid #FDE68A;
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
}
.notice-box i {
  color: #D97706;
  font-size: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.notice-box p {
  font-size: 0.85rem;
  color: #92400E;
  font-weight: 500;
}

/* ============================================
   DESTINATIONS SHOWCASE
   ============================================ */

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.dest-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}
.dest-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
}
.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.dest-card:hover img {
  transform: scale(1.1);
}
.dest-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(2, 62, 88, 0.85) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: background var(--transition);
}
.dest-card:hover .dest-card-overlay {
  background: linear-gradient(
    180deg,
    transparent 20%,
    rgba(2, 62, 88, 0.9) 100%
  );
}
.dest-card-overlay h3 {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.dest-card-overlay p {
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  line-height: 1.5;
}
.dest-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ============================================
   TABLES
   ============================================ */

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--white);
  border: 1px solid var(--gray-100);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.data-table thead {
  background: var(--blue-primary);
}
.data-table thead th {
  color: var(--white);
  font-weight: 600;
  padding: 1rem 1.2rem;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}
.data-table tbody tr {
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition);
}
.data-table tbody tr:hover {
  background: var(--blue-bg);
}
.data-table tbody tr:last-child {
  border-bottom: none;
}
.data-table td {
  padding: 1rem 1.2rem;
  color: var(--gray-700);
}
.data-table td:first-child {
  font-weight: 600;
  color: var(--gray-800);
}

.tables-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-800);
  text-align: left;
  transition: color var(--transition);
}
.faq-question:hover {
  color: var(--blue-primary);
}
.faq-question i {
  font-size: 0.8rem;
  color: var(--blue-primary);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
  max-height: 300px;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.2rem;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}
.contact-form h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.contact-form > p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--gray-800);
  background: var(--gray-50);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(0,119,182,0.1);
  background: var(--white);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}
.contact-info-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--gray-900);
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.contact-info-item:last-child {
  margin-bottom: 0;
}
.contact-info-item i {
  color: var(--blue-primary);
  font-size: 1rem;
  margin-top: 0.2rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}
.contact-info-item span {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--blue-deeper);
  color: rgba(255,255,255,0.7);
  padding: 3rem 1.5rem 1.5rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.footer-brand p {
  font-size: 0.8rem;
  line-height: 1.7;
  max-width: 350px;
}
.footer-links h4 {
  font-family: 'Inter', sans-serif;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  margin-bottom: 0.6rem;
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--white);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-social a {
  color: rgba(255,255,255,0.5);
  font-size: 1.1rem;
  margin-left: 1rem;
  transition: color var(--transition);
}
.footer-social a:hover {
  color: var(--white);
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-page {
  padding-top: 120px;
  padding-bottom: 4rem;
}
.legal-page .section-inner {
  max-width: 800px;
}
.legal-page h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.legal-page .legal-updated {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 2.5rem;
}
.legal-page h2 {
  font-size: 1.3rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--blue-dark);
}
.legal-page h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.legal-page p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--gray-600);
}
.legal-page ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
.legal-page li {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 0.4rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  html { font-size: 16px; }

  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .nav-mobile { display: flex; }

  .hero { min-height: 80vh; }
  .hero-content h1 { font-size: 1.8rem; }

  .tables-two-col { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .routes-grid { grid-template-columns: 1fr; }
  .destinations-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.5rem; }
  .hero-notice { flex-direction: column; padding: 1.2rem; }
  .section { padding: 3rem 1rem; }
  .contact-form { padding: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .destinations-grid { grid-template-columns: 1fr; }
  .dest-card { aspect-ratio: 16/9; }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 1rem;
}
.lang-switcher a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 22px;
  border-radius: 3px;
  overflow: hidden;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  letter-spacing: 0.5px;
}
.lang-switcher a:hover {
  transform: scale(1.12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.lang-switcher a.active {
  outline: 2px solid var(--blue-primary);
  outline-offset: 1px;
  transform: scale(1.05);
}
.lang-switcher .lang-de {
  background: linear-gradient(180deg, #000 33%, #DD0000 33%, #DD0000 66%, #FFCC00 66%);
}
.lang-switcher .lang-fr {
  background: linear-gradient(90deg, #002395 33%, #FFFFFF 33%, #FFFFFF 66%, #ED2939 66%);
}
.lang-switcher .lang-fr span {
  text-shadow: 0 0 2px rgba(0,0,0,0.5);
}
.lang-switcher .lang-ar {
  background: radial-gradient(circle at center, #FFFFFF 28%, #E70013 28%);
}

.lang-switcher-mobile {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  border-top: 1px solid var(--gray-100);
}
.lang-switcher-mobile a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 28px;
  border-radius: 4px;
  overflow: hidden;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  letter-spacing: 0.5px;
}
.lang-switcher-mobile a.active {
  outline: 2px solid var(--blue-primary);
  outline-offset: 1px;
}

/* ============================================
   RTL SUPPORT (ARABIC)
   ============================================ */

[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] body {
  font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
}

/* Header RTL */
[dir="rtl"] .header-inner {
  flex-direction: row-reverse;
}
[dir="rtl"] .logo-area {
  flex-direction: row-reverse;
}
[dir="rtl"] .logo-area .logo-sub {
  text-align: right;
}
[dir="rtl"] .nav-desktop {
  flex-direction: row-reverse;
}
[dir="rtl"] .nav-desktop a::after {
  left: auto;
  right: 0;
}
[dir="rtl"] .lang-switcher {
  margin-left: 0;
  margin-right: 1rem;
}

/* Mobile menu RTL */
[dir="rtl"] .nav-mobile {
  right: auto;
  left: -100%;
  box-shadow: 5px 0 30px rgba(0,0,0,0.15);
}
[dir="rtl"] .nav-mobile.open {
  left: 0;
  right: auto;
}
[dir="rtl"] .mobile-close {
  right: auto;
  left: 1.2rem;
}

/* Hero RTL */
[dir="rtl"] .hero-notice {
  text-align: right;
  flex-direction: row-reverse;
}
[dir="rtl"] .hero-cta-row {
  flex-direction: row-reverse;
}

/* Cards RTL */
[dir="rtl"] .route-card {
  text-align: right;
}

/* Notice RTL */
[dir="rtl"] .notice-box {
  flex-direction: row-reverse;
  text-align: right;
}

/* Tables RTL */
[dir="rtl"] .data-table thead th {
  text-align: right;
}
[dir="rtl"] .data-table thead th i {
  margin-right: 0;
  margin-left: 0.5rem;
}

/* FAQ RTL */
[dir="rtl"] .faq-question {
  text-align: right;
  flex-direction: row-reverse;
}

/* Contact RTL */
[dir="rtl"] .contact-form h3,
[dir="rtl"] .contact-form > p {
  text-align: right;
}
[dir="rtl"] .form-group label {
  text-align: right;
}
[dir="rtl"] .form-group input,
[dir="rtl"] .form-group textarea,
[dir="rtl"] .form-group select {
  text-align: right;
}
[dir="rtl"] .contact-info-item {
  flex-direction: row-reverse;
  text-align: right;
}
[dir="rtl"] .contact-info-item i {
  text-align: center;
}

/* Footer RTL */
[dir="rtl"] .footer-top {
  direction: rtl;
}
[dir="rtl"] .footer-brand p {
  text-align: right;
}
[dir="rtl"] .footer-links {
  text-align: right;
}
[dir="rtl"] .footer-bottom {
  flex-direction: row-reverse;
}
[dir="rtl"] .footer-social a {
  margin-left: 0;
  margin-right: 1rem;
}

/* Legal pages RTL */
[dir="rtl"] .legal-page h1,
[dir="rtl"] .legal-page h2,
[dir="rtl"] .legal-page h3,
[dir="rtl"] .legal-page p,
[dir="rtl"] .legal-page li {
  text-align: right;
}
[dir="rtl"] .legal-page ul {
  padding-left: 0;
  padding-right: 1.5rem;
}

/* Buttons RTL */
[dir="rtl"] .btn {
  flex-direction: row-reverse;
}
