﻿:root {
  --bg: #f7f5f1;
  --text: #1e1e1e;
  --muted: #6b6b6b;
  --gold: #b3925f;
  --gold-soft: rgba(179, 146, 95, 0.25);
  --card: #ffffff;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 105%;
}

body {
  font-family: "Tajawal", "Cairo", "Noto Kufi Arabic", "Segoe UI", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  position: relative;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("../img/hero-marble.jpeg");
  background-size: cover;
  background-position: center;
  opacity: 0.035;
  pointer-events: none;
  z-index: -1;
}

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

.section {
  padding: 90px 0;
}

.section-soft {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(2px);
}

.section-title {
  font-weight: 700;
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
  margin-bottom: 12px;
}

.section-text {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 720px;
}

.text-center .section-text {
  margin: 0 auto;
}

.gold-line {
  width: 80px;
  height: 2px;
  background: var(--gold);
  margin: 12px 0 18px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 12px;
  background: #fff;
  padding: 6px 12px;
  z-index: 1000;
  border-radius: 6px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.navbar {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar-transparent {
  background: rgba(10, 10, 10, 0.25);
  backdrop-filter: blur(10px);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled .nav-link {
  color: var(--text);
}

.navbar.scrolled .brand-text {
  color: var(--text);
}

.navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

.navbar .navbar-toggler-icon {
  filter: invert(1);
}

.navbar.scrolled .navbar-toggler {
  border-color: rgba(0, 0, 0, 0.2);
}

.navbar.scrolled .navbar-toggler-icon {
  filter: none;
}

.navbar .nav-link {
  color: #fff;
  font-weight: 500;
  margin-inline: 6px;
  font-size: 1.05rem;
  position: relative;
}

.navbar .nav-link.active {
  color: var(--gold);
  position: relative;
}

.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 60%;
  height: 1px;
  background: var(--gold);
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -6px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.navbar .nav-link:hover::after {
  transform: scaleX(1);
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #fff;
  font-size: 1.15rem;
}

.hero-section {
  position: relative;
  background-image: url("../img/hero-marble.jpeg");
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(179, 146, 95, 0.22), transparent 45%),
    linear-gradient(135deg, rgba(5, 5, 5, 0.86), rgba(15, 15, 15, 0.55));
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.6);
}

.hero-section .container {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-content {
  max-width: 560px;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  color: #e9dfd0;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.hero-features span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--gold-soft);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.12);
  padding: 14px;
  border: 1px solid rgba(179, 146, 95, 0.35);
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  transform: translateY(6px);
}

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

.btn-gold {
  background: var(--gold);
  color: #fff;
  border: 1px solid var(--gold);
}

.btn-gold:hover {
  background: #a07e4b;
  color: #fff;
}

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

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

.image-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.stats-card {
  position: absolute;
  bottom: 18px;
  right: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--gold-soft);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  gap: 8px;
}

.stats-card h4 {
  margin: 0;
  font-weight: 700;
  color: var(--gold);
  font-size: 2rem;
}

.stats-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 600;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.service-list li {
  position: relative;
  padding-right: 24px;
  margin-bottom: 10px;
  color: var(--muted);
}

.service-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.vision-card {
  background: #fff;
  border: 1px solid var(--gold-soft);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.goal-card {
  background: #fff;
  border: 1px solid var(--gold-soft);
  border-radius: 18px;
  padding: 26px;
  text-align: right;
  height: 100%;
  box-shadow: var(--shadow);
}

.goal-card h5 {
  margin-top: 16px;
  font-weight: 700;
}

.goal-card p {
  color: var(--muted);
}

.goal-image {
  border-radius: 12px;
  max-height: 140px;
  object-fit: cover;
  width: 100%;
}

.info-card,
.contact-card {
  background: #fff;
  border: 1px solid var(--gold-soft);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.map-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--gold-soft);
  box-shadow: var(--shadow);
  min-height: 320px;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.contact-card p {
  margin-bottom: 8px;
  color: var(--muted);
}

.contact-card i {
  color: var(--gold);
  margin-left: 8px;
}

.contact-card-header h5 {
  margin-bottom: 6px;
  font-weight: 700;
}

.contact-card-header p {
  margin-bottom: 18px;
  color: var(--muted);
}

.form-card {
  background: #fff;
  border: 1px solid var(--gold-soft);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-card-header h5 {
  margin-bottom: 6px;
  font-weight: 700;
}

.form-card-header p {
  margin-bottom: 18px;
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(179, 146, 95, 0.08);
}

.contact-item i {
  font-size: 1.2rem;
}

.contact-item span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-item strong {
  font-weight: 700;
}

.contact-phone {
  display: block;
  direction: ltr;
  unicode-bidi: bidi-override;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.use-card {
  background: #fff;
  border: 1px solid var(--gold-soft);
  border-radius: 18px;
  padding: 24px;
  text-align: right;
  height: 100%;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.use-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(179, 146, 95, 0.12);
  color: var(--gold);
  font-size: 1.2rem;
}

.use-card h5 {
  margin: 0;
  font-weight: 700;
}

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

.use-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.gallery-grid {
  align-items: stretch;
}

.gallery-card {
  background: #fff;
  border: 1px solid var(--gold-soft);
  border-radius: 18px;
  padding: 12px;
  height: 100%;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.gallery-btn {
  border: none;
  padding: 0;
  background: transparent;
  width: 100%;
  cursor: pointer;
}

.gallery-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  filter: contrast(1.07) saturate(1.06);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.gallery-card:hover .gallery-image {
  transform: scale(1.03);
  filter: contrast(1.1) saturate(1.08);
}

.gallery-modal {
  background: #0f0f0f;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px;
  position: relative;
}

.gallery-modal .btn-close {
  position: absolute;
  top: 14px;
  left: 14px;
  filter: invert(1);
  opacity: 0.8;
  z-index: 2;
}

.gallery-modal img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 12px;
}

.gallery-modal-caption {
  margin: 10px 0 0;
  color: #e9e3d7;
  text-align: center;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.social-links a {
  color: var(--text);
  border: 1px solid var(--gold-soft);
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.social-links a:hover {
  color: #fff;
  background: var(--gold);
}

.footer {
  background: #fff;
  border-top: 1px solid var(--gold-soft);
  padding: 34px 0 26px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand strong {
  display: block;
  font-weight: 700;
}

.footer-brand span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.footer-cta p {
  margin: 0 0 8px;
  color: var(--muted);
}

.footer-divider {
  height: 1px;
  background: rgba(179, 146, 95, 0.2);
  margin: 22px 0;
}

.footer-link {
  margin-left: 10px;
  color: var(--muted);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--gold);
}

.footer-mini-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 54px;
  height: 54px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  z-index: 999;
  text-decoration: none;
}

.whatsapp-float:hover {
  color: #fff;
  background: #1ebd5a;
}

.nav-link:focus-visible,
.btn:focus-visible,
.footer-link:focus-visible,
.social-links a:focus-visible,
.whatsapp-float:focus-visible {
  outline: 3px solid rgba(179, 146, 95, 0.6);
  outline-offset: 3px;
}

form .form-control {
  border-radius: 12px;
  border: 1px solid #e7e2d7;
  padding: 12px 14px;
}

form .form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(179, 146, 95, 0.15);
}

section {
  scroll-margin-top: 90px;
}

@media (max-width: 991px) {
  .navbar {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: none;
  }

  .navbar .nav-link,
  .navbar .brand-text {
    color: var(--text);
  }

  .navbar .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.2);
  }

  .navbar .navbar-toggler-icon {
    filter: none;
  }

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

  .hero-content {
    margin: 0 auto;
  }

  .footer-cta {
    text-align: right;
  }

  .hero-features {
    justify-content: center;
  }

  .stats-card {
    position: static;
    margin-top: 16px;
  }
}

@media (max-width: 1199px) {
  .section {
    padding: 80px 0;
  }

  .hero-card {
    border-radius: 14px;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 70px 0;
  }

  .display-4 {
    font-size: 2.1rem;
  }

  .lead {
    font-size: 1rem;
  }

  .hero-kicker {
    letter-spacing: 1px;
    font-size: 0.8rem;
  }

  .hero-features {
    gap: 8px;
  }

  .hero-features span {
    font-size: 0.85rem;
  }

  .stats-card {
    padding: 14px;
  }

  .info-card,
  .contact-card,
  .vision-card,
  .goal-card,
  .use-card {
    padding: 20px;
  }

  .map-card {
    min-height: 260px;
  }

  .gallery-image {
    height: 210px;
  }
}

@media (max-width: 575px) {
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .section-text {
    font-size: 1rem;
  }

  .btn-lg {
    padding: 10px 18px;
    font-size: 0.95rem;
  }

  .hero-card {
    padding: 8px;
  }

  .whatsapp-float {
    bottom: 16px;
    left: 16px;
    width: 48px;
    height: 48px;
  }

  .gallery-image {
    height: 190px;
  }
}
