/* ==========================================================================
   NAYEF AL-NAAMA LAW FIRM & INTERNATIONAL ARBITRATION
   Exact Old Website Clone Stylesheet (Napae / Elementor Architecture)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & Colors (Matching the original Napae / Elementor palette)
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors from Old Site */
  --color-primary-gold: #c59b27;
  --color-primary-gold-hover: #b0871d;
  --color-gold-light: rgba(197, 155, 39, 0.12);
  --color-gold-border: rgba(197, 155, 39, 0.35);

  --color-dark-main: #192a3d;
  --color-dark-deep: #0e1b2a;
  --color-dark-footer: #0c1522;
  --color-dark-card: #132236;

  --color-body-bg: #ffffff;
  --color-section-bg: #f7f9fb;
  --color-card-bg: #ffffff;
  --color-border: #e2e8f0;
  --color-border-light: #edf2f7;

  --color-text-title: #192a3d;
  --color-text-body: #4a5568;
  --color-text-muted: #718096;
  --color-text-light: #a0aec0;

  /* Fonts */
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-arabic-heading: 'Cairo', sans-serif;
  --font-arabic-body: 'Cairo', 'Tajawal', sans-serif;

  /* Sizing */
  --container-width: 1200px;
  --header-height: 90px;
  --topbar-height: 40px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 35px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 6px 20px rgba(197, 155, 39, 0.25);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
}

html[dir="rtl"],
html[dir="rtl"] body,
html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select,
html[dir="rtl"] button {
  font-family: var(--font-arabic-body);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Setup
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 15px);
}

body {
  font-family: var(--font-body);
  background-color: var(--color-body-bg);
  color: var(--color-text-body);
  line-height: 1.7;
  font-size: 15px;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-title);
  font-weight: 700;
  line-height: 1.3;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6 {
  font-family: var(--font-arabic-heading);
}

.section-padding {
  padding-block: 80px;
}

.bg-alt {
  background-color: var(--color-section-bg);
}

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

/* --------------------------------------------------------------------------
   3. Topbar (White/Light header with contact details)
   -------------------------------------------------------------------------- */
.topbar {
  background-color: #0e1b2a;
  color: #a0aec0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-item svg {
  color: var(--color-primary-gold);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.lang-switch-wrap {
  display: inline-flex;
  border: 1px solid rgba(197, 155, 39, 0.4);
  border-radius: 20px;
  padding: 2px 4px;
}

.lang-btn {
  background: none;
  border: none;
  color: #cbd5e0;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.2s;
}

.lang-btn.active {
  background-color: var(--color-primary-gold);
  color: #0e1b2a;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   4. Navbar (Matching original header)
   -------------------------------------------------------------------------- */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand-logo img,
#headerLogoImg {
  height: 52px;
  max-height: 52px;
  width: auto;
  object-fit: contain;
}

#footerLogoImg {
  height: 52px;
  max-height: 52px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark-main);
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}

html[dir="rtl"] .nav-link {
  font-family: var(--font-arabic-heading);
  font-size: 15px;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary-gold);
}

.header-right-action {
  display: flex;
  align-items: center;
  gap: 15px;
}

.help-talk-box {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

html[dir="rtl"] .help-talk-box {
  text-align: right;
}

.help-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-gold-light);
  border: 1px solid var(--color-gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-gold);
}

.help-subtitle {
  font-size: 11px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.help-number {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-dark-main);
}

.mobile-toggle-btn {
  display: none;
  background: none;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   5. Buttons (Matching Napae button classes: .btn-one, .btn-two)
   -------------------------------------------------------------------------- */
.napae-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

html[dir="rtl"] .napae-btn {
  letter-spacing: 0;
}

.btn-one {
  background-color: var(--color-primary-gold);
  color: #0e1b2a;
  border: 1px solid var(--color-primary-gold);
  box-shadow: var(--shadow-gold);
}

.btn-one:hover {
  background-color: var(--color-primary-gold-hover);
  border-color: var(--color-primary-gold-hover);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-two {
  background-color: var(--color-dark-main);
  color: #ffffff;
  border: 1px solid var(--color-dark-main);
}

.btn-two:hover {
  background-color: #000000;
  border-color: #000000;
  transform: translateY(-2px);
  color: var(--color-primary-gold);
}

.btn-outline-gold {
  background: transparent;
  color: var(--color-primary-gold);
  border: 1px solid var(--color-primary-gold);
}

.btn-outline-gold:hover {
  background: var(--color-primary-gold);
  color: #0e1b2a;
}

/* --------------------------------------------------------------------------
   6. Hero Banner (Exact Napae Banner: .napae-banner .banner-caption)
   -------------------------------------------------------------------------- */
.napae-hero {
  position: relative;
  background: linear-gradient(rgba(14, 27, 42, 0.88), rgba(14, 27, 42, 0.92)), url('../assets/images/library_banner.jpg') center/cover no-repeat;
  padding-block: 120px 100px;
  text-align: center;
  color: #ffffff;
}

.banner-caption {
  max-width: 800px;
  margin-inline: auto;
}

.banner-sub-title {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

html[dir="rtl"] .banner-sub-title {
  letter-spacing: 0;
  font-size: 18px;
}

.banner-title {
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.banner-tagline {
  font-size: clamp(16px, 2vw, 22px);
  color: #cbd5e0;
  margin-bottom: 35px;
  font-weight: 400;
}

.napae-btn-wrap {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   7. Three Info Boxes (.elementskit-info-box)
   -------------------------------------------------------------------------- */
.info-boxes-strip {
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.info-boxes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.elementskit-info-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 35px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid #e2e8f0;
  border-top: 3px solid var(--color-primary-gold);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.elementskit-info-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.info-box-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--color-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-gold);
  margin-bottom: 20px;
}

.elementskit-info-box-title {
  font-size: 19px;
  margin-bottom: 12px;
  color: var(--color-dark-main);
}

.info-box-desc {
  font-size: 14px;
  color: var(--color-text-body);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   8. Section Headers (.ekit-heading--title)
   -------------------------------------------------------------------------- */
.section-header {
  margin-bottom: 50px;
}

.ekit-sub-title {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary-gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

html[dir="rtl"] .ekit-sub-title {
  letter-spacing: 0;
}

.elementskit-section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--color-dark-main);
  margin-bottom: 15px;
}

.section-lead-text {
  max-width: 680px;
  margin-inline: auto;
  font-size: 16px;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   9. "Get To Know Us" Section
   -------------------------------------------------------------------------- */
.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: center;
}

.about-visual-box {
  position: relative;
}

.about-image-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid #e2e8f0;
  background-color: #f7f9fb;
}

.about-image-wrap img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.years-exp-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-dark-main);
  border-top: 4px solid var(--color-primary-gold);
  color: #ffffff;
  padding: 20px 25px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 15px;
}

html[dir="rtl"] .years-exp-badge {
  right: auto;
  left: -20px;
}

.years-val {
  font-size: 40px;
  font-weight: 800;
  color: var(--color-primary-gold);
  line-height: 1;
}

.years-text {
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 1.3;
}

.about-bullets-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-block: 24px;
}

.about-bullet-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark-main);
}

.about-bullet-item svg {
  color: var(--color-primary-gold);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   10. Services Section & Cards
   -------------------------------------------------------------------------- */
.services-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-box-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 35px 28px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-box-item:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary-gold);
  box-shadow: var(--shadow-md);
}

.service-box-icon {
  width: 55px;
  height: 55px;
  background: #f7f9fb;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-gold);
  margin-bottom: 20px;
  transition: all 0.3s;
}

.service-box-item:hover .service-box-icon {
  background: var(--color-primary-gold);
  color: #ffffff;
  border-color: var(--color-primary-gold);
}

.service-box-title {
  font-size: 20px;
  margin-bottom: 12px;
}

.service-box-desc {
  font-size: 14px;
  color: var(--color-text-body);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-readmore-btn {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary-gold);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   11. Call to Action Banner (.ekit-heading--title: "Ready for expert...")
   -------------------------------------------------------------------------- */
.cta-banner-strip {
  background: linear-gradient(135deg, #0e1b2a 0%, #192a3d 100%);
  color: #ffffff;
  padding-block: 60px;
}

.cta-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-banner-text h4 {
  color: var(--color-primary-gold);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.cta-banner-text h2 {
  color: #ffffff;
  font-size: 30px;
  margin-bottom: 8px;
}

.cta-banner-text p {
  color: #cbd5e0;
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   12. Expert Attorneys Section
   -------------------------------------------------------------------------- */
.attorneys-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
  max-width: 900px;
  margin-inline: auto;
}

.attorney-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.attorney-item-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-gold);
}

.attorney-card-image {
  height: 320px;
  width: 100%;
  background-color: #0e1b2a;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.attorney-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.attorney-card-info {
  padding: 25px;
  text-align: center;
}

.attorney-card-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary-gold);
  text-transform: uppercase;
  margin-bottom: 5px;
}

.attorney-card-name {
  font-size: 20px;
  color: var(--color-dark-main);
  margin-bottom: 12px;
}

.attorney-card-bio {
  font-size: 14px;
  color: var(--color-text-body);
  line-height: 1.6;
}

.attorney-card-contact {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-dark-main);
}

/* --------------------------------------------------------------------------
   13. Consultation Form Section (.ekit-heading--title: "Get A Free Consulation")
   -------------------------------------------------------------------------- */
.consultation-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.consult-form-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 40px 35px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-full {
  margin-bottom: 16px;
}

.napae-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cbd5e0;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--color-dark-main);
  background-color: #ffffff;
  transition: border-color 0.2s;
}

.napae-input:focus {
  outline: none;
  border-color: var(--color-primary-gold);
  box-shadow: 0 0 0 2px rgba(197, 155, 39, 0.2);
}

textarea.napae-input {
  min-height: 110px;
  resize: vertical;
}

.form-btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-whatsapp-direct {
  background-color: #25d366;
  color: #ffffff;
  border: 1px solid #25d366;
}

.btn-whatsapp-direct:hover {
  background-color: #1eb854;
  color: #ffffff;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   15. Judiciary In Qatar Section
   -------------------------------------------------------------------------- */
.judiciary-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.judiciary-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.judiciary-card-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--color-primary-gold);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

html[dir="rtl"] .judiciary-card-item {
  border-left: 1px solid #e2e8f0;
  border-right: 4px solid var(--color-primary-gold);
}

.judiciary-card-title {
  font-size: 17px;
  margin-bottom: 6px;
}

.judiciary-card-desc {
  font-size: 14px;
  color: var(--color-text-body);
}

/* --------------------------------------------------------------------------
   16. Footer (Matching exact old dark footer)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-dark-footer);
  color: #a0aec0;
  padding-top: 70px;
  padding-bottom: 25px;
  border-top: 3px solid var(--color-primary-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col-title {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--color-primary-gold);
}

html[dir="rtl"] .footer-col-title::after {
  left: auto;
  right: 0;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link-item a {
  font-size: 14px;
  color: #a0aec0;
  transition: color 0.2s;
}

.footer-link-item a:hover {
  color: var(--color-primary-gold);
  padding-left: 4px;
}

html[dir="rtl"] .footer-link-item a:hover {
  padding-left: 0;
  padding-right: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
}

.footer-contact-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-contact-line svg {
  color: var(--color-primary-gold);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #718096;
}

/* --------------------------------------------------------------------------
   17. Modal Dialog
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  border-top: 4px solid var(--color-primary-gold);
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 35px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #edf2f7;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

html[dir="rtl"] .modal-close-icon {
  right: auto;
  left: 20px;
}

/* --------------------------------------------------------------------------
   18. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .info-boxes-grid,
  .services-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-two-col,
  .judiciary-row,
  .consultation-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .topbar-left {
    display: none;
  }

  .nav-menu,
  .header-right-action .help-talk-box {
    display: none;
  }

  .mobile-toggle-btn {
    display: block;
  }

  .info-boxes-grid,
  .services-card-grid,
  .attorneys-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-banner-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   14. Mobile Navigation Drawer
   -------------------------------------------------------------------------- */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: -320px;
  width: 300px;
  background: #0d1a29;
  z-index: 10000;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), left 0.3s ease, right 0.3s ease;
}

html[dir="rtl"] .mobile-nav-drawer {
  left: auto;
  right: -320px;
  box-shadow: -4px 0 25px rgba(0, 0, 0, 0.4);
}

.mobile-nav-drawer.active {
  left: 0;
}

html[dir="rtl"] .mobile-nav-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.mobile-drawer-close {
  background: none;
  border: none;
  color: #cbd5e0;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}

.mobile-drawer-close:hover {
  color: var(--color-primary-gold);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: auto;
}

.mobile-nav-link {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.2s, padding-inline-start 0.2s;
}

.mobile-nav-link:hover {
  color: var(--color-primary-gold);
  padding-inline-start: 8px;
}

.mobile-drawer-footer {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-contact-item a {
  color: var(--color-primary-gold);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  direction: ltr;
  display: inline-block;
}

.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}
