/* =========================
   WEB FONT IMPORTS
========================= */

/* Bahir — Headings */
@font-face {
  font-family: "Bahir";
  src: url("https://font-public.canva.com/YAEXwDMf22I/0/AA-BAHIR.828bb5b5e6f04ff0e6b37ee44b20c24.225c67ec0cd2633d33c67bcd9e49c576.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Open Sauce One — Body / UI */
@font-face {
  font-family: "Open Sauce One";
  src: url("https://font-public.canva.com/YAFdJs2qTWQ/0/OpenSauceOne-Regular.036bb82edc07f1cfb21.88a36cab6d7cfa75bff7e49535b9642a.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* LoewNextArabic — Arabic Text */
@font-face {
  font-family: "LoewNextArabic";
  src: url("https://font-public.canva.com/YAGLs7rS3_k/0/LoewNextArabic-Regular.a21c1b9d607ea519e.4dc3c850-8f9c-4c52-ae19-5ea714cfaa76.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* =========================
   VARIABLES
========================= */
:root{
  --blue:#2B4F88;
  --orange:#F8722D;
  --grayblue:#384168;
  --lightorange:#D6CBB6;
  --page:#F7F4EF;          /* beige */
  --white:#ffffff;
  --text:#1f2a44;
}

/* =========================
   RESET / BASE
========================= */
*{ box-sizing: border-box; }

html, body{
  height: 100%;
  margin: 0;
  font-family: "Open Sauce One", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--page);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6{
  font-family: "Bahir", serif;
  font-weight: 400;
  margin: 0;
}

/* =========================
   LAYOUT
========================= */
.wrap{
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================
   HEADER
========================= */
.site-header{
  padding: 20px 0;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: relative;
  z-index: 50;
}

.topbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand{
  display: inline-flex;
  align-items: center;
}

/* =========================
   TEXT LOGO (fix blue hyperlink)
========================= */
.brand-text{
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
}

.brand-text:link,
.brand-text:visited{
  color: inherit;
  text-decoration: none;
}

.logo-l{
  font-family: "Bahir", serif;
  font-size: 30px;
  font-weight: 400;
  color: var(--orange);
  letter-spacing: 0.5px;
}

.logo-earning{
  font-family: "Bahir", serif;
  font-size: 30px;
  font-weight: 400;
  color: var(--grayblue);
  letter-spacing: 0.5px;
}

.logo-hub{
  font-family: "Bahir", serif;
  font-size: 30px;
  font-weight: 400;
  color: var(--orange);
  letter-spacing: 0.5px;
}

/* =========================
   NAV
========================= */
.nav{
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav a{
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  color: var(--grayblue);
  white-space: nowrap;
}

.nav a:hover{ color: var(--blue); }

/* =========================
   ARABIC
========================= */
.arabic{
  font-family: "LoewNextArabic", serif;
  direction: rtl;
}

/* =========================
   HERO
========================= */
.hero{ width: 100%; }

.hero-card{
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, var(--grayblue), var(--blue));
  overflow: hidden;
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 90px 0 150px;
  position: relative;
  z-index: 3;
}

.hero-copy h1{
  color: #fff;
  font-size: 56px;
  line-height: 1.05;
  margin: 0 0 18px;
}

.hero-copy p{
  color: rgba(255,255,255,.86);
  margin: 0 0 28px;
  max-width: 520px;
  font-size: 18px;
  line-height: 1.6;
}

.hero-media{
  display: flex;
  justify-content: flex-end;
}

.hero-media img{
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
}

.hero-wave{
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 90px;
  display: block;
  z-index: 2;
}

/* =========================
   BUTTONS
========================= */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
}

.btn-primary{
  background: var(--orange);
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(248,114,45,.35);
}

.btn-primary:hover{ filter: brightness(0.95); }

/* =========================
   FOOTER
========================= */
.site-footer{
  background:#fff;
  border-top:1px solid rgba(0,0,0,0.06);
  padding:18px 0;
  font-size:14px;
}

.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.footer-copy{
  margin:0;
  color:var(--grayblue);
}

.footer-socials{
  display:flex;
  align-items:center;
  gap:12px;
}

.footer-socials a{
  width:32px;
  height:32px;
  flex:0 0 32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--page);
  line-height:0;
  font-size:0;
  transition: background .2s ease, transform .2s ease;
}

.footer-socials svg{
  width:16px !important;
  height:16px !important;
  display:block;
  flex:0 0 16px;
}

.footer-socials svg path{
  fill:var(--grayblue) !important;
}

.footer-socials a:hover{
  background:var(--orange);
  transform:translateY(-2px);
}

.footer-socials a:hover svg path{
  fill:#fff !important;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px){
  .topbar{
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .brand{
    width: 100%;
    justify-content: center;
  }

  .nav{
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav a{
    font-size: 14px;
    padding: 6px 8px;
  }

  .hero-grid{
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 50px 0 130px;
  }

  .hero-media{
    justify-content: center;
  }

  .hero-media img{
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
  }

  .hero-copy h1{
    font-size: 40px;
    line-height: 1.08;
  }
}

@media (max-width: 600px){
  .footer-inner{
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 10px;
  }
}

@media (max-width: 400px){
  .logo-l,
  .logo-earning,
  .logo-hub{
    font-size: 24px;
  }
}

/* =========================
   HERO LIVE: AMBIENT TOPIC CARDS + CLEAN TITLE SHIMMER
========================= */

.hero-ambient{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* Make text layer super safe */
.hero-copy{
  position: relative;
  z-index: 4;
}

/* Quiet zone behind text (cards still exist but won't make text messy) */

.hero-copy{
  position: relative;
  z-index: 4;
}

.hero-card::after{
  content:"";
  position:absolute;
  inset: 0;
  pointer-events:none;
  z-index: 2; /* above ambient cards, below hero content */
  background:
    radial-gradient(900px 420px at 22% 42%,
      rgba(15, 25, 45, 0.45) 0%,
      rgba(15, 25, 45, 0.18) 45%,
      rgba(15, 25, 45, 0.00) 72%
    );
}


.ambient-card{
  position: absolute;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2px;

  color: rgba(255,255,255,0.90);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);

  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);

  opacity: 0.18;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,0.18));
  transform: translate3d(0,0,0);

  animation: ambientFloat var(--t, 16s) ease-in-out infinite !important;
}

@keyframes ambientFloat{
  0%   { transform: translate3d(0,0,0) rotate(-1deg); }
  50%  { transform: translate3d(28px,-18px,0) rotate(1deg); }
  100% { transform: translate3d(0,0,0) rotate(-1deg); }
}

/* Desktop positions (spread full hero) */
.hero-ambient .c1{  left: 8%;  top: 14%; --t: 20s; opacity: 0.14; }
.hero-ambient .c2{  left: 26%; top: 8%;  --t: 24s; opacity: 0.12; }
.hero-ambient .c3{  left: 18%; top: 54%; --t: 18s; opacity: 0.14; }
.hero-ambient .c4{  left: 34%; top: 76%; --t: 26s; opacity: 0.11; }

.hero-ambient .c5{  left: 52%; top: 18%; --t: 19s; opacity: 0.17; }
.hero-ambient .c6{  left: 70%; top: 14%; --t: 27s; opacity: 0.14; }
.hero-ambient .c7{  left: 60%; top: 42%; --t: 22s; opacity: 0.15; }
.hero-ambient .c8{  left: 84%; top: 40%; --t: 28s; opacity: 0.13; }

.hero-ambient .c9{  left: 10%; top: 90%; --t: 30s; opacity: 0.10; }
.hero-ambient .c10{ left: 44%; top: 90%; --t: 25s; opacity: 0.10; }
.hero-ambient .c11{ left: 66%; top: 88%; --t: 32s; opacity: 0.09; }
.hero-ambient .c12{ left: 90%; top: 82%; --t: 29s; opacity: 0.10; }

/* Title underline shimmer (replaces orange blob) */
.hero-title{
  display: inline-block;
  position: relative;
}

.hero-title::after{
  content:"";
  position:absolute;
  left: 0;
  bottom: -12px;
  width: 72%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    rgba(248,114,45,0.0),
    rgba(248,114,45,0.75),
    rgba(248,114,45,0.0)
  );
  opacity: 0.65;
  animation: titleSweep 3.8s ease-in-out infinite !important;
}

@keyframes titleSweep{
  0%,100% { transform: translateX(-12%); opacity: 0.35; }
  50%     { transform: translateX(12%);  opacity: 0.75; }
}

/* CTA glow pulse (calmer) */
.hero-cta{
  position: relative;
  isolation: isolate;
}

.hero-cta::before{
  content:"";
  position:absolute;
  inset: -10px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(248,114,45,0.30) 0%, rgba(248,114,45,0.00) 70%);
  filter: blur(10px);
  opacity: 0.12;
  z-index: -1;
  animation: ctaPulseSoft 4.8s ease-in-out infinite !important;
}

@keyframes ctaPulseSoft{
  0%,100% { transform: scale(0.97); opacity: 0.06; }
  50%     { transform: scale(1.07); opacity: 0.18; }
}

/* Mobile positions */
@media (max-width: 900px){
  .ambient-card{
    font-size: 13px;
    opacity: 0.16;
  }

  .hero-ambient .c1{ left: 10%; top: 8%; }
  .hero-ambient .c2{ left: 60%; top: 10%; }
  .hero-ambient .c3{ left: 12%; top: 22%; }
  .hero-ambient .c4{ left: 58%; top: 26%; }
  .hero-ambient .c5{ left: 14%; top: 46%; }
  .hero-ambient .c6{ left: 58%; top: 48%; }
  .hero-ambient .c7{ left: 10%; top: 64%; }
  .hero-ambient .c8{ left: 56%; top: 66%; }
  .hero-ambient .c9{ left: 14%; top: 84%; }
  .hero-ambient .c10{ left: 56%; top: 86%; }
  .hero-ambient .c11{ left: 22%; top: 92%; }
  .hero-ambient .c12{ left: 62%; top: 92%; }

  .hero-title::after{
    width: 86%;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .ambient-card,
  .hero-title::after,
  .hero-cta::before{
    animation: none !important;
  }
}
/* =========================
   EMOJI CONFETTI (CTA burst)
========================= */
.emoji-confetti{
  position: fixed;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  z-index: 9999;
}

.emoji-confetti .piece{
  position: absolute;
  font-size: 22px;
  will-change: transform, opacity;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.18));
  opacity: 1;
}
/* =========================
   FIX: BOOKING + CONTACT FORM LAYOUT (FINAL OVERRIDE)
   Paste at VERY END of style.css
========================= */

/* Make form rows stack properly */
.form-row{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Inputs should behave as blocks (full width) */
.form-row input,
.form-row textarea,
.form-row select{
  display: block;
  width: 100%;
  max-width: 520px; /* keeps it clean in hero */
}

/* --- BOOKING PAGE HERO FORM --- */
.hero-booking .hero-copy,
.hero-contact .hero-copy{
  max-width: 560px;
}

/* Make booking + contact labels readable on navy */
.hero-booking .form-row label,
.hero-contact .form-row label{
  color: rgba(255,255,255,0.92) !important;
}

/* Optional: make form area feel like a "glass card" */
.hero-booking .booking-card,
.hero-contact .contact-card{
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 16px;
  max-width: 560px;
}

/* Inputs look nicer on dark background */
.hero-booking .form-row input,
.hero-booking .form-row textarea,
.hero-booking .form-row select,
.hero-contact .form-row input,
.hero-contact .form-row textarea,
.hero-contact .form-row select{
  background: rgba(255,255,255,0.95) !important;
  color: #1f2a44 !important;
  border: 1px solid rgba(0,0,0,0.15) !important;
}

/* Better focus glow */
.hero-booking .form-row input:focus,
.hero-booking .form-row textarea:focus,
.hero-booking .form-row select:focus,
.hero-contact .form-row input:focus,
.hero-contact .form-row textarea:focus,
.hero-contact .form-row select:focus{
  border-color: var(--orange) !important;
  box-shadow: 0 0 0 4px rgba(248,114,45,0.18) !important;
}

/* Fix the blue email/phone links on dark hero */
.hero-contact a,
.hero-booking a{
  color: rgba(255,255,255,0.92);
}
.hero-contact a:hover,
.hero-booking a:hover{
  color: var(--orange);
}

/* Contact: map + right side spacing */
.hero-contact .hero-media{
  gap: 12px;
}

/* Mobile: let inputs fill screen */
@media (max-width: 900px){
  .form-row input,
  .form-row textarea,
  .form-row select{
    max-width: 100%;
  }

  .hero-booking .booking-card,
  .hero-contact .contact-card{
    max-width: 100%;
    padding: 14px;
  }
}

