/* ════════════════════════════════════════════════════════════════════
   Guideon — Homepage visual upgrade (loads after style.css, overrides it)
   Brand-consistent: navy / teal / gold. CSS-only, no markup changes.
   ════════════════════════════════════════════════════════════════════ */

:root {
  --font-head: 'Plus Jakarta Sans', 'Tajawal', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Tajawal', 'Segoe UI', system-ui, sans-serif;
  --shadow-soft: 0 6px 24px rgba(16, 30, 54, .08);
  --shadow-hover: 0 18px 44px rgba(15, 28, 62, .18);
}
[dir="rtl"] { --font-head: 'Tajawal', 'Plus Jakarta Sans', system-ui, sans-serif;
              --font-body: 'Tajawal', 'Plus Jakarta Sans', system-ui, sans-serif; }

body { font-family: var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, h5, .section-title, .navbar-brand, .fw-800, .fw-700 { font-family: var(--font-head); letter-spacing: -.01em; }

/* ─── HERO — layered gradient mesh + glow + entrance animation ─────────── */
.hero {
  padding: 92px 0 64px;
  background:
    radial-gradient(1100px 480px at 12% -10%, rgba(201,168,76,.22), transparent 60%),
    radial-gradient(900px 520px at 100% 0%, rgba(26,188,156,.28), transparent 55%),
    linear-gradient(135deg, #0b1530 0%, #11244b 45%, #0f7b6c 120%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px; mask-image: linear-gradient(#000, transparent 75%);
}
.hero h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); line-height: 1.12; letter-spacing: -.02em; }
.hero h1 [data-i18n="hero_highlight"] {
  background: linear-gradient(90deg, #f3d27a, #c9a84c);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { font-size: clamp(1rem, 1.7vw, 1.28rem); opacity: .94; }
.hero .badge-gold {
  background: rgba(201,168,76,.16); color: #f3d27a; border: 1px solid rgba(201,168,76,.45);
  padding: 7px 16px; border-radius: 999px; font-weight: 700; backdrop-filter: blur(4px);
}
.hero > .container { animation: heroIn .8s cubic-bezier(.22,1,.36,1) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ─── SEARCH BOX — elevated glass card ────────────────────────────────── */
.search-box {
  border-radius: 20px; padding: 22px; border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 24px 60px rgba(11, 21, 48, .28);
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
}
.search-box .btn-search {
  background: linear-gradient(135deg, #0f7b6c, #0a5c50); border-radius: 12px;
  box-shadow: 0 8px 20px rgba(15,123,108,.35); letter-spacing: .2px;
}
.search-box .btn-search:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(15,123,108,.45); }
.search-box .form-control, .search-box .form-select { border-radius: 12px; transition: border-color .15s, box-shadow .15s; }

/* ─── SECTION TITLES — refined ────────────────────────────────────────── */
.section-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.02em; }
.section-title::after { width: 56px; height: 4px; background: linear-gradient(90deg, var(--gold), #e7c97a); }

/* ─── CARDS — smoother lift + image zoom ──────────────────────────────── */
.guide-card, .activity-card, .blog-card, .card {
  border-radius: 18px; box-shadow: var(--shadow-soft);
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s;
}
.guide-card:hover, .activity-card:hover, .blog-card:hover {
  transform: translateY(-7px); box-shadow: var(--shadow-hover);
}
.guide-card .card-img, .activity-card .activity-img, .blog-card img {
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.guide-card:hover .card-img, .activity-card:hover .activity-img, .blog-card:hover img { transform: scale(1.07); }
.guide-card, .activity-card { overflow: hidden; }

/* ─── BUTTONS — gold CTA polish ───────────────────────────────────────── */
.btn-gold {
  background: linear-gradient(135deg, #d8b85a, #c9a84c) !important; border: none;
  box-shadow: 0 6px 18px rgba(201,168,76,.4); font-weight: 700;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201,168,76,.5); }

/* ─── STATS STRIP — subtle elevation ──────────────────────────────────── */
.stats-strip { box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }

/* ─── NAVBAR — glass on scroll feel ───────────────────────────────────── */
.navbar.sticky-top { backdrop-filter: blur(10px); }

/* ─── NAVBAR — Visit-Oman style: flat dark teal + icon nav + bright CTA ─── */
/* Solid teal gradient navbar — always on, all devices (no transparency). */
.navbar.sticky-top {
  background: linear-gradient(110deg, #0a3a37 0%, #0f7b6c 60%, #2ec4b0 100%) !important;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 6px 22px rgba(8,30,28,.32), inset 0 1px 0 rgba(255,255,255,.22);
  padding-top: 6px; padding-bottom: 6px;
}
body.dark-mode .navbar.sticky-top {
  background: linear-gradient(110deg, #07302e 0%, #0a5c50 60%, #128f7d 100%) !important;
}

/* logo restored to original — just a soft shadow for edge definition */
.navbar-brand img { filter: drop-shadow(0 1px 4px rgba(0,0,0,.35)); }

.navbar .nav-link {
  position: relative; color: #ffffff !important; font-weight: 600; font-size: .94rem;
  padding: 8px 14px !important; display: inline-flex; align-items: center; gap: 7px; border-radius: 8px;
}
.navbar .navbar-controls .btn, .navbar .lang-toggle, .navbar .theme-btn { color: #fff; }
.navbar .nav-link .nav-ic { font-size: 1.05rem; line-height: 1; opacity: .9; }
.navbar .nav-link::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px;
  background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: center;
  transition: transform .22s cubic-bezier(.22,1,.36,1);
}
.navbar .nav-link:hover { background: rgba(255,255,255,.07); }
.navbar .nav-link:hover::after, .navbar .nav-link.active::after { transform: scaleX(1); }

/* bright teal CTA pill (like "احجز الآن") */
.navbar .btn-cta {
  background: #15b8a6 !important; color: #06302c !important; border: none !important;
  font-weight: 800; border-radius: 10px; padding: 8px 20px !important;
  box-shadow: 0 6px 18px rgba(21,184,166,.4); letter-spacing: .2px;
}
.navbar .btn-cta:hover { background: #19cbb7 !important; transform: translateY(-1px); }

/* outline utility buttons — softer */
.navbar .btn-outline-light { border-color: rgba(255,255,255,.35); font-weight: 600; }
.navbar .btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }
.navbar .currency-selector { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; }

/* ─── COVERFLOW CAROUSELS (guides + tours, Visit-Oman style) ───────────── */
.guides-swiper, .tours-swiper { padding: 24px 0 50px; overflow: hidden; }
.guides-swiper .swiper-slide, .tours-swiper .swiper-slide {
  width: 330px; max-width: 84vw; height: auto;
  opacity: .45; transition: opacity .35s ease, filter .35s ease; filter: saturate(.85);
}
.guides-swiper .swiper-slide-active, .tours-swiper .swiper-slide-active { opacity: 1; filter: none; }
.guides-swiper .swiper-slide-next, .guides-swiper .swiper-slide-prev,
.tours-swiper .swiper-slide-next, .tours-swiper .swiper-slide-prev { opacity: .7; }
.guides-swiper .swiper-slide .guide-card, .tours-swiper .swiper-slide .tour-card {
  height: 100%; border-radius: 20px; box-shadow: 0 10px 30px rgba(15,28,62,.12);
}
.guides-swiper .swiper-slide-active .guide-card, .tours-swiper .swiper-slide-active .tour-card { box-shadow: 0 26px 60px rgba(15,28,62,.28); }
.guides-swiper .guide-card-header { height: 210px; }
.guides-swiper .swiper-pagination, .tours-swiper .swiper-pagination { bottom: 8px; }
.guides-swiper .swiper-pagination-bullet, .tours-swiper .swiper-pagination-bullet { background: #9fb0ad; opacity: .5; width: 8px; height: 8px; }
.guides-swiper .swiper-pagination-bullet-active, .tours-swiper .swiper-pagination-bullet-active { background: var(--teal); opacity: 1; width: 22px; border-radius: 4px; }
@media (max-width: 480px){ .guides-swiper .swiper-slide, .tours-swiper .swiper-slide { width: 270px; } }

/* tour card */
.tour-card { background: var(--white,#fff); overflow: hidden; display: flex; flex-direction: column; }
.tour-card .tour-img { height: 200px; background: linear-gradient(135deg,#0f1c3e,#0f7b6c); background-size: cover; background-position: center; position: relative; }
.tour-card .tour-book-chip { position: absolute; top: 12px; inset-inline-start: 12px; background: rgba(15,123,108,.92); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.tour-card .tour-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tour-card .tour-title { font-weight: 800; font-size: 1.02rem; color: var(--text,#1a1a2e); line-height: 1.3; }
.tour-card .tour-meta { font-size: .82rem; color: var(--muted,#6c757d); }
.tour-card .tour-price { font-weight: 800; color: var(--teal); font-size: 1.1rem; }
.tour-card .tour-btn { margin-top: auto; background: linear-gradient(135deg,#0f7b6c,#0a5c50); color:#fff; border:none; border-radius:10px; padding:10px; font-weight:700; }

/* ─── FOOTER — refined, balanced, premium ─────────────────────────────── */
.gd-footer {
  background: linear-gradient(180deg, #0f1c3e 0%, #0b1733 100%);
  color: #cdd6e6; padding: 64px 0 28px; position: relative;
}
.gd-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--teal));
}
.gd-foot-logo { filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); margin-bottom: 16px; }
.gd-foot-desc { font-size: .92rem; line-height: 1.7; color: #9fb0c9; max-width: 320px; margin-bottom: 18px; }
.gd-foot-social { display: flex; gap: 10px; }
.gd-foot-social a {
  width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-size: 1.05rem;
  text-decoration: none; transition: transform .2s, background .2s, border-color .2s;
}
.gd-foot-social a:hover { transform: translateY(-3px); background: rgba(15,123,108,.35); border-color: var(--teal); }

.gd-foot-h {
  color: #fff; font-weight: 800; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 16px; position: relative; padding-bottom: 10px;
}
.gd-foot-h::after { content: ''; position: absolute; bottom: 0; inset-inline-start: 0; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.gd-foot-col a, .gd-foot-col .gd-foot-loc {
  display: block; color: #9fb0c9; text-decoration: none; font-size: .9rem; padding: 5px 0;
  transition: color .18s, padding-inline-start .18s;
}
.gd-foot-col a:hover { color: #fff; padding-inline-start: 5px; }
.gd-foot-loc { opacity: .8; }

.gd-foot-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.10);
}
.gd-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gd-pay-label { font-size: .8rem; color: #8093ad; margin-inline-end: 4px; }
.gd-pay-chip {
  font-size: .76rem; font-weight: 700; color: #cdd6e6; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 5px 11px;
}
.gd-foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.gd-foot-links a { color: #9fb0c9; text-decoration: none; font-size: .85rem; transition: color .18s; }
.gd-foot-links a:hover { color: #fff; }

.gd-foot-copy { text-align: center; margin-top: 22px; font-size: .82rem; color: #6c7d99; }

@media (max-width: 991px){
  .gd-footer { padding-top: 48px; text-align: start; }
  .gd-foot-bar { justify-content: center; text-align: center; }
}

/* ─── PREMIUM SCROLL REVEAL (Stripe/Apple style) ──────────────────────── */
/* Hide rules ONLY apply when JS has added body.reveal-on (graceful fallback) */
.reveal { transition: opacity .7s ease, transform .75s cubic-bezier(.22,1,.36,1); will-change: opacity, transform; }
body.reveal-on .reveal { opacity: 0; transform: translateY(30px); }
body.reveal-on .reveal.in { opacity: 1; transform: none; }

/* ─── STRIPE-STYLE AURORA ACCENTS on alternating sections ─────────────── */
section.py-5 { position: relative; }
.gd-aurora { position: relative; isolation: isolate; }
.gd-aurora::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background:
    radial-gradient(600px 280px at 8% 0%, rgba(15,123,108,.12), transparent 60%),
    radial-gradient(620px 300px at 100% 100%, rgba(201,168,76,.10), transparent 60%);
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero > .container { animation: none; }
  body.reveal-on .reveal { opacity: 1 !important; transform: none !important; }
  * { transition: none !important; }
}

/* ─── COVERFLOW CAROUSELS (companies + event teams) ───────────────────── */
.companies-swiper, .teams-swiper { padding: 24px 0 50px; overflow: hidden; }
.companies-swiper .swiper-slide, .teams-swiper .swiper-slide {
  width: 330px; max-width: 84vw; height: auto;
  opacity: .45; transition: opacity .35s ease, filter .35s ease; filter: saturate(.85);
}
.companies-swiper .swiper-slide-active, .teams-swiper .swiper-slide-active { opacity: 1; filter: none; }
.companies-swiper .swiper-slide-next, .companies-swiper .swiper-slide-prev,
.teams-swiper .swiper-slide-next, .teams-swiper .swiper-slide-prev { opacity: .7; }
.companies-swiper .swiper-slide .guide-card, .teams-swiper .swiper-slide .guide-card {
  height: 100%; border-radius: 20px; box-shadow: 0 10px 30px rgba(15,28,62,.12);
}
.companies-swiper .swiper-slide-active .guide-card, .teams-swiper .swiper-slide-active .guide-card { box-shadow: 0 26px 60px rgba(15,28,62,.28); }
.companies-swiper .guide-card-header, .teams-swiper .guide-card-header { height: 210px; }
.companies-swiper .swiper-pagination, .teams-swiper .swiper-pagination { bottom: 8px; }
.companies-swiper .swiper-pagination-bullet, .teams-swiper .swiper-pagination-bullet { background: #9fb0ad; opacity: .5; width: 8px; height: 8px; }
.companies-swiper .swiper-pagination-bullet-active, .teams-swiper .swiper-pagination-bullet-active { background: var(--teal); opacity: 1; width: 22px; border-radius: 4px; }
@media (max-width: 480px){ .companies-swiper .swiper-slide, .teams-swiper .swiper-slide { width: 270px; } }
