/* ===== CSS Variables ===== */
:root {
  --burgundy: #8B0000;
  --burgundy-dark: #6B0000;
  --burgundy-light: #A52020;
  --gold: #D4AF37;
  --gold-light: #E8C860;
  --gold-pale: #F5EDD6;
  --ivory: #FFFEF7;
  --cream: #FFF8F0;
  --card-bg: #FFFAF3;
  --text-dark: #2C1810;
  --text-muted: #6B5B50;
  --white: #FFFFFF;
  --shadow: 0 4px 24px rgba(139, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(139, 0, 0, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --font-ar: 'Cairo', sans-serif;
  --font-en: 'Cairo', sans-serif;
  --font-display: 'Playfair Display', serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-ar);
  background: linear-gradient(135deg, var(--burgundy) 0%, #5C0010 40%, var(--burgundy-dark) 100%);
  background-attachment: fixed;
  color: var(--text-dark);
  line-height: 1.7;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(139, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--gold);
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
}

.logo-icon {
  font-size: 1.4rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 0.4rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.lang-toggle:hover {
  background: var(--gold);
  color: var(--burgundy-dark);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== Side Navigation ===== */
.side-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}

.side-nav.open {
  pointer-events: auto;
}

.side-nav-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity var(--transition);
}

.side-nav.open .side-nav-overlay {
  opacity: 1;
}

.side-nav-panel {
  position: absolute;
  top: 0;
  width: 280px;
  height: 100%;
  background: linear-gradient(180deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
  border-inline-start: 3px solid var(--gold);
  padding: 2rem 1.5rem;
  transform: translateX(100%);
  transition: transform var(--transition);
  overflow-y: auto;
}

[dir="rtl"] .side-nav-panel {
  right: 0;
  transform: translateX(100%);
}

[dir="ltr"] .side-nav-panel {
  left: auto;
  right: 0;
  transform: translateX(100%);
}

.side-nav.open .side-nav-panel {
  transform: translateX(0);
}

.side-nav-close {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  background: none;
  color: var(--gold);
  font-size: 2rem;
  line-height: 1;
}

.nav-links {
  list-style: none;
  margin-top: 3rem;
}

.nav-links li {
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.nav-links a {
  display: block;
  padding: 1rem 0;
  color: var(--ivory);
  font-size: 1.1rem;
  font-weight: 600;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--gold);
  padding-inline-start: 0.5rem;
}

/* ===== Hero ===== */
.hero {
  padding: 4rem 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(139, 0, 0, 0.3) 0%, transparent 100%);
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--gold-light);
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  color: var(--ivory);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  text-align: center;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--burgundy-dark);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-burgundy {
  background: var(--burgundy);
  color: var(--ivory);
  border: 2px solid var(--gold);
}

.btn-burgundy:hover {
  background: var(--burgundy-light);
}

.btn-call {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  width: 100%;
  padding: 0.85rem;
  border-radius: var(--radius);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-call:hover {
  filter: brightness(1.1);
}

.btn-copy {
  background: var(--gold-pale);
  color: var(--burgundy);
  border: 1px solid var(--gold);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-copy.copied {
  background: #25D366;
  color: white;
  border-color: #25D366;
}

.btn-read-more {
  background: transparent;
  color: var(--burgundy);
  border: 2px solid var(--burgundy);
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: 0.75rem;
  transition: var(--transition);
}

.btn-read-more:hover {
  background: var(--burgundy);
  color: var(--ivory);
}

/* ===== Info Sections ===== */
.info-section {
  padding: 3rem 0;
}

.info-section.alt-bg {
  background: rgba(255, 254, 247, 0.05);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--gold-light);
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.info-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--text-dark);
}

.price-highlights {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.price-highlight {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 1rem;
  background: var(--gold-pale);
  border-radius: var(--radius);
  border: 1px solid var(--gold);
}

.ph-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.ph-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--burgundy);
  font-family: var(--font-display);
}

.ph-unit {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hours-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--cream);
  border-radius: var(--radius);
  border-inline-start: 4px solid var(--gold);
}

.hours-item.highlight {
  background: var(--gold-pale);
  border-inline-start-color: var(--burgundy);
}

.hours-day {
  font-weight: 600;
}

.hours-time {
  color: var(--burgundy);
  font-weight: 700;
}

.location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.location-tags span {
  background: var(--gold-pale);
  color: var(--burgundy);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

/* ===== Profiles Section ===== */
.profiles-section {
  padding: 3rem 0 4rem;
}

.profiles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* ===== Profile Card ===== */
.profile-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(212, 175, 55, 0.3);
}

.profile-header {
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-light);
  font-weight: 700;
}

.status-badge {
  background: rgba(37, 211, 102, 0.2);
  color: #25D366;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(37, 211, 102, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.profile-body {
  padding: 1.25rem;
}

/* Gallery */
.gallery {
  margin-bottom: 1.25rem;
}

.gallery-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  margin-bottom: 0.75rem;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.gallery-main:hover img {
  transform: scale(1.03);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.gallery-thumb {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--gold);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contact Section */
.contact-section {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.phone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 0.75rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gold-pale);
}

.phone-number {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--burgundy);
  direction: ltr;
  unicode-bidi: embed;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transition: var(--transition);
  color: white;
}

.social-icon.whatsapp { background: #25D366; }
.social-icon.telegram { background: #0088CC; }
.social-icon.viber { background: #7360F2; }

.social-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Price Table */
.price-table-wrap {
  overflow-x: auto;
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 320px;
}

.price-table thead {
  background: var(--burgundy);
  color: var(--gold-light);
}

.price-table th,
.price-table td {
  padding: 0.65rem 0.75rem;
  text-align: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.price-table tbody tr:nth-child(even) {
  background: var(--gold-pale);
}

.price-table tbody tr:hover {
  background: rgba(212, 175, 55, 0.2);
}

.price-table .price-cell {
  font-weight: 700;
  color: var(--burgundy);
}

.subsection-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
}

/* Bio */
.profile-bio {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  background: var(--cream);
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.info-item {
  display: flex;
  flex-direction: column;
  padding: 0.4rem 0;
}

.info-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
}

/* Services */
.services-list {
  list-style: none;
  margin-bottom: 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
}

.services-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.services-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(212, 175, 55, 0.6);
}

/* Safety Box */
.safety-box {
  background: linear-gradient(135deg, #FFF5F5 0%, #FFEBEB 100%);
  border: 2px solid var(--burgundy);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

.safety-box .warning-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.safety-box p {
  font-size: 0.85rem;
  color: var(--burgundy-dark);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.safety-box .btn-burgundy {
  width: 100%;
  padding: 0.75rem;
}

/* ===== Footer ===== */
.site-footer {
  background: rgba(0, 0, 0, 0.3);
  padding: 2rem 1rem;
  text-align: center;
  color: var(--ivory);
  border-top: 2px solid var(--gold);
}

.footer-disclaimer {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 0.5rem;
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(139, 0, 0, 0.8);
  color: var(--gold);
  border: 2px solid var(--gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close {
  top: 1rem;
  inset-inline-end: 1rem;
}

.lightbox-prev {
  inset-inline-start: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  inset-inline-end: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--gold);
  color: var(--burgundy);
}

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.modal-content {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  inset-inline-end: 1rem;
  background: none;
  font-size: 1.5rem;
  color: var(--text-muted);
}

.modal-content h3 {
  color: var(--burgundy);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.modal-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--burgundy);
  color: var(--gold-light);
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  border: 1px solid var(--gold);
  font-weight: 600;
  z-index: 400;
  opacity: 0;
  transition: all 0.4s ease;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ===== Responsive: Tablet+ ===== */
@media (min-width: 640px) {
  .profiles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .profiles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0.75rem;
    align-items: start;
  }

  .gallery-main {
    margin-bottom: 0;
    grid-row: span 2;
    aspect-ratio: 3/4;
  }

  .gallery-thumbs {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .gallery-thumb {
    aspect-ratio: 16/10;
  }

  .hours-grid {
    flex-direction: row;
  }

  .hours-item {
    flex: 1;
  }
}

@media (min-width: 1280px) {
  .info-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ===== LTR Adjustments ===== */
[dir="ltr"] body {
  font-family: var(--font-en);
}

[dir="ltr"] .nav-links a:hover {
  padding-inline-start: 0;
  padding-inline-end: 0.5rem;
}
