/*
Theme Name: AB Hotel Luxe One Page
Theme URI: https://abhotelapartments.com
Author: LEDO
Description: One-page bilingual Arabic/English WordPress theme for AB Hotel Apartments. Rooms display only, no booking system.
Version: 2.0.0
Text Domain: abhotel-luxe
*/

:root {
  --ab-navy: #060718;
  --ab-navy-2: #101426;
  --ab-gold: #A2810C;
  --ab-gold-dark: #A2810C;
  --ab-text: #07111f;
  --ab-muted: #687083;
  --ab-bg: #ffffff;
  --ab-soft: #f7f3ea;
  --ab-border: rgba(7, 17, 31, .10);
  --ab-shadow: 0 18px 50px rgba(7, 17, 31, .10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--ab-text);
  line-height: 1.8;
  font-family: "Tajawal", "Cairo", Arial, sans-serif;
}

body.ab-page-ar {
  direction: rtl;
  text-align: right;
}

body.ab-page-en {
  direction: ltr;
  text-align: left;
  font-family: "Inter", "Poppins", "Segoe UI", Arial, sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.ab-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.ab-section {
  padding: 88px 0;
  scroll-margin-top: 94px;
}

.ab-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 217, 31, .18);
  color: #8a6500;
  border: 1px solid rgba(201, 154, 50, .22);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
}

.ab-title {
  margin: 0 0 14px;
  color: var(--ab-text);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -.5px;
}

.ab-lead {
  margin: 0;
  color: var(--ab-muted);
  font-size: 18px;
  max-width: 780px;
}

.ab-center {
  text-align: center;
}

.ab-center .ab-lead {
  margin-inline: auto;
}

/* Header */
.ab-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9999;
  background: rgba(7, 8, 18, .52);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}

.admin-bar .ab-header {
  top: 32px;
}

.ab-nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ab-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.4px;
  white-space: nowrap;
}

.ab-brand img {
  height: 52px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
}

.ab-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: rgba(255, 255, 255, .90);
  font-size: 15px;
  font-weight: 800;
}

.ab-menu a {
  color: rgba(255, 255, 255, .90);
  transition: .2s;
}

.ab-menu a:hover {
  color: var(--ab-gold);
}

.ab-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */
.ab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 13px 22px;
  font-weight: 900;
  font-size: 15px;
  line-height: 1;
  transition: .22s ease;
  cursor: pointer;
  border: 0;
}

.ab-btn-gold {
  background: var(--ab-gold);
  color: #080916;
  box-shadow: 0 14px 30px rgba(255, 217, 31, .24);
}

.ab-btn-gold:hover {
  transform: translateY(-2px);
  filter: brightness(.98);
  box-shadow: 0 18px 42px rgba(255, 217, 31, .32);
}

.ab-btn-glass {
  color: #ffffff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .24);
}

.ab-btn-glass:hover {
  background: rgba(255, 255, 255, .20);
}

.ab-btn-dark {
  background: var(--ab-navy);
  color: #ffffff;
}

.ab-btn-dark:hover {
  background: #171b33;
  transform: translateY(-2px);
}

/* Hero */
.ab-hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4, 5, 14, .82), rgba(4, 5, 14, .54), rgba(4, 5, 14, .30)),
    url("https://abhotelapartments.com/wp-content/uploads/2026/06/hero.png") center / cover no-repeat;
}

.ab-page-ar .ab-hero {
  background:
    linear-gradient(270deg, rgba(4, 5, 14, .82), rgba(4, 5, 14, .54), rgba(4, 5, 14, .30)),
    url("https://abhotelapartments.com/wp-content/uploads/2026/06/hero.png") center / cover no-repeat;
}

.ab-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 32%, rgba(255, 217, 31, .18), transparent 34%),
    linear-gradient(to bottom, rgba(0, 0, 0, .06), rgba(0, 0, 0, .34));
  pointer-events: none;
}

.ab-page-en .ab-hero:before {
  background:
    radial-gradient(circle at 82% 32%, rgba(255, 217, 31, .18), transparent 34%),
    linear-gradient(to bottom, rgba(0, 0, 0, .06), rgba(0, 0, 0, .34));
}

.ab-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-top: 94px;
}

.ab-hero h1 {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.16;
  font-weight: 950;
  letter-spacing: -1.2px;
}

.ab-hero h1 span {
  color: var(--ab-gold);
}

.ab-hero p {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.85;
  max-width: 720px;
}

.ab-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ab-hero-gallery {
  position: absolute;
  bottom: 36px;
  z-index: 3;
  display: flex;
  gap: 12px;
}

.ab-page-ar .ab-hero-gallery {
  left: 40px;
}

.ab-page-en .ab-hero-gallery {
  right: 40px;
}

.ab-hero-gallery img {
  width: 106px;
  height: 76px;
  object-fit: cover;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .30);
}

/* About */
.ab-about {
  background: #ffffff;
}

.ab-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}

.ab-about-card {
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff, #fbf8f0);
  border: 1px solid var(--ab-border);
  box-shadow: var(--ab-shadow);
  padding: 34px;
}

.ab-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
}

.ab-mini-card {
  background: #ffffff;
  border: 1px solid var(--ab-border);
  border-radius: 20px;
  padding: 22px;
}

.ab-mini-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.ab-mini-card p {
  margin: 0;
  color: var(--ab-muted);
}

.ab-image-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ab-image-stack img {
  height: 270px;
  width: 100%;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: var(--ab-shadow);
}

.ab-image-stack img:first-child {
  grid-row: span 2;
  height: 556px;
}

/* Rooms */
.ab-rooms {
  background: linear-gradient(180deg, #ffffff 0%, #f8f5ee 100%);
}

.ab-room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 42px;
}

.ab-room {
  background: #ffffff;
  border: 1px solid var(--ab-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(7, 17, 31, .08);
  transition: .25s ease;
}

.ab-room:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 70px rgba(7, 17, 31, .14);
}

.ab-room-media {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.ab-room-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .35s ease;
}

.ab-room:hover .ab-room-media img {
  transform: scale(1.045);
}

.ab-badge {
  position: absolute;
  top: 14px;
  background: var(--ab-gold);
  color: #080916;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.ab-page-ar .ab-badge {
  right: 14px;
}

.ab-page-en .ab-badge {
  left: 14px;
}

.ab-room-body {
  padding: 24px;
}

.ab-room h3 {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 10px;
}

.ab-room p {
  margin: 0 0 18px;
  color: var(--ab-muted);
}

.ab-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.ab-tags span {
  background: #f2f3f6;
  color: #101426;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}

.ab-room-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--ab-border);
  padding-top: 18px;
}

.ab-available {
  font-weight: 900;
  color: #16803b;
}

/* Services & Restaurant */
.ab-services,
.ab-restaurant {
  position: relative;
  background: var(--ab-navy);
  color: #ffffff;
  overflow: hidden;
}

.ab-restaurant {
  background: linear-gradient(135deg, #111426, #060718);
}

.ab-services:before,
.ab-restaurant:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 217, 31, .18), transparent 32%),
    radial-gradient(circle at 86% 78%, rgba(255, 255, 255, .08), transparent 36%);
}

.ab-services .ab-container,
.ab-restaurant .ab-container {
  position: relative;
  z-index: 1;
}

.ab-services .ab-title,
.ab-restaurant .ab-title {
  color: #ffffff;
}

.ab-services .ab-lead,
.ab-restaurant .ab-lead {
  color: rgba(255, 255, 255, .76);
}

.ab-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.ab-service {
  background: rgba(255, 255, 255, .075);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(14px);
  transition: .22s ease;
}

.ab-service:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 217, 31, .38);
  background: rgba(255, 255, 255, .105);
}

.ab-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 217, 31, .15);
  border: 1px solid rgba(255, 217, 31, .28);
  color: var(--ab-gold);
  font-size: 24px;
  margin-bottom: 18px;
}

.ab-service h3 {
  margin: 0 0 10px;
  font-size: 21px;
  color: #ffffff;
}

.ab-service p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
}

/* Location */
.ab-location {
  background: #ffffff;
}

.ab-location-card {
  margin-top: 38px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
}

.ab-location-info {
  border-radius: 28px;
  padding: 34px;
  background: linear-gradient(180deg, #ffffff, #fbf8f0);
  border: 1px solid var(--ab-border);
  box-shadow: var(--ab-shadow);
}

.ab-location-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.ab-place {
  background: #ffffff;
  border: 1px solid var(--ab-border);
  border-radius: 18px;
  padding: 16px;
  font-weight: 800;
}

.ab-map {
  min-height: 410px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(rgba(7, 17, 31, .08), rgba(7, 17, 31, .08)),
    url("https://abhotelapartments.com/wp-content/uploads/2026/06/looby2.png") center / cover;
  box-shadow: var(--ab-shadow);
  position: relative;
}

.ab-map:after {
  position: absolute;
  bottom: 24px;
  background: #ffffff;
  border-radius: 16px;
  padding: 13px 18px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
}

.ab-page-ar .ab-map:after {
  content: "موقع مناسب في قلب مسقط";
  right: 24px;
}

.ab-page-en .ab-map:after {
  content: "A convenient location in the heart of Muscat";
  left: 24px;
}

/* Oman */
.ab-oman {
  background: linear-gradient(180deg, #f8f5ee, #ffffff);
}

.ab-oman-box {
  border-radius: 32px;
  padding: 42px;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, .86), rgba(7, 17, 31, .62)),
    url("https://abhotelapartments.com/wp-content/uploads/2026/06/looby3.png") center / cover;
  color: #ffffff;
  box-shadow: 0 28px 80px rgba(7, 17, 31, .20);
}

.ab-oman-box .ab-title {
  color: #ffffff;
}

.ab-oman-box p {
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
  max-width: 820px;
}

/* Why */
.ab-why {
  background: #ffffff;
}

.ab-why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.ab-why-item {
  text-align: center;
  border: 1px solid var(--ab-border);
  background: #ffffff;
  border-radius: 20px;
  padding: 22px 14px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(7, 17, 31, .055);
}

/* Contact */
.ab-contact {
  background: linear-gradient(135deg, #080916, #171b33);
  color: #ffffff;
}

.ab-contact .ab-title {
  color: #ffffff;
}

.ab-contact .ab-lead {
  color: rgba(255, 255, 255, .76);
}

.ab-contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 38px;
}

.ab-contact-card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 28px;
  padding: 32px;
  backdrop-filter: blur(14px);
}

.ab-contact-card h3 {
  margin: 0 0 14px;
  font-size: 24px;
}

.ab-contact-card p {
  color: rgba(255, 255, 255, .75);
  margin: 0 0 18px;
}

.ab-phone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  padding: 18px;
  margin-top: 12px;
}

.ab-phone strong {
  font-size: 20px;
  direction: ltr;
  unicode-bidi: embed;
}

.ab-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

/* Footer */
.ab-footer {
  background: #050613;
  color: rgba(255, 255, 255, .68);
  padding: 26px 0;
  text-align: center;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 980px) {
  .ab-menu {
    display: none;
  }

  .ab-split,
  .ab-location-card,
  .ab-contact-wrap {
    grid-template-columns: 1fr;
  }

  .ab-room-grid,
  .ab-service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ab-image-stack img:first-child {
    height: 360px;
  }

  .ab-image-stack img {
    height: 220px;
  }

  .ab-why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .admin-bar .ab-header {
    top: 46px;
  }

  .ab-container {
    width: min(100% - 28px, 1180px);
  }

  .ab-nav {
    height: 70px;
  }

  .ab-brand {
    font-size: 18px;
  }

  .ab-brand img {
    height: 42px;
    max-width: 135px;
  }

  .ab-btn {
    padding: 12px 16px;
    font-size: 13px;
  }

  .ab-nav-actions .ab-btn-glass {
    display: none;
  }

  .ab-hero {
    min-height: 92vh;
    background-position: center;
  }

  .ab-hero h1 {
    font-size: 38px;
  }

  .ab-hero p {
    font-size: 16px;
  }

  .ab-hero-gallery {
    display: none;
  }

  .ab-section {
    padding: 64px 0;
  }

  .ab-room-grid,
  .ab-service-grid,
  .ab-about-grid,
  .ab-location-list {
    grid-template-columns: 1fr;
  }

  .ab-room-media {
    height: 220px;
  }

  .ab-image-stack {
    grid-template-columns: 1fr;
  }

  .ab-image-stack img,
  .ab-image-stack img:first-child {
    height: 240px;
  }

  .ab-oman-box {
    padding: 28px;
  }

  .ab-why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ab-phone {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* =====================================================
   AB HOTEL - FORCE HEADER FINAL FIX
   Paste in Additional CSS
   ===================================================== */

/* الهيدر نفسه */
body .ab-header {
  background: #ffffff !important;
  height: 58px !important;
  min-height: 58px !important;
  max-height: 58px !important;
  padding: 0 !important;
  border-bottom: 1px solid rgba(7, 17, 31, 0.08) !important;
  box-shadow: 0 6px 18px rgba(7, 17, 31, 0.05) !important;
  overflow: visible !important;
}

/* الحاوية الداخلية */
body .ab-header .ab-container {
  height: 58px !important;
}

/* الناف */
body .ab-header .ab-nav {
  height: 58px !important;
  min-height: 58px !important;
  max-height: 58px !important;
  padding: 0 !important;
  gap: 18px !important;
  align-items: center !important;
}

/* اللوجو */
body .ab-header .ab-brand {
  height: 58px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #d6a51d !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

/* تكبير صورة اللوجو */
body .ab-header .ab-brand img {
  height: 54px !important;
  max-height: 54px !important;
  width: auto !important;
  max-width: 230px !important;
  object-fit: contain !important;
}

/* اسم الفندق */
body .ab-header .ab-brand span {
  color: #d6a51d !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

/* القوائم */
body .ab-header .ab-menu {
  gap: 36px !important;
  color: #07111f !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

body .ab-header .ab-menu a {
  color: #07111f !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

body .ab-header .ab-menu a:hover {
  color: #d6a51d !important;
}

/* منطقة الأزرار */
body .ab-header .ab-nav-actions {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  min-width: 62px !important;
}

/* احذف زر احجز الآن */
body .ab-header .ab-nav-actions .ab-btn-gold,
body .ab-header .ab-nav-actions a[href*="wa.me"] {
  display: none !important;
}

/* زر اللغة فقط */
body .ab-header .ab-nav-actions .ab-btn-glass {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 62px !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  border: 1px solid rgba(214, 165, 29, 0.45) !important;
  box-shadow: none !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 1 !important;
  transform: none !important;
}

/* اكتب En داخل الزر */
body.ab-page-ar .ab-header .ab-nav-actions .ab-btn-glass::after {
  content: "En" !important;
  color: #d6a51d !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

/* لو الصفحة إنجليزية يظهر Ar */
body.ab-page-en .ab-header .ab-nav-actions .ab-btn-glass::after {
  content: "Ar" !important;
  color: #d6a51d !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

body .ab-header .ab-nav-actions .ab-btn-glass:hover {
  background: #fff8df !important;
  color: transparent !important;
  transform: none !important;
}

/* موبايل */
@media (max-width: 680px) {
  body .ab-header,
  body .ab-header .ab-container,
  body .ab-header .ab-nav {
    height: auto !important;
    min-height: 58px !important;
    max-height: none !important;
  }

  body .ab-header .ab-nav {
    padding: 8px 0 !important;
  }

  body .ab-header .ab-brand img {
    height: 46px !important;
    max-height: 46px !important;
  }

  body .ab-header .ab-brand span {
    font-size: 15px !important;
  }

  body .ab-header .ab-nav-actions .ab-btn-glass {
    width: 56px !important;
    height: 32px !important;
  }
}
