/* =====================================================================
   World Booking (عالم الحجوزات) — brand layer from the Figma design.
   Logo identity: navy #182452, ocean #26366F, teal #26366F, gold #C9A83E.
   No black anywhere — dark tones use the logo navy. Font Cairo.
   ===================================================================== */
:root{
  --primary-color:#182452;
  --secondary-color:#26366F;
  --accent-color:#C9A83E;
  --dark-text:#182452;
  --wb-navy:#182452;
  --wb-ocean:#26366F;
  --wb-teal:#26366F;
  --wb-gold:#C9A83E;
  --wb-gold-light:#E3CF94;
  --wb-navy-grad:linear-gradient(to right,rgba(24,36,82,.8),#182452);
  --bc-radius:20px;
}
input,select,textarea,option{ color:var(--wb-navy); }

/* Header — white bar, soft shadow, bigger logo */
.header,.header .header-container{ background:#fff !important; }
.header{ box-shadow:0 2px 2px rgba(100,100,100,.25); }
.header .site-logo img{ height:84px !important; width:auto !important; max-height:none !important; object-fit:contain; }
.header nav a,.header ul li a{ color:#182452; font-weight:700; }
.header nav a:hover,.header ul li a:hover,
.header ul li.current-menu-item > a{ color:#C9A83E; }
.header .nav-actions .bc-btn,
.header .nav-actions a.btn,
.header .nav-actions .bc-book-btn{ background:var(--wb-navy-grad) !important; color:#fff !important; border:0 !important; border-radius:10px !important; }

/* Side-menu button — navy tile, gold border, three gold lines (RTL staggered) that morph into an X */
.wb-menu-btn{
  position:relative; width:54px; height:54px; padding:0; flex:0 0 auto;
  display:inline-flex; align-items:center; justify-content:center;
  background:var(--wb-navy-grad); border:1.5px solid var(--wb-gold); border-radius:14px;
  box-shadow:0 6px 18px rgba(24,36,82,.25); cursor:pointer; overflow:hidden;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.wb-menu-btn::before{ /* soft gold glow sweeping on hover */
  content:""; position:absolute; inset:-40% auto -40% -60%; width:50%;
  background:linear-gradient(90deg,transparent,rgba(227,207,148,.35),transparent);
  transform:skewX(-20deg); transition:left .6s ease;
}
.wb-menu-btn:hover{ transform:translateY(-2px); box-shadow:0 10px 24px rgba(38,54,111,.35); }
.wb-menu-btn:hover::before{ left:120%; }
.wb-menu-btn:focus-visible{ outline:2px solid var(--wb-gold); outline-offset:3px; }
.wb-mb-lines{ position:relative; width:24px; height:18px; display:block; }
.wb-mb-lines i{
  position:absolute; right:0; height:2.5px; border-radius:3px; background:var(--wb-gold);
  transition:width .3s ease, transform .35s cubic-bezier(.6,.05,.3,1), top .35s ease, opacity .2s ease;
}
.wb-mb-lines i:nth-child(1){ top:0; width:24px; }
.wb-mb-lines i:nth-child(2){ top:7.75px; width:15px; background:var(--wb-gold-light); }
.wb-mb-lines i:nth-child(3){ top:15.5px; width:20px; }
.wb-menu-btn:hover .wb-mb-lines i{ width:24px; }
.wb-menu-btn.open .wb-mb-lines i:nth-child(1){ top:7.75px; width:24px; transform:rotate(45deg); }
.wb-menu-btn.open .wb-mb-lines i:nth-child(2){ opacity:0; width:0; }
.wb-menu-btn.open .wb-mb-lines i:nth-child(3){ top:7.75px; width:24px; transform:rotate(-45deg); }
@media (max-width:640px){ .wb-menu-btn{ width:46px; height:46px; border-radius:12px; } }

/* Hero — Figma overlay */
.bc-hero-overlay{ background:linear-gradient(to left,rgba(24,36,82,.9) 44.8%,rgba(38,54,111,.45) 72.2%) !important; opacity:1 !important; }
.bc-btn--accent{ background:#C9A83E; border-radius:10px; }
.bc-btn--outline-white{ border-radius:10px; border-width:1px; }

/* Cards — Figma radius / shadow */
.destinations .card,.destinations [class*="card"],
.bc-packages [class*="card"]{ border-radius:20px; }

/* Footer — photo + navy gradient like the design */
footer.footer{
  position:relative;
  background:#182452 url("../img/wb/world-booking-footer.jpg") center/cover no-repeat !important;
}
footer.footer::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(to left,rgba(24,36,82,.95) 69%,rgba(24,36,82,.76));
}
footer.footer > *{ position:relative; z-index:1; }
footer.footer a.site-logo.footer-logo img{ height:150px !important; width:auto !important; max-height:none !important; max-width:none !important; }
footer.footer .icons img{ height:32px !important; width:auto !important; object-fit:contain; background:#fff; border-radius:6px; padding:3px; }
footer.footer button[type="submit"],footer.footer .newsletter button{ background:#C9A83E !important; color:#fff !important; }

/* Leftover default-black text */
.wb-menu-btn{ color:var(--wb-gold); }
.hz-close{ color:var(--wb-navy) !important; }

/* Agency name next to the header logo (client: «تكبير اسم الوكالة») */
.header .site-logo.has-name{ display:inline-flex; align-items:center; gap:12px; text-decoration:none; }
.header .site-logo.has-name img{ height:92px !important; }
.wb-brand-name{ display:flex; flex-direction:column; line-height:1.1; white-space:nowrap; }
.wb-brand-name strong{ font-family:'Cairo',sans-serif; font-weight:800; font-size:30px; color:var(--wb-navy);
  background:linear-gradient(90deg,var(--wb-navy),var(--wb-ocean)); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.wb-brand-name small{ font-family:Georgia,'Times New Roman',serif; font-size:15px; letter-spacing:3px; color:var(--wb-gold); margin-top:4px; }
@media (max-width:1280px){ .wb-brand-name strong{ font-size:24px; } .wb-brand-name small{ font-size:12px; letter-spacing:2px; } .header .site-logo.has-name img{ height:76px !important; } }
@media (max-width:640px){ .wb-brand-name strong{ font-size:19px; } .wb-brand-name small{ font-size:10px; letter-spacing:1.5px; } .header .site-logo.has-name img{ height:58px !important; } .header .site-logo.has-name{ gap:8px; } }
.wpcf7-spinner{ background-color:var(--wb-navy) !important; }

/* Buttons — Figma: navy gradient, radius 10px, Cairo SemiBold (2026-10-25) */
.btn-book,.btn-search,.bc-book-btn,.search-tab.active,
.destination-card .btn,.destination-card a[class*="btn"]{
  background:var(--wb-navy-grad) !important; color:#fff !important; border:0 !important;
  border-radius:10px !important; font-family:'Cairo',sans-serif; font-weight:600;
  transition:transform .2s ease, box-shadow .2s ease;
}
.btn-book:hover,.btn-search:hover,.bc-book-btn:hover,
.destination-card .btn:hover,.destination-card a[class*="btn"]:hover{ transform:translateY(-2px); box-shadow:0 8px 18px rgba(24,36,82,.25); }
.search-tab.active{ border-radius:12px 12px 0 0 !important; }
.bc-btn--accent:hover{ background:#B8972F; }

/* Cards — Figma: radius 20, shadow 0 3 3 #D9D9D9, title divider #D9D9D9, gold badge */
.destination-card{ border-radius:20px !important; box-shadow:0 3px 3px #D9D9D9 !important; }
.destination-image{ border-radius:20px 20px 0 0; }
.destination-badge{ background:#fff !important; color:#C9A83E !important; border-radius:50px !important; font-weight:700; }
.destination-header{ border-bottom:2px solid #D9D9D9; }
.section-badge{ background:#CFD0D6 !important; color:#182452 !important; border-radius:50px !important; }
.section-header h2{ color:#182452; }
.section-header p{ color:#26366F; }

/* عن شركتنا — Figma: wavy navy band (about-wave.svg), photo hanging 80px below it */
.wb-about{ position:relative; padding:185px 0 0; margin-bottom:60px; }
/* Band grows with the content: the wave keeps its design height (767px), anything taller is the same gradient */
.wb-about::before{ content:""; position:absolute; inset:0 0 80px; z-index:0;
  background:url("../img/wb/about-wave.svg") center top/100% 767px no-repeat,
    linear-gradient(to left,rgba(24,36,82,.8),#182452) 0 766px/100% calc(100% - 766px) no-repeat; }
.wb-about-container{ position:relative; z-index:1; max-width:1280px; margin:0 auto; padding:0 20px;
  display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:stretch; }
/* bottom padding = the 80px white strip + breathing room, so long text always ends on the navy */
.wb-about-text{ color:#fff; padding:47px 0 120px; }
.wb-about-media{ display:flex; }
.wb-about-text h2{ font-size:32px; font-weight:700; margin:0 0 12px; color:#fff; }
.wb-about-text p{ font-size:18px; font-weight:600; line-height:1.6; margin:0 0 12px; color:rgba(255,255,255,.92); }
.wb-about-text .wb-about-lead{ color:#fff; }
.wb-about-text h3{ font-size:20px; font-weight:700; margin:24px 0 24px; color:#fff; }
.wb-about-list{ list-style:none; margin:0 0 24px; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:12px 16px; }
.wb-about-list li{ display:flex; align-items:center; gap:16px; font-size:20px; font-weight:600; line-height:28px; color:#fff; }
.wb-about-list li img{ width:20px; height:20px; flex:0 0 20px; display:block; }
.wb-about-media img{ display:block; width:100%; height:auto; min-height:600px; object-fit:cover; border-radius:10px; box-shadow:0 20px 40px rgba(24,36,82,.25); }
@media (max-width:960px){
  .wb-about{ padding-top:110px; }
  .wb-about::before{ inset:0 0 60px; /* wave keeps a fixed height, the rest is the same gradient */
    background:url("../img/wb/about-wave.svg") center top/100% 260px no-repeat,
      linear-gradient(to left,rgba(24,36,82,.8),#182452) 0 259px/100% calc(100% - 259px) no-repeat; }
  .wb-about-text{ padding:0; }
  .wb-about-container{ grid-template-columns:1fr; gap:32px; padding-bottom:40px; }
  .wb-about-media img{ height:340px; min-height:0; }
  .wb-about-text h2{ font-size:26px; } .wb-about-text p{ font-size:16px; }
  .wb-about-text h3{ font-size:18px; margin:20px 0 16px; } .wb-about-list li{ font-size:17px; gap:12px; }
}
@media (max-width:560px){ .wb-about-list{ grid-template-columns:1fr; } }

/* ===== Why us (مميزات الحجز معنا) — Figma: white section, 5 white cards, navy icon tile ===== */
.bc-why{ background:#fff !important; }
.bc-why .bc-section-head{ display:flex; flex-direction:column; align-items:center; text-align:center; margin-bottom:40px; }
.bc-why .bc-section-head .section-badge{ display:inline-flex; align-items:center; gap:10px; padding:12px 16px; margin-bottom:32px; font-size:16px; font-weight:700; }
.bc-why .bc-section-head h2{ color:#182452 !important; font-size:32px; font-weight:700; margin:0 0 24px; }
.bc-why .bc-section-head p{ color:#26366F !important; font-size:20px; font-weight:600; margin:0 auto; }
.bc-why .bc-why-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:16px; }
.bc-why .bc-why-card{ background:#fff !important; border:1px solid #D9D9D9 !important; border-radius:20px !important;
  padding:20px 19px 19px 25px !important; min-height:281px; text-align:right !important; box-shadow:none !important;
  display:flex; flex-direction:column; align-items:flex-start; }
.bc-why .bc-why-icon{ width:60px; height:60px; border-radius:10px !important; margin:0 0 20px !important;
  background:linear-gradient(to left,#182452,rgba(38,54,111,.8)) !important; color:#C9A83E !important;
  display:flex; align-items:center; justify-content:center; font-size:28px; }
.bc-why .bc-why-card h3{ color:#182452 !important; font-size:16px; font-weight:700; margin:0 0 12px; }
.bc-why .bc-why-card p{ color:#26366F !important; font-size:16px; font-weight:600; line-height:1.9; margin:0; }
@media (max-width:1200px){ .bc-why .bc-why-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:768px){ .bc-why .bc-why-grid{ grid-template-columns:repeat(2,1fr); } .bc-why .bc-why-card{ min-height:0; }
  .bc-why .bc-section-head h2{ font-size:26px; } .bc-why .bc-section-head p{ font-size:16px; } }
@media (max-width:480px){ .bc-why .bc-why-grid{ grid-template-columns:1fr; } }

/* ===== Section rhythm — Figma keeps 100px between homepage sections ===== */
body:has(.bc-hero) .destinations,body:has(.bc-hero) .bc-why,body:has(.bc-hero) .testimonials{ padding-top:50px !important; padding-bottom:50px !important; margin:0 !important; }
body:has(.bc-hero) .search-section + .destinations{ padding-top:100px !important; }
body:has(.bc-hero) .wb-about{ margin:50px 0; }
body:has(.bc-hero) .section-header,body:has(.bc-hero) .bc-section-head{ margin-bottom:40px !important; }
body:has(.bc-hero) .section-header h2{ font-size:32px; font-weight:700; margin:0 0 24px; }
body:has(.bc-hero) .section-header p{ font-size:20px; font-weight:600; margin:0 auto; text-align:center; }
body:has(.bc-hero) .section-header,body:has(.bc-hero) .bc-section-head{ text-align:center; display:flex; flex-direction:column; align-items:center; }
body:has(.bc-hero) .section-header h2,body:has(.bc-hero) .bc-section-head h2{ text-align:center; width:100%; }
body:has(.bc-hero) .section-header .section-badge{ margin-bottom:32px; padding:12px 16px; font-size:16px; font-weight:700; }
@media (max-width:768px){
  body:has(.bc-hero) .destinations,body:has(.bc-hero) .bc-why,body:has(.bc-hero) .testimonials{ padding-top:32px !important; padding-bottom:32px !important; }
  body:has(.bc-hero) .search-section + .destinations{ padding-top:48px !important; }
  body:has(.bc-hero) .wb-about{ margin:32px 0; }
  body:has(.bc-hero) .section-header h2{ font-size:26px; margin-bottom:12px; } body:has(.bc-hero) .section-header p{ font-size:16px; }
  body:has(.bc-hero) .section-header .section-badge{ margin-bottom:20px; }
}

/* ===== Search box — Figma: white card r20, fields r5 #D9D9D9, active tab gradient r20 top ===== */
.search-section .search-box,.search-section [class*="search-container"]{ border-radius:20px !important; box-shadow:0 3px 1.5px #D9D9D9 !important; }
.search-section input,.search-section select{ border:1px solid #D9D9D9 !important; border-radius:5px !important; min-height:60px; color:#182452; font-weight:700; }
.search-section label{ color:#182452; font-weight:700; }
.search-tab.active{ border-radius:20px 20px 0 0 !important; background:linear-gradient(to bottom,rgba(24,36,82,.8),#182452) !important; }
.search-tab:not(.active){ background:#fff !important; color:#182452 !important; }
.search-tab:not(.active) i{ color:#C9A83E; }

/* ===== Footer — Figma: 4 columns on the photo, bottom bar with social + copyright ===== */
footer.footer.wb-footer{ padding:58px 0 24px !important; color:#fff; }
footer.footer.wb-footer::before{ background:linear-gradient(to left,rgba(24,36,82,.95) 69%,rgba(24,36,82,.8)) !important; }
.wb-footer .footer-container{ max-width:1297px; margin:0 auto; padding:0 20px; }
.wb-footer-main{ display:grid; grid-template-columns:1.35fr .75fr 1fr 1.1fr; gap:48px; padding-bottom:40px; border-bottom:1px solid rgba(115,112,112,.34); }
.wb-footer h4{ color:#fff !important; font-size:20px; font-weight:700; margin:0 0 24px; line-height:20px; }
.wb-footer-news h4{ font-size:24px; line-height:1.3; margin-bottom:23px; }
.wb-footer a{ color:#fff; text-decoration:none; transition:color .2s; }
.wb-footer a:hover{ color:#C9A83E; }
.wb-footer-brand a.site-logo.footer-logo img{ height:175px !important; width:auto !important; }
.wb-footer-about{ font-size:20px; font-weight:600; line-height:32px; color:#fff; margin:24px 0; max-width:375px; }
.wb-footer-license h4{ font-size:16px; margin:0 0 12px; }
.wb-footer-license p{ font-size:16px; font-weight:600; line-height:20px; color:#fff; margin:0 0 12px; }
.wb-footer-license strong{ font-weight:700; }
.wb-footer-links{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:24px; }
.wb-footer-links a{ font-size:16px; font-weight:700; }
.wb-footer-contact{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.wb-footer-contact li,.wb-footer-contact a{ display:flex; align-items:center; gap:12px; font-size:16px; font-weight:700; color:#fff; }
.wb-footer-contact i{ width:28px; font-size:20px; text-align:center; color:#fff; }
.wb-news-form{ display:flex; gap:2px; margin:0 0 24px; max-width:303px; }
.wb-news-form input{ flex:1; min-width:0; height:43px; border:0; border-radius:0; background:#F9F9F9; padding:0 12px; font-size:13px; color:#182452; }
.wb-news-form button{ width:102px; height:43px; border:0; border-radius:0; background:#C9A83E; color:#F9F9F9; font-size:20px; font-weight:700; cursor:pointer; }
.wb-news-form button:hover{ background:#B8972F; }
.wb-footer-news h5{ color:#fff; font-size:16px; font-weight:700; margin:0 0 26px; }
.wb-footer-pay{ display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.wb-footer-pay img{ height:28px !important; width:auto !important; background:#fff; border-radius:4px; padding:2px 4px; object-fit:contain; }
.wb-footer-bottom{ display:flex; align-items:center; justify-content:space-between; gap:20px; padding-top:24px; flex-wrap:wrap; }
.wb-footer-social{ display:flex; gap:24px; }
.wb-footer-social a{ font-size:26px; }
.wb-footer-copy{ display:flex; flex-wrap:wrap; gap:8px 20px; font-size:14px; font-weight:600; color:rgba(255,255,255,.85); }
.wb-footer-copy a{ color:rgba(255,255,255,.85); }
@media (max-width:1100px){ .wb-footer-main{ grid-template-columns:1fr 1fr; gap:40px 32px; } }
@media (max-width:640px){
  .wb-footer-main{ grid-template-columns:1fr; gap:32px; text-align:center; }
  .wb-footer-brand,.wb-footer-col{ display:flex; flex-direction:column; align-items:center; }
  .wb-footer-brand a.site-logo.footer-logo img{ height:130px !important; }
  .wb-footer-about{ font-size:16px; line-height:28px; }
  .wb-footer-links{ gap:14px; align-items:center; }
  .wb-footer-contact li,.wb-footer-contact a{ justify-content:center; }
  .wb-news-form{ width:100%; }
  .wb-footer-pay{ justify-content:center; }
  .wb-footer-bottom{ flex-direction:column; text-align:center; }
  .wb-footer-copy{ justify-content:center; }
}

/* ===== Destination / service cards — Figma geometry: container 1241, gap 20, card 400, image 225 ===== */
body:has(.bc-hero) .destinations-container{ max-width:1241px; margin:0 auto; padding:0 20px; box-sizing:content-box; }
body:has(.bc-hero) .destinations-grid{ gap:20px !important; }
body:has(.bc-hero) .destination-image{ height:225px !important; }
body:has(.bc-hero) .destination-badge{ top:16px !important; right:10px !important; left:auto !important; width:150px; text-align:center; padding:12px 16px !important; font-size:16px !important; line-height:20px; }
body:has(.bc-hero) .destination-content{ padding:15px 19px 19px !important; }
body:has(.bc-hero) .destination-header{ padding:24px 10px !important; margin:0 !important; }
body:has(.bc-hero) .destination-header h3{ font-size:20px !important; font-weight:700; color:#182452 !important; margin:0 !important; line-height:20px; }
body:has(.bc-hero) .destination-footer{ padding-top:23px !important; align-items:center; }
body:has(.bc-hero) .destination-price .price-label{ color:#26366F; font-weight:600; font-size:16px; line-height:24px; }
body:has(.bc-hero) .destination-price .price-amount{ color:#C9A83E; font-weight:700; font-size:16px; line-height:24px; }
body:has(.bc-hero) .destination-card .btn-book{ padding:10px 18px !important; font-size:16px !important; line-height:24px; }
body:has(.bc-hero) .testimonials .section-header{ margin-top:0 !important; }
@media (max-width:768px){ body:has(.bc-hero) .destination-image{ height:200px !important; } }

/* Card hover — lighter lift (client 2026-10-25) */
.destination-card{ transition:transform .35s ease, box-shadow .35s ease; }
.destination-card:hover{ transform:translateY(-3px) !important; }

/* 2026-10-29: space under newsletter text */
.wb-footer-news .bc-news-desc{ margin:0 0 22px; line-height:1.7; }
