/* ==========================================================================
   Gulf Sky — stylesheet
   Design language: "technical dossier" — navy + brand gold, condensed
   display type, angled (single-corner-cut) imagery echoing the logo's
   mountain-peak marks, hairline rules and stenciled reference codes.
   ========================================================================== */

:root {
  --ink: #0b1524;
  --ink-2: #101e33;
  --ink-3: #16283f;
  --gold: #ffc61a;
  --gold-dim: #cf9f16;
  --stone: #f6f4ef;
  --stone-2: #ece8de;
  --slate: #5b6472;
  --slate-dark: #1b2330;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(15, 23, 38, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--stone);
  color: var(--slate-dark);
}

.font-display {
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* --------------------------------------------------------------------
   Signature motif: angled single-corner cut (echoes the logo peaks /
   a wing edge). Applied consistently instead of rounded cards.
   -------------------------------------------------------------------- */
.cut-tr {
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}
.cut-bl {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}
.cut-tr-lg {
  clip-path: polygon(0 0, calc(100% - 56px) 0, 100% 56px, 100% 100%, 0 100%);
}

/* Reference-code / data-plate label */
.ref-code {
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--gold-dim);
}

.hairline {
  border-color: var(--line-dark);
}

/* --------------------------------------------------------------------
   Header
   -------------------------------------------------------------------- */
.site-header {
  background: rgba(11, 21, 36, 0.92);
  backdrop-filter: blur(10px);
}

.nav-link {
  position: relative;
  color: #d7dbe3;
  transition: color 0.2s ease;
}
.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

/* --------------------------------------------------------------------
   Hero slider
   -------------------------------------------------------------------- */
.hero-slider {
  position: relative;
  height: 88vh;
  min-height: 620px;
  overflow: hidden;
  background: var(--ink);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s ease;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 7s ease;
}
.hero-slide.is-active img {
  transform: scale(1);
}

/* Lighter overlay: a navy tint/gradient rather than a heavy black scrim,
   so the photography stays visible per the brief. */
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(11,21,36,0.82) 0%, rgba(11,21,36,0.55) 32%, rgba(11,21,36,0.28) 58%, rgba(11,21,36,0.35) 100%),
    linear-gradient(0deg, rgba(11,21,36,0.55) 0%, rgba(11,21,36,0) 30%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-dots {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3.5rem);
  bottom: clamp(1.5rem, 4vw, 3rem);
  z-index: 3;
  display: flex;
  gap: 0.6rem;
}
.hero-dot {
  width: 34px;
  height: 3px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.25s ease;
  border: none;
  padding: 0;
}
.hero-dot.is-active {
  background: var(--gold);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(11, 21, 36, 0.35);
  border: 1px solid rgba(255,255,255,0.25);
  transition: background 0.2s ease;
}
.hero-arrow:hover {
  background: rgba(11, 21, 36, 0.65);
}
.hero-arrow.prev { left: clamp(0.75rem, 3vw, 2rem); }
.hero-arrow.next { right: clamp(0.75rem, 3vw, 2rem); }

.hero-kicker-track {
  position: absolute;
  left: clamp(1.25rem, 4vw, 3.5rem);
  bottom: clamp(1.5rem, 4vw, 3rem);
  z-index: 3;
  color: rgba(255,255,255,0.75);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------
   Reveal-on-scroll
   -------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------
   Cards & components
   -------------------------------------------------------------------- */
.service-card {
  background: #fff;
  border: 1px solid var(--line-dark);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.service-card:hover {
  border-color: var(--gold-dim);
  transform: translateY(-4px);
}

.partner-logo {
  filter: grayscale(1) opacity(0.7);
  transition: filter 0.25s ease;
}
.partner-logo:hover {
  filter: grayscale(0) opacity(1);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-gold:hover {
  background: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(255,255,255,0.06);
}

.btn-outline-dark {
  border: 1px solid var(--line-dark);
  color: var(--slate-dark);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.btn-outline-dark:hover {
  border-color: var(--gold-dim);
  background: var(--stone-2);
}

/* mobile nav */
#mobile-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
#mobile-nav.is-open {
  max-height: 600px;
}

/* Back to top */
#back-to-top {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
#back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

/* WhatsApp float */
.whatsapp-float {
  box-shadow: 0 8px 24px rgba(11, 21, 36, 0.35);
}

/* Gallery lightbox helper */
.gallery-item img {
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* number counters */
.stat-value {
  font-variant-numeric: tabular-nums;
}

/* Diagonal accent divider using provided mask svg feel, via CSS only */
.peak-divider {
  height: 10px;
  background-image: linear-gradient(135deg, var(--gold) 25%, transparent 25%),
                     linear-gradient(225deg, var(--gold) 25%, transparent 25%);
  background-position: 0 0;
  background-size: 20px 10px;
  background-repeat: repeat-x;
  opacity: 0.9;
}

table.spec-table th,
table.spec-table td {
  border-bottom: 1px solid var(--line-dark);
}
