/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Aref+Ruqaa:wght@400;700&family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --purple: #532c6c;
  --purple-light: #7b4a9e;
  --purple-glow: rgba(83, 44, 108, 0.25);
  --lime: #cbd518;
  --lime-light: #e0ea4a;
  --lime-glow: rgba(203, 213, 24, 0.3);
  --navy: #04192a;
  --navy-mid: #0b2a45;
  --red: #da2128;
  --white: #ffffff;
  --off-white: #f8f7fa;
  --gray-100: #f0edf3;
  --gray-200: #e0dbe6;
  --gray-300: #c5bdd0;
  --text-primary: #0d0a12;
  --text-secondary: #5a5068;
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body.page-template-page-flyadeal {
  font-family: var(--font-primary) !important;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

.flyadeal-main img { max-width: 100%; height: auto; display: block; }
.flyadeal-main a { text-decoration: none; color: inherit; }
.flyadeal-main button { cursor: pointer; border: none; font-family: inherit; background: none;margin-left: 0px;
    margin-right: 0; }


/* Search widget */
.page-template-page-flyadeal .search-widget-wrapper{
	padding-top:20px !important;
	border: 1px solid var(--gray-200);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    border-radius: 10px;
}
/* ===== LAYOUT ===== */
.flyadeal-main .container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== HERO SECTION ===== */
.book-flight{
	text-align: center;
}
.flyadeal-main .hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 30% 50%, rgba(83,44,108,0.3) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(203,213,24,0.08) 0%, transparent 50%),
              var(--navy);
}

/* Animated grid background */
.flyadeal-main .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(203,213,24,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(203,213,24,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridShift 20s linear infinite;
}

@keyframes gridShift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(80px, 80px); }
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 15s ease-in-out infinite;
}
.hero-orb--1 {
  width: 500px; height: 500px;
  background: var(--purple);
  opacity: 0.15;
  top: -10%; left: -8%;
  animation-delay: 0s;
}
.hero-orb--2 {
  width: 350px; height: 350px;
  background: var(--lime);
  opacity: 0.08;
  bottom: -5%; right: -5%;
  animation-delay: -5s;
}
.hero-orb--3 {
  width: 250px; height: 250px;
  background: var(--purple-light);
  opacity: 0.1;
  top: 50%; right: 15%;
  animation-delay: -10s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.1); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

/* Background Planes - Static Decorative */
.hero-planes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-plane {
  position: absolute;
  color: var(--lime);
}

.hero-plane svg {
  width: 48px;
  height: 48px;
}

.hero-plane--1 {
  top: 12%;
  left: 8%;
  opacity: 0.12;
  transform: rotate(35deg);
}
.hero-plane--1 svg { width: 56px; height: 56px; }

.hero-plane--2 {
  top: 22%;
  right: 10%;
  opacity: 0.08;
  transform: rotate(-25deg);
}
.hero-plane--2 svg { width: 40px; height: 40px; }

.hero-plane--3 {
  bottom: 25%;
  left: 5%;
  opacity: 0.06;
  transform: rotate(60deg);
}
.hero-plane--3 svg { width: 36px; height: 36px; }

.hero-plane--4 {
  bottom: 15%;
  right: 7%;
  opacity: 0.1;
  transform: rotate(-45deg);
}
.hero-plane--4 svg { width: 52px; height: 52px; }

.hero-plane--5 {
  top: 55%;
  left: 15%;
  opacity: 0.05;
  transform: rotate(10deg);
}
.hero-plane--5 svg { width: 32px; height: 32px; }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 20px;
}

/* Airline badge */
.airline-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 10px 28px;
  border-radius: 60px;
  margin-bottom: 40px;
  animation: fadeSlideDown 0.8s var(--ease-out) both;
}

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

.airline-badge img {
  height: 28px;
  filter: brightness(0) invert(1);
}

.airline-badge span {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Price display */
.price-block {
  margin-bottom: 32px;
}

.main-title {
  margin-bottom: 8px;
  animation: fadeSlideDown 0.8s var(--ease-out) 0.1s both;
  position: relative;
}

.main-title .arabic-accent {
  display: block;
  font-family: 'Aref Ruqaa', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: transparent;
  background: linear-gradient(135deg, #f0c040 0%, var(--lime) 60%, var(--white) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 4px;
  margin-bottom: -12px;
  filter: drop-shadow(0 4px 12px rgba(240,192,64,0.3));
}

.curved-title {
  width: min(90vw, 750px);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 6px 24px rgba(203,213,24,0.25));
  overflow: visible;
}

.price-label {
  font-family: var(--font-display) !important;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55) !important;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin: 16px 0 8px;
  animation: fadeSlideDown 0.8s var(--ease-out) 0.3s both;
}

.price-main {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -3px;
  animation: priceReveal 1s var(--ease-out) 0.4s both;
  position: relative;
  display: inline-block;
}

.price-main .amount {
  background: linear-gradient(135deg, var(--lime) 0%, var(--lime-light) 50%, var(--white) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-main .currency {
  font-size: 0.35em;
  font-weight: 600;
  color: var(--lime);
  -webkit-text-fill-color: var(--lime);
  vertical-align: super;
  margin-right: 8px;
  letter-spacing: 2px;
}

.exclusive-text {
  font-family: var(--font-display) !important;
  font-size: 1.5rem;
  font-weight: 700 !important;
  color: var(--lime) !important;
  margin-top: 16px;
  letter-spacing: 1px;
  animation: fadeSlideDown 0.8s var(--ease-out) 0.5s both;
  text-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* Seats urgency badge */
.seats-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(218,33,40,0.15);
  border: 1px solid rgba(218,33,40,0.3);
  padding: 10px 28px;
  border-radius: 50px;
  margin-top: 20px;
  animation: fadeSlideDown 0.8s var(--ease-out) 0.6s both;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: #ff6b6f;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.seats-badge__pulse {
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
  animation: seatsPulse 1.5s ease-in-out infinite;
}

@keyframes seatsPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(218,33,40,0.5); }
  50% { opacity: 0.6; box-shadow: 0 0 0 8px rgba(218,33,40,0); }
}

/* SEO Content */
.seo-content {
  margin-top: 80px;
  padding: 48px;
  background: var(--white);
  border-radius: 24px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  position: relative;
  z-index: 1;
}

.seo-content h1 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.3;
}
.seo-content a{
	color:#0000EE;
}
.seo-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.seo-content p:last-child {
  margin-bottom: 0;
}

.seo-content strong {
  color: var(--navy);
  font-weight: 600;
}

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

/* Pulsing glow behind price */
.price-glow {
  position: absolute;
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse, var(--lime-glow) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: glowPulse 3s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.3); }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.5) !important;
  font-weight: 400;
  max-width: 500px;
  margin: 0 auto 44px;
  animation: fadeSlideDown 0.8s var(--ease-out) 0.6s both;
}

/* Tags */
.hero-tags {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeSlideDown 0.8s var(--ease-out) 0.7s both;
}

.hero-tag {
  background: rgba(203,213,24,0.1);
  border: 1px solid rgba(203,213,24,0.2);
  color: var(--lime);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s var(--ease-out);
}

.hero-tag:hover {
  background: rgba(203,213,24,0.2);
  transform: translateY(-2px);
}

.hero-tag--red {
  background: rgba(218,33,40,0.1);
  border-color: rgba(218,33,40,0.25);
  color: #ff6b6f;
}

/* CTA Button */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--lime);
  color: var(--navy) !important;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 20px 52px;
  border-radius: 60px;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  animation: fadeSlideDown 0.8s var(--ease-out) 0.8s both;
  box-shadow: 0 0 40px var(--lime-glow), 0 4px 20px rgba(0,0,0,0.3);
}

.btn-cta::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: 0.6s;
}

.btn-cta:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 0 60px var(--lime-glow), 0 8px 30px rgba(0,0,0,0.3);
}

.btn-cta:hover::after { left: 100%; }

.btn-cta svg {
  width: 20px; height: 20px;
  transition: transform 0.3s var(--ease-spring);
}
.btn-cta:hover svg { transform: translateX(4px); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeSlideDown 0.8s var(--ease-out) 1.2s both;
}

.scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  width: 100%;
  height: 50%;
  background: var(--lime);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { top: -50%; }
  100% { top: 150%; }
}

/* ===== ROUTES SECTION ===== */
.routes-section {
  position: relative;
  padding: 50px 0 100px;
  background: var(--off-white);
  color: var(--text-primary);
}

/* Curved top edge */
.routes-section::before {
  content: '';
  position: absolute;
  top: -80px; left: 0; right: 0;
  height: 128px;
  background: var(--off-white);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
	padding-top:80px;
}

.section-tag {
  display: inline-block;
  background: var(--purple);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 8px 24px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.section-header h2 {
  font-family: var(--font-display) !important;
  font-size: clamp(2rem, 4vw, 3.2rem) !important;
  font-weight: 700 !important;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary) !important;
  max-width: 520px;
  margin: 0 auto;
}

/* Route filter pills */
.route-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}

.filter-pill {
  padding: 14px 32px;
  border-radius: 60px;
  font-family: var(--font-display) !important;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--white) !important;
  border: 2px solid var(--gray-200) !important;
  transition: all 0.35s var(--ease-out);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.filter-pill:hover {
  border-color: var(--purple);
  color: var(--purple);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(83,44,108,0.12);
}

.filter-pill.active {
  background: var(--purple) !important;
  color: var(--white);
  border-color: var(--purple) !important;
  box-shadow: 0 8px 28px rgba(83,44,108,0.3);
  transform: translateY(-2px);
}

/* Routes grid - 2 column */
.routes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}

/* Individual route card */
.route-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all 0.4s var(--ease-out);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.route-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(83,44,108,0.12);
  border-color: rgba(83,44,108,0.15);
}

/* Card top bar */
.route-card__top {
  background: linear-gradient(135deg, var(--navy) 0%, var(--purple) 100%);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.route-card__top::after {
  content: '';
  position: absolute;
  right: -30px; top: -30px;
  width: 120px; height: 120px;
  background: rgba(203,213,24,0.08);
  border-radius: 50%;
}

.route-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.city {
  text-align: center;
}

.city__code {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.city__name {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 2px;
}

.route-arrow {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--lime);
}

.route-arrow__line {
  width: 40px;
  height: 2px;
  background: var(--lime);
  border-radius: 1px;
  position: relative;
}

.route-arrow__plane {
  font-size: 1.3rem;
  animation: flyAcross 2.5s ease-in-out infinite;
}

@keyframes flyAcross {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}

.route-card__badge {
  background: var(--lime);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  position: relative;
  z-index: 1;
}

/* Card body - dates */
.route-card__body {
  padding: 28px 32px 32px;
}

.dates-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.dates-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.date-tag {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 9px 16px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
  transition: all 0.3s var(--ease-out);
  cursor: default;
  position: relative;
}

.date-tag:hover {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 16px rgba(83,44,108,0.2);
}

/* ===== BOTTOM CTA BAND ===== */
.cta-band {
  background: linear-gradient(135deg, var(--purple) 0%, var(--navy) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(203,213,24,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(203,213,24,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
}

.cta-band p {
  color: rgba(255,255,255,0.5) !important;
  font-size: 1rem;
  margin-bottom: 36px;
  position: relative;
}

.cta-band .btn-cta { animation: none; }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  text-align: center;
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer p {
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
}

.footer a { color: var(--lime); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .routes-grid { grid-template-columns: 1fr; }
  .container { padding: 0 28px; }
}

@media (max-width: 768px) {
  .hero-content { padding: 40px 16px; }
  .price-label { font-size: 1.1rem; letter-spacing: 2px; }
  .hero-subtitle { font-size: 1rem; }
  .btn-cta { padding: 16px 36px; font-size: 0.95rem; }
  .routes-section { padding: 80px 0 60px; }
  .route-card__top { padding: 22px 24px; flex-wrap: wrap; }
  .city__code { font-size: 1.5rem; }
  .route-card__body { padding: 22px 24px 26px; }
  .filter-pill { padding: 11px 22px; font-size: 0.82rem; }
  .hero-tags { gap: 10px; }
  .hero-tag { padding: 8px 18px; font-size: 0.75rem; }
  .container { padding: 0 20px; }
  .section-header h2 { font-size: 1.8rem; }
	.flyadeal-main .container {padding: 0 10px;}
}

@media (max-width: 480px) {
  .airline-badge span { display: none; }
  .route-arrow__line { width: 24px; }
  .date-tag { padding: 7px 12px; font-size: 0.78rem; }
  .filter-pill { padding: 10px 18px; font-size: 0.78rem; }
  .cta-band { padding: 60px 0; }
}
