/* ============================================
   AELIA TRAVEL – Custom Styles
   ============================================ */

/* Hero background */
.hero-bg {
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* ── Header scroll state ─────────────────── */
#header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}
#header.scrolled .nav-link    { color: #00143C; }
#header.scrolled #logo-main   { color: #00143C; }
#header.scrolled #lang-btn    { color: #00143C; border-color: rgba(0,20,60,0.3); }
#header.scrolled #menu-toggle { color: #00143C; }

/* ── Navigation ──────────────────────────── */
.nav-link {
  position: relative;
  transition: color 0.2s;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #3C8CB4;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: #3C8CB4 !important; }

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  color: #00143C;
  font-weight: 500;
  border-radius: 0.75rem;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav-link:hover { background: #F0F6FA; color: #3C8CB4; }

/* ── Buttons ──────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #3C8CB4;
  color: white;
  font-weight: 600;
  font-size: 0.925rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.35);
}
.btn-primary:hover {
  background: #2e7aa3;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: white;
  font-weight: 600;
  font-size: 0.925rem;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  border: 2px solid rgba(255,255,255,0.4);
  transition: all 0.25s ease;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
  transform: translateY(-2px);
}

/* ── Section helpers ────────────────────── */
.section-badge {
  display: inline-block;
  background: rgba(60,140,180,0.12);
  color: #3C8CB4;
  border: 1px solid rgba(60,140,180,0.3);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #00143C;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.section-subtitle {
  color: #6b7280;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Why cards ──────────────────────────── */
.why-card {
  background: white;
  border-radius: 1.25rem;
  padding: 1.75rem;
  border: 1px solid rgba(0,20,60,0.06);
  transition: all 0.3s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,20,60,0.1);
  border-color: rgba(60,140,180,0.25);
}
.why-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(60,140,180,0.1);
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* ── Service cards ──────────────────────── */
.service-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(0,20,60,0.06);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: all 0.3s ease;
}
.service-card:hover {
  box-shadow: 0 16px 50px rgba(0,20,60,0.09);
  transform: translateY(-3px);
  border-color: rgba(60,140,180,0.2);
}
.service-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, rgba(60,140,180,0.12), rgba(60,140,180,0.05));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.service-card:hover .service-icon-wrap { transform: scale(1.1) rotate(-3deg); }
.service-link {
  display: inline-flex;
  align-items: center;
  color: #3C8CB4;
  font-size: 0.875rem;
  font-weight: 600;
  transition: gap 0.2s;
  gap: 0.25rem;
}
.service-link:hover { gap: 0.5rem; }

/* ── Soon cards ─────────────────────────── */
.soon-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.25rem;
  padding: 1.75rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.soon-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(60,140,180,0.3);
  transform: translateY(-3px);
}
.soon-pill {
  margin-top: auto;
  padding-top: 1rem;
  display: inline-flex;
  align-items: center;
  background: rgba(60,140,180,0.15);
  color: #3C8CB4;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(60,140,180,0.25);
  align-self: flex-start;
}

/* ── Contact cards ─────────────────────── */
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: white;
  border: 1px solid rgba(0,20,60,0.08);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  transition: all 0.25s ease;
}
.contact-card:hover {
  border-color: rgba(60,140,180,0.35);
  box-shadow: 0 4px 20px rgba(60,140,180,0.1);
  transform: translateX(4px);
}
.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(60,140,180,0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.social-btn {
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(0,20,60,0.06);
  color: #00143C;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.social-btn:hover {
  background: #3C8CB4;
  color: white;
  transform: translateY(-2px);
}

/* ── Form ───────────────────────────────── */
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.form-input {
  width: 100%;
  background: white;
  border: 1.5px solid #E5E7EB;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: #374151;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  font-family: 'Inter', sans-serif;
}
.form-input:focus {
  border-color: #3C8CB4;
  box-shadow: 0 0 0 3px rgba(60,140,180,0.12);
}
.form-input::placeholder { color: #9CA3AF; }

/* ── About image decoration ─────────────── */
.about-image-container { position: relative; }
.about-img-bg {
  position: absolute;
  inset: -12px;
  background: linear-gradient(135deg, rgba(60,140,180,0.12), rgba(0,20,60,0.08));
  border-radius: 2rem;
  transform: rotate(2deg);
}
.about-img-frame { position: relative; }

/* ── Footer links ────────────────────────── */
.footer-link { transition: color 0.2s; }
.footer-link:hover { color: #3C8CB4; }

/* ── RTL Support ─────────────────────────── */
[dir="rtl"] {
  font-family: 'Segoe UI', 'Arial', 'Tahoma', sans-serif;
}
[dir="rtl"] .section-title { text-align: right; }
[dir="rtl"] .section-subtitle { text-align: right; margin: 0 0 0 auto; }
[dir="rtl"] .contact-card:hover { transform: translateX(-4px); }
[dir="rtl"] .nav-link::after { left: auto; right: 0; }
[dir="rtl"] .service-card { flex-direction: row-reverse; }

/* ── Scrollbar ───────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #3C8CB4; border-radius: 3px; }

/* ── Smooth scroll ───────────────────────── */
html { scroll-behavior: smooth; }

/* ── Focus visible ───────────────────────── */
*:focus-visible {
  outline: 2px solid #3C8CB4;
  outline-offset: 3px;
  border-radius: 4px;
}