/* =========================================================
   Atlas Ighir Restaurant & Coffee — Main Styles
   ========================================================= */

:root {
  --primary: #c46a28;
  --primary-dark: #a3551f;
  --secondary: #8b5e3c;
  --gold: #d4af37;
  --bg: #faf8f4;
  --dark: #1e1e1e;
  --white: #ffffff;
  --muted: #6b6560;
  --border: rgba(30, 30, 30, 0.08);
  --shadow: 0 12px 40px rgba(30, 30, 30, 0.08);
  --shadow-hover: 0 20px 50px rgba(196, 106, 40, 0.18);
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --nav-height: 84px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --green-accent: #5a7a45;
  --sun: #f0a830;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  position: relative;
}

body.is-rtl {
  font-family: "Tajawal", "Cairo", "Segoe UI", Tahoma, sans-serif;
  text-align: right;
}

body.is-rtl h1,
body.is-rtl h2,
body.is-rtl h3,
body.is-rtl h4,
body.is-rtl .h-display {
  font-family: "Cairo", "Tajawal", sans-serif;
  font-weight: 700;
}

/* Keep phones, emails, times, Latin addresses readable in RTL */
.ltr-isolate {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
  text-align: left;
}

body.is-rtl .navbar-atlas .nav-link,
body.is-rtl .btn,
body.is-rtl .section-eyebrow,
body.is-rtl .footer-title,
body.is-rtl .contact-card h3,
body.is-rtl .form-label {
  font-family: "Tajawal", "Cairo", sans-serif;
}

body.is-rtl .hero h1,
body.is-rtl .page-hero h1,
body.is-rtl .section-header h2 {
  font-family: "Cairo", "Tajawal", sans-serif;
}

body.is-rtl .contact-card,
body.is-rtl .footer-contact {
  text-align: right;
}

body.is-rtl .navbar-nav {
  text-align: right;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

video,
iframe,
embed,
object,
svg {
  max-width: 100%;
}

main#main {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

.section,
.hero,
.page-hero,
.chef-section,
.site-footer,
.site-header {
  overflow-x: hidden;
  max-width: 100%;
}

.row > * {
  min-width: 0;
}

.btn,
.nav-link,
.filter-btn,
.back-to-top {
  touch-action: manipulation;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

h1,
h2,
h3,
h4,
.h-display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
}

/* ---------- Loader ---------- */
.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.site-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
}

.loader-logo {
  margin: 0 auto 1.25rem;
  max-width: 140px;
  animation: pulseSoft 1.6s ease-in-out infinite;
}

.loader-bar {
  width: 140px;
  height: 3px;
  margin: 0 auto 0.75rem;
  background: rgba(196, 106, 40, 0.15);
  border-radius: 99px;
  overflow: hidden;
}

.loader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 99px;
  animation: loaderSlide 1.1s ease-in-out infinite;
}

.loader-text {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

@keyframes loaderSlide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(350%);
  }
}

@keyframes pulseSoft {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.75;
    transform: scale(0.97);
  }
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  transition: all var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(196, 106, 40, 0.28);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: var(--white);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--dark);
}

.btn-outline-primary {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
}

/* ---------- Navbar ---------- */
.navbar-atlas {
  padding: 0.85rem 0;
  transition: all var(--transition);
  background: transparent;
}

.navbar-atlas.scrolled {
  background: rgba(250, 248, 244, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(30, 30, 30, 0.06);
  border-bottom: 1px solid var(--border);
  padding: 0.55rem 0;
}

.brand-logo {
  max-height: 58px;
  width: auto;
  background: transparent;
  transition: max-height var(--transition);
}

.navbar-brand {
  background: transparent;
}

.navbar-atlas.scrolled .brand-logo {
  max-height: 48px;
}

.navbar-atlas .nav-link {
  color: var(--dark);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 0.85rem !important;
  position: relative;
  opacity: 0.85;
}

.navbar-atlas .nav-link:hover,
.navbar-atlas .nav-link.active {
  color: var(--primary);
  opacity: 1;
}

.navbar-atlas .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.btn-lang {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--border);
  color: var(--dark);
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  border-radius: 999px;
}

.btn-lang:hover,
.btn-lang:focus {
  background: var(--white);
  color: var(--primary);
}

.lang-switcher .dropdown-menu {
  border: none;
  box-shadow: var(--shadow);
  border-radius: 0.75rem;
  padding: 0.4rem;
  min-width: 8rem;
}

.lang-switcher .dropdown-item {
  border-radius: 0.5rem;
  font-size: 0.9rem;
}

.lang-switcher .dropdown-item.active,
.lang-switcher .dropdown-item:active {
  background: rgba(196, 106, 40, 0.12);
  color: var(--primary);
}

.btn-reserve {
  white-space: nowrap;
  font-size: 0.88rem;
  padding: 0.55rem 1.25rem;
}

.navbar-toggler {
  border: 1px solid var(--border);
  padding: 0.4rem 0.55rem;
  border-radius: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231E1E1E' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-height) + 3rem) 0 3.5rem;
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(30, 30, 30, 0.35) 0%,
    rgba(30, 30, 30, 0.72) 100%
  );
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-about {
  background-image: url("../images/interior.jpg");
}

.page-hero-menu {
  background-image: url("../images/menu/lamb-tagine.png");
}

.page-hero-gallery {
  background-image: url("../images/about.jpg");
}

.page-hero-reservation {
  background-image: url("../images/brunch.jpg");
}

.page-hero-contact {
  background-image: url("../images/coffee.jpg");
}

.counter-card .count i {
  font-size: 1.75rem;
  color: var(--primary);
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 36rem;
  margin: 0;
}

.breadcrumb-nav {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

.breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb-nav a:hover {
  color: var(--gold);
}

/* ---------- Home Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img,
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(30, 30, 30, 0.72) 0%, rgba(30, 30, 30, 0.35) 55%, rgba(196, 106, 40, 0.25) 100%),
    radial-gradient(ellipse at 70% 30%, rgba(212, 175, 55, 0.2), transparent 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(var(--nav-height) + 2rem) 1.25rem 4rem;
  max-width: 820px;
}

.hero-brand {
  display: block;
  margin: 0 auto 1.5rem;
  max-width: min(280px, 70vw);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  margin-bottom: 0.75rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.hero .lead {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  opacity: 0.8;
  animation: bounceY 2s infinite;
}

.scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-indicator i {
  font-size: 1.25rem;
}

@keyframes bounceY {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--white);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--muted);
  margin: 0;
  font-size: 1.05rem;
}

/* ---------- About ---------- */
.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 42%;
  border-radius: var(--radius);
  border: 6px solid var(--bg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.about-image-accent img {
  min-height: 160px;
  height: 180px;
  width: 100%;
  object-fit: cover;
}

body.is-rtl .about-image-accent {
  right: auto;
  left: 1rem;
}

.about-content .section-eyebrow {
  text-align: start;
}

.counters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.counter-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.counter-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.counter-card .count {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.counter-card .label {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- Menu cards ---------- */
.menu-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--dark);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.menu-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.menu-card:hover .menu-card-img img {
  transform: scale(1.08);
}

.menu-card-body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.menu-card-body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.menu-card-body p {
  color: var(--muted);
  font-size: 0.92rem;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.menu-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.menu-category-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 3rem 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-category-title i {
  color: var(--gold);
}

/* ---------- Chef recommendation ---------- */
.chef-section {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
  padding: 0;
}

.chef-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 560px;
}

.chef-image {
  position: relative;
  min-height: 400px;
  overflow: hidden;
}

.chef-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  inset: 0;
}

.chef-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3.5rem;
  background:
    linear-gradient(160deg, #1e1e1e 0%, #2a221c 60%, #3a2a1a 100%);
}

.chef-content .section-eyebrow {
  color: var(--gold);
}

.chef-content h2 {
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  margin-bottom: 0.5rem;
}

.chef-content .dish-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.chef-content p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 2rem;
  max-width: 28rem;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-item.tall {
  grid-row: span 2;
  aspect-ratio: auto;
  min-height: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(30, 30, 30, 0.65));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1rem;
  opacity: 0;
  transition: opacity var(--transition);
  color: var(--white);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item.is-hidden {
  display: none;
}

/* ---------- Reservation ---------- */
.reservation-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}

.reservation-side {
  background:
    linear-gradient(145deg, rgba(30, 30, 30, 0.55), rgba(196, 106, 40, 0.45)),
    url("../images/hero.jpg") center / cover;
  min-height: 280px;
  color: var(--white);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.reservation-side h3 {
  color: var(--white);
  font-size: 2rem;
}

.reservation-form {
  padding: 2.5rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.35rem;
}

.form-control,
.form-select {
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(196, 106, 40, 0.15);
  background: var(--white);
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #c0392b;
}

.invalid-feedback {
  font-size: 0.8rem;
}

.alert-success-custom {
  background: rgba(90, 122, 69, 0.12);
  border: 1px solid rgba(90, 122, 69, 0.3);
  color: #3d5a2e;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

/* ---------- Testimonials ---------- */
.swiper-testimonials {
  overflow: hidden;
  width: 100%;
  padding-bottom: 2.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid var(--border);
  max-width: 680px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.testimonial-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--gold);
}

.stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.15em;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--dark);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.testimonial-name {
  font-weight: 600;
  margin: 0;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.swiper-testimonials .swiper-pagination-bullet-active {
  background: var(--primary);
}

.swiper-testimonials .swiper-button-next,
.swiper-testimonials .swiper-button-prev {
  color: var(--primary);
}

/* ---------- Contact ---------- */
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(196, 106, 40, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.contact-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.contact-card p,
.contact-card a {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.contact-card a:hover {
  color: var(--primary);
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  min-height: 380px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

/* ---------- Location QR ---------- */
.location-qr {
  margin: 0 0 2.5rem;
}

.location-qr-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow);
}

.location-qr-media {
  flex-shrink: 0;
}

.location-qr-img {
  width: min(220px, 42vw);
  height: auto;
  margin: 0 auto;
  border-radius: 0.75rem;
  background: var(--white);
}

.location-qr-content .section-eyebrow {
  margin-bottom: 0.5rem;
}

.location-qr-content h3 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin-bottom: 0.75rem;
}

.location-qr-address {
  color: var(--muted);
  margin-bottom: 1.35rem;
  max-width: 28rem;
}

body.is-rtl .location-qr-content {
  text-align: right;
}

@media (max-width: 767.98px) {
  .location-qr-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.5rem 1.15rem;
    gap: 1.25rem;
  }

  .location-qr-address {
    margin-left: auto;
    margin-right: auto;
  }

  body.is-rtl .location-qr-content {
    text-align: center;
  }

  .location-qr-img {
    width: min(200px, 55vw);
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.78);
  margin-top: 0;
}

.footer-top {
  padding: 4.5rem 0 3rem;
}

.footer-logo {
  max-height: 70px;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.footer-about {
  max-width: 280px;
  font-size: 0.95rem;
}

.footer-title {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.footer-label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--gold);
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
}

.footer-contact i {
  color: var(--gold);
  margin-inline-end: 0.45rem;
}

.social-links {
  display: flex;
  gap: 0.65rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.newsletter-form .form-control {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.newsletter-form .btn {
  border-radius: 0 0.75rem 0.75rem 0;
}

body.is-rtl .newsletter-form .btn {
  border-radius: 0.75rem 0 0 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  font-size: 0.88rem;
}

.footer-credit {
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1040;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(196, 106, 40, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  cursor: pointer;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

body.is-rtl .back-to-top {
  right: auto;
  left: 1.5rem;
}

/* ---------- Utilities ---------- */
.text-gold {
  color: var(--gold);
}

.bg-pattern {
  background-image: radial-gradient(rgba(196, 106, 40, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
}
