/**
 * مطابخ الماسة الألمانية — Style V4
 * Design-token driven  ·  RTL  ·  Dark Luxury  ·  Gold Accent  ·  Fully Responsive
 * ─────────────────────────────────────────────────────────────────────────────────
 * Import order:
 *   1. design-tokens.css  — all CSS custom properties (single source of truth)
 *   2. style.css          — this file (base, components, layouts, utilities)
 */
@import url('design-tokens.css');

/**
 * مطابخ الماسة الألمانية — Style (was V3)
 * Dark Luxury · Gold Accent · RTL · Fully Responsive
 * --------------------------------------------------
 * التحسينات الرئيسية:
 * - نظام متغيرات أكثر دقة وثراءً
 * - تايبوغرافيا محسّنة بـ clamp() وline-height منضبط
 * - Spacing Scale متسق (4px base)
 * - تأثيرات hover أنيقة وغير مبالغ فيها
 * - بطاقات محسّنة بـ glassmorphism خفيف
 * - أزرار محسّنة بـ shimmer effect
 * - Section dividers ذهبية رفيعة
 * - Navbar scrolled behavior أكثر سلاسة
 * - Footer grid محسّن
 * - Print styles أنظف
 */

/* ════════════════════════════════════════════
   1. CSS Custom Properties
   ════════════════════════════════════════════ */
:root {
  /* ─── Gold Palette ─── */
  --gold: #c9a84c;
  --gold-hover: #d9bc72;
  --gold-dark: #9a7530;
  --gold-light: rgba(201, 168, 76, 0.12);
  --gold-glow: rgba(201, 168, 76, 0.22);
  --gold-border: rgba(201, 168, 76, 0.28);
  --gold-subtle: rgba(201, 168, 76, 0.06);

  /* ─── Dark Palette ─── */
  --bg-root: #080808;
  --bg-primary: #0d0d0d;
  --bg-secondary: #111827;
  --bg-card: #141920;
  --bg-card-hover: #1a2130;
  --bg-nav: rgba(8, 8, 8, 0.88);
  --bg-overlay: rgba(8, 8, 8, 0.92);

  /* ─── Text Palette ─── */
  --text-primary: #f0ede6;
  --text-secondary: #c9c5bc;
  --text-muted: #8a8680;
  --text-dark: #0d0d0d;

  /* ─── Borders ─── */
  --border-subtle: rgba(201, 168, 76, 0.1);
  --border-gold: rgba(201, 168, 76, 0.32);
  --border-card: rgba(255, 255, 255, 0.05);

  /* ─── Spacing Scale (4px base) ─── */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-7: 28px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* ─── Border Radius ─── */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;
  --r-pill: 999px;

  /* ─── Shadows ─── */
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 6px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 56px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 6px 28px rgba(201, 168, 76, 0.18);
  --shadow-gold-lg: 0 12px 48px rgba(201, 168, 76, 0.26);

  /* ─── Transitions ─── */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 0.18s;
  --t-base: 0.28s;
  --t-slow: 0.48s;

  /* ─── Typography ─── */
  --font-main: 'Cairo', sans-serif;
  --font-heading: 'Tajawal', sans-serif;
  --font-en: 'Cormorant Garamond', Georgia, serif;
  --lh-tight: 1.3;
  --lh-snug: 1.55;
  --lh-normal: 1.8;
  --lh-relaxed: 2;

  /* ─── Layout ─── */
  --container-max: 1260px;
  --navbar-h: 70px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--navbar-h) + 16px);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: var(--lh-normal);
  overflow-x: hidden;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: var(--gold);
  transition: color var(--t-base) var(--ease);
}
a:hover {
  color: var(--gold-hover);
}

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

ul {
  list-style: none;
}

::selection {
  background: var(--gold);
  color: var(--text-dark);
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-root);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: var(--r-pill);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ─── Focus Accessibility ─── */
*:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--r-xs);
  box-shadow: 0 0 0 4px var(--gold-light);
}

/* ════════════════════════════════════════════
   3. Typography
   ════════════════════════════════════════════ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}
h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
}
h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
}
h4 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

p {
  margin-bottom: var(--sp-4);
  color: var(--text-secondary);
  line-height: var(--lh-normal);
}

/* ════════════════════════════════════════════
   4. Reading Progress
   ════════════════════════════════════════════ */
.reading-progress {
  position: fixed;
  top: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-hover));
  z-index: 9999;
  width: 0;
  transition: width 0.08s linear;
  box-shadow: 0 0 8px var(--gold-glow);
}

/* ════════════════════════════════════════════
   5. Skeleton Loading
   ════════════════════════════════════════════ */
.skeleton {
  background: linear-gradient(
    100deg,
    var(--bg-card) 25%,
    var(--bg-card-hover) 50%,
    var(--bg-card) 75%
  );
  background-size: 200% 100%;
  animation: skeletonShimmer 1.6s ease infinite;
  border-radius: var(--r-sm);
  color: transparent !important;
  pointer-events: none;
}
.skeleton * {
  visibility: hidden;
}

@keyframes skeletonShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* ════════════════════════════════════════════
   6. Toast Notifications
   ════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  bottom: var(--sp-6);
  left: var(--sp-6);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.custom-toast {
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-sm);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: var(--font-main);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  box-shadow: var(--shadow-lg);
  min-width: 290px;
  transform: translateX(-120%);
  opacity: 0;
  transition:
    transform 0.4s var(--ease-spring),
    opacity 0.3s var(--ease);
  backdrop-filter: blur(10px);
}
.custom-toast.show {
  transform: translateX(0);
  opacity: 1;
}

.custom-toast.success {
  background: rgba(16, 185, 129, 0.92);
  border-right: 3px solid #047857;
}
.custom-toast.error {
  background: rgba(239, 68, 68, 0.92);
  border-right: 3px solid #b91c1c;
}
.custom-toast.info {
  background: rgba(59, 130, 246, 0.92);
  border-right: 3px solid #1d4ed8;
}

/* ════════════════════════════════════════════
   7. Buttons
   ════════════════════════════════════════════ */

/* ─── Primary Gold ─── */
.btn-gold {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px 36px;
  border: none;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--gold-hover) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  background-size: 200% auto;
  color: var(--text-dark);
  font-weight: 800;
  font-family: var(--font-main);
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  transition:
    background-position var(--t-slow) var(--ease),
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-base) var(--ease);
  box-shadow: var(--shadow-gold);
  letter-spacing: 0.02em;
}
.btn-gold::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 60%
  );
  transform: translateX(100%);
  transition: transform 0.55s var(--ease);
}
.btn-gold:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-lg);
  color: var(--text-dark);
}
.btn-gold:hover::after {
  transform: translateX(-100%);
}
.btn-gold:active {
  transform: translateY(0);
  box-shadow: var(--shadow-gold);
}

/* ─── Outline Gold ─── */
.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 13px 36px;
  border: 1.5px solid var(--gold);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--gold);
  font-weight: 700;
  font-family: var(--font-main);
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition:
    background var(--t-base) var(--ease),
    color var(--t-base) var(--ease),
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-base) var(--ease);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn-outline-gold:active {
  transform: translateY(0);
}

/* ─── Nav Gold ─── */
.btn-gold-nav {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 9px 22px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.85rem;
  font-family: var(--font-main);
  text-decoration: none;
  transition:
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-base) var(--ease);
}
.btn-gold-nav:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
  color: var(--text-dark);
}

/* ─── Admin ─── */
.btn-admin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  width: 100%;
  padding: 14px 32px;
  border: none;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--text-dark);
  font-weight: 800;
  font-family: var(--font-main);
  font-size: 0.95rem;
  cursor: pointer;
  transition:
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-base) var(--ease);
  box-shadow: var(--shadow-gold);
}
.btn-admin:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-lg);
  color: var(--text-dark);
}

/* ════════════════════════════════════════════
   8. Top Bar
   ════════════════════════════════════════════ */
.top-bar {
  background: var(--bg-root);
  padding: var(--sp-2) 0;
  font-size: 0.8rem;
  border-bottom: 1px solid var(--border-subtle);
}

.top-bar-link {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  transition: color var(--t-base) var(--ease);
}
.top-bar-link:hover {
  color: var(--gold);
}
.top-bar-link i {
  color: var(--gold);
  font-size: 0.72rem;
}
.top-bar-link span {
  font-size: 0.8rem;
}

.top-bar-social {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition:
    color var(--t-base) var(--ease),
    transform var(--t-fast) var(--ease);
  display: inline-flex;
}
.top-bar-social:hover {
  color: var(--gold);
  transform: translateY(-1px);
}

/* ════════════════════════════════════════════
   9. Navbar
   ════════════════════════════════════════════ */
.main-navbar {
  background: var(--bg-nav);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition:
    padding var(--t-base) var(--ease),
    background var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease);
}

.main-navbar.scrolled {
  background: rgba(8, 8, 8, 0.97);
  padding: 8px 0;
  border-bottom-color: var(--border-gold);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

/* ─── Logo ─── */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--gold-hover), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 1.25rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(201, 168, 76, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.logo-sub {
  font-size: 0.68rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.navbar-logo-img {
  height: 44px;
  width: auto;
}

/* ─── Nav Links ─── */
.navbar-nav .nav-link {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 14px !important;
  border-radius: var(--r-sm);
  transition:
    color var(--t-base) var(--ease),
    background var(--t-base) var(--ease);
  position: relative;
  letter-spacing: 0.01em;
}
.navbar-nav .nav-link:hover {
  color: var(--gold);
  background: var(--gold-subtle);
}
.navbar-nav .nav-link.active {
  color: var(--gold);
}
.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 3px;
  right: 14px;
  left: 14px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: var(--r-pill);
}

/* ─── Hamburger ─── */
.navbar-toggler {
  border: none;
  background: transparent;
  padding: var(--sp-2);
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.toggler-bar {
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  border-radius: var(--r-pill);
  transition: all var(--t-base) var(--ease);
  transform-origin: center;
}
.navbar-toggler[aria-expanded='true'] .toggler-bar:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}
.navbar-toggler[aria-expanded='true'] .toggler-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.navbar-toggler[aria-expanded='true'] .toggler-bar:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* ─── Dropdown ─── */
.dropdown-menu {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: var(--sp-2);
  min-width: 210px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}
.dropdown-item {
  color: var(--text-secondary);
  font-size: 0.87rem;
  padding: 9px 16px;
  border-radius: var(--r-sm);
  font-family: var(--font-main);
  transition:
    background var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}
.dropdown-item:hover {
  background: var(--gold-light);
  color: var(--gold);
}
.dropdown-item:active {
  background: var(--gold-light);
}

/* ════════════════════════════════════════════
   10. Hero Slider (Swiper)
   ════════════════════════════════════════════ */
.hero-section {
  position: relative;
}

.hero-swiper {
  width: 100%;
  height: 88vh;
  min-height: 520px;
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left, rgba(8, 8, 8, 0.88) 30%, rgba(8, 8, 8, 0.35)),
    linear-gradient(to top, rgba(8, 8, 8, 0.6) 0%, transparent 50%);
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8%;
  color: #fff;
  max-width: 720px;
}
.hero-slide-content h1 {
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-4);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.02em;
}
.hero-slide-content p {
  font-size: 1.08rem;
  color: rgba(240, 237, 230, 0.82);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-6);
  max-width: 560px;
}

/* Swiper Controls */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  color: var(--gold);
  width: 52px;
  height: 52px;
  background: rgba(8, 8, 8, 0.55);
  backdrop-filter: blur(12px);
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  transition:
    background var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease);
}
.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
  background: var(--gold-light);
  border-color: var(--gold);
}
.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
  font-size: 16px;
  font-weight: 800;
}

.hero-swiper .swiper-pagination-bullet {
  background: var(--gold);
  width: 10px;
  height: 3px;
  border-radius: var(--r-pill);
  opacity: 0.35;
  transition: all var(--t-base) var(--ease);
}
.hero-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  width: 32px;
}

/* ════════════════════════════════════════════
   11. Section Commons
   ════════════════════════════════════════════ */
.services-section,
.gallery-section,
.blog-section,
.contact-section {
  padding: var(--sp-20) 0;
}

/* ─── Section Title ─── */
.section-title {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.section-title .subtitle {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}
.section-title .subtitle::before,
.section-title .subtitle::after {
  content: '';
  width: 36px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.section-title .subtitle::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.section-title .subtitle span {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.section-title h2 {
  font-weight: 900;
  letter-spacing: -0.02em;
}
.section-title p {
  color: var(--text-muted);
  max-width: 580px;
  margin: var(--sp-3) auto 0;
  line-height: var(--lh-relaxed);
}

/* ─── Gold Divider (decorative line between sections) ─── */
.gold-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
}

.hover-lift {
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.hover-zoom img {
  transition: transform var(--t-slow) var(--ease);
}
/* ─── Buttons Shimmer ─── */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}
.btn-shimmer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  transition: none;
}

@media (hover: hover) {
  .hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
  }
  .hover-zoom:hover img {
    transform: scale(1.05);
  }
  .btn-shimmer:hover::before {
    left: 200%;
    transition: left 0.7s ease-in-out;
  }
}
/* ════════════════════════════════════════════
   12. Stats
   ════════════════════════════════════════════ */
.stats-section {
  padding: var(--sp-16) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--gold-subtle), transparent 70%);
  pointer-events: none;
}

.stat-card {
  text-align: center;
  padding: var(--sp-8) var(--sp-6);
  border-radius: var(--r-md);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  transition:
    border-color var(--t-base) var(--ease),
    transform var(--t-base) var(--ease-spring);
  position: relative;
  overflow: hidden;
}
.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform var(--t-slow) var(--ease);
}
@media (hover: hover) {
  .stat-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-5px);
  }
  .stat-card:hover::after {
    transform: scaleX(1);
  }
}

.stat-number {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--gold);
  display: block;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-2);
}
.stat-label {
  color: var(--text-muted);
  font-size: 0.88rem;
  display: block;
  letter-spacing: 0.04em;
}

/* ════════════════════════════════════════════
   13. Service Cards
   ════════════════════════════════════════════ */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--r-md);
  padding: var(--sp-8);
  text-align: center;
  transition:
    transform var(--t-base) var(--ease-spring),
    border-color var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 2px;
  background: var(--gold);
  border-radius: 0 var(--r-md) 0 0;
  transition: width var(--t-slow) var(--ease);
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--gold-subtle), transparent 70%);
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease);
}
@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-gold);
  }
  .service-card:hover::before {
    width: 100%;
  }
  .service-card:hover::after {
    opacity: 1;
  }
  .service-card:hover .service-icon {
    box-shadow: 0 0 0 6px var(--gold-subtle);
    transform: scale(1.06);
  }
}

.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--sp-5);
  border-radius: 50%;
  background: var(--gold-light);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition:
    box-shadow var(--t-base) var(--ease),
    transform var(--t-base) var(--ease-spring);
}
.service-icon i {
  font-size: 1.55rem;
  color: var(--gold);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--sp-3);
  position: relative;
  z-index: 1;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: var(--lh-relaxed);
  position: relative;
  z-index: 1;
}

/* ════════════════════════════════════════════
   14. Gallery
   ════════════════════════════════════════════ */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-8);
}

.filter-btn {
  padding: 8px 22px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background var(--t-base) var(--ease),
    color var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease);
  letter-spacing: 0.02em;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--gold);
  color: var(--text-dark);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-4);
}

.gallery-item {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
  border: 1px solid var(--border-card);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.gallery-item:hover img {
  transform: scale(1.09);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 8, 8, 0.92) 0%,
    rgba(8, 8, 8, 0.2) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-5);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}
.gallery-overlay p {
  color: var(--gold);
  font-size: 0.82rem;
  margin: var(--sp-1) 0 0;
}

/* ─── Lightbox ─── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--t-base) var(--ease),
    visibility var(--t-base) var(--ease);
}
.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--r-sm);
  object-fit: contain;
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: var(--sp-5);
  left: var(--sp-5);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition:
    background var(--t-base) var(--ease),
    color var(--t-base) var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover {
  background: var(--gold);
  color: var(--text-dark);
  border-color: var(--gold);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.1rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease);
}
.lightbox-nav:hover {
  background: var(--gold);
  color: var(--text-dark);
  border-color: var(--gold);
}
.lightbox-prev {
  right: var(--sp-5);
}
.lightbox-next {
  left: var(--sp-5);
}

.lightbox-caption {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.92rem;
  background: rgba(0, 0, 0, 0.65);
  padding: 8px 22px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
}

/* ════════════════════════════════════════════
   15. Hero Image (Reusable)
   ════════════════════════════════════════════ */
.hero-image-main {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
}
.hero-image-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.hero-image-main:hover img {
  transform: scale(1.04);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 6px 18px;
  background: var(--gold-light);
  border: 1px solid var(--border-gold);
  border-radius: var(--r-pill);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ════════════════════════════════════════════
   16. Why Us
   ════════════════════════════════════════════ */
.why-card {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-6);
  border-radius: var(--r-md);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  transition:
    border-color var(--t-base) var(--ease),
    transform var(--t-base) var(--ease-spring),
    box-shadow var(--t-base) var(--ease);
}
.why-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.icon-box {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: var(--r-sm);
  background: var(--gold-light);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  transition:
    transform var(--t-fast) var(--ease-spring),
    background var(--t-base) var(--ease);
}
.why-card:hover .icon-box {
  transform: scale(1.08) rotate(-4deg);
}

/* ════════════════════════════════════════════
   17. Testimonials (Swiper)
   ════════════════════════════════════════════ */
.testimonials-section {
  padding: var(--sp-20) 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, var(--gold-subtle), transparent 70%);
  pointer-events: none;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--r-md);
  padding: var(--sp-8);
  position: relative;
  height: 100%;
  transition: border-color var(--t-base) var(--ease);
}
.testimonial-card:hover {
  border-color: var(--border-gold);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  left: 20px;
  font-size: 4.5rem;
  color: var(--gold-light);
  font-family: Georgia, serif;
  line-height: 1;
  color: var(--gold);
  opacity: 0.2;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.82rem;
  margin-bottom: var(--sp-3);
  letter-spacing: 0.1em;
}
.testimonial-text {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-5);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--sp-4);
}
.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold-light);
  border: 1.5px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.93rem;
}
.testimonial-city {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-top: 2px;
}

.test-pagination {
  text-align: center;
  margin-top: var(--sp-6);
}
.test-pagination .swiper-pagination-bullet {
  background: var(--gold);
}

/* ════════════════════════════════════════════
   18. Areas
   ════════════════════════════════════════════ */
.area-card {
  text-align: center;
  padding: var(--sp-8) var(--sp-5);
  border-radius: var(--r-md);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  transition:
    border-color var(--t-base) var(--ease),
    transform var(--t-base) var(--ease-spring),
    box-shadow var(--t-base) var(--ease);
}
.area-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
}
.area-card i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: var(--sp-3);
  display: block;
}
.area-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--sp-2);
}
.area-card p {
  color: var(--text-muted);
  font-size: 0.84rem;
  margin: 0;
}

/* ════════════════════════════════════════════
   19. Blog Cards
   ════════════════════════════════════════════ */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--r-md);
  overflow: hidden;
  transition:
    transform var(--t-base) var(--ease-spring),
    border-color var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-card-img {
  height: 230px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
@media (hover: hover) {
  .blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-gold);
  }
  .blog-card:hover .blog-card-img img {
    transform: scale(1.07);
  }
}

.blog-card-body {
  padding: var(--sp-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
  font-size: 0.76rem;
  color: var(--text-muted);
}
.blog-card-meta i {
  color: var(--gold);
  margin-left: var(--sp-1);
}

.blog-card-body h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: var(--sp-2);
  line-height: var(--lh-snug);
}
.blog-card-body h3 a {
  color: var(--text-primary);
  transition: color var(--t-base) var(--ease);
}
.blog-card-body h3 a:hover {
  color: var(--gold);
}

.blog-card-body p {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: var(--lh-snug);
  flex: 1;
}

.read-more {
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: auto;
  padding-top: var(--sp-3);
  transition:
    gap var(--t-base) var(--ease),
    color var(--t-base) var(--ease);
}
.read-more:hover {
  gap: var(--sp-3);
  color: var(--gold-hover);
}

/* ─── Tag Pills ─── */
.tag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.tag-pill {
  padding: 4px 14px;
  border-radius: var(--r-pill);
  background: var(--gold-light);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background var(--t-base) var(--ease),
    color var(--t-base) var(--ease);
}
.tag-pill:hover {
  background: var(--gold);
  color: var(--text-dark);
}

/* ════════════════════════════════════════════
   20. TOC (Table of Contents)
   ════════════════════════════════════════════ */
.toc-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: var(--sp-6);
  margin-bottom: var(--sp-8);
  display: none;
}
.toc-wrap h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: var(--sp-4);
  color: var(--gold);
}
.toc-list {
  counter-reset: toc;
}
.toc-list li {
  counter-increment: toc;
  margin-bottom: var(--sp-2);
}
.toc-list li::before {
  content: counter(toc) '. ';
  color: var(--gold);
  font-weight: 700;
}
.toc-list li a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: color var(--t-base) var(--ease);
}
.toc-list li a:hover {
  color: var(--gold);
}
.toc-list .toc-sub {
  padding-right: var(--sp-5);
}

/* ─── Sticky Share ─── */
.sticky-share {
  position: sticky;
  top: calc(var(--navbar-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.sticky-share a,
.sticky-share button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition:
    background var(--t-base) var(--ease),
    color var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    transform var(--t-fast) var(--ease-spring);
}
.sticky-share a:hover,
.sticky-share button:hover {
  background: var(--gold);
  color: var(--text-dark);
  border-color: var(--gold);
  transform: scale(1.1);
}

/* ════════════════════════════════════════════
   21. Contact Form
   ════════════════════════════════════════════ */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--r-md);
  padding: var(--sp-8);
  box-shadow: var(--shadow-sm);
}

.form-control,
.form-select {
  background: var(--bg-secondary) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-primary) !important;
  font-family: var(--font-main);
  border-radius: var(--r-sm) !important;
  font-size: 0.92rem;
  transition:
    border-color var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease) !important;
  padding: 12px 16px !important;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px var(--gold-light) !important;
  background: var(--bg-card) !important;
}
.form-control::placeholder {
  color: var(--text-muted) !important;
}
.form-floating label {
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 0.9rem;
}

.map-wrap {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}
.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* ════════════════════════════════════════════
   22. CTA Section
   ════════════════════════════════════════════ */
.cta-section {
  padding: var(--sp-20) 0;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, #0c1220 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.035'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, var(--gold-subtle), transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  margin-bottom: var(--sp-3);
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}
.cta-section p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: var(--sp-8);
  position: relative;
  z-index: 1;
}
.cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
  position: relative;
  z-index: 1;
}

/* ════════════════════════════════════════════
   23. Page Header
   ════════════════════════════════════════════ */
.page-header {
  padding: 110px 0 64px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.06), transparent 65%);
  pointer-events: none;
}
.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: var(--sp-3);
  position: relative;
  letter-spacing: -0.025em;
}
.page-header p {
  color: var(--text-muted);
  font-size: 1rem;
  position: relative;
}

.breadcrumb-custom {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
  position: relative;
  flex-wrap: wrap;
}
.breadcrumb-custom li {
  color: var(--text-muted);
  font-size: 0.84rem;
}
.breadcrumb-custom li + li::before {
  content: '/';
  margin-left: var(--sp-2);
  color: var(--gold);
  opacity: 0.5;
}
.breadcrumb-custom a {
  color: var(--gold);
}
.breadcrumb-custom a:hover {
  color: var(--gold-hover);
}

/* ════════════════════════════════════════════
   24. Footer
   ════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-root);
  position: relative;
  border-top: 1px solid var(--border-subtle);
}

.footer-wave {
  position: relative;
  margin-bottom: -2px;
  overflow: hidden;
}
.footer-wave svg {
  width: 100%;
  height: 55px;
  display: block;
}

.footer-top {
  padding: var(--sp-12) 0 var(--sp-8);
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--sp-5);
  color: var(--text-primary);
  position: relative;
  padding-bottom: var(--sp-3);
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 36px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-4);
}

.footer-rating {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}
.footer-rating .stars {
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}
.footer-rating span {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.footer-social {
  display: flex;
  gap: var(--sp-2);
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  transition:
    background var(--t-base) var(--ease),
    color var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    transform var(--t-fast) var(--ease-spring);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--text-dark);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.footer-links li {
  margin-bottom: var(--sp-3);
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  transition:
    color var(--t-base) var(--ease),
    padding-right var(--t-base) var(--ease);
}
.footer-links a:hover {
  color: var(--gold);
  padding-right: 5px;
}
.footer-links a i {
  font-size: 0.6rem;
  color: var(--gold);
  opacity: 0.7;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: var(--lh-snug);
}
.footer-contact li i {
  color: var(--gold);
  margin-top: 3px;
  font-size: 0.88rem;
  flex-shrink: 0;
}
.footer-contact a {
  color: var(--text-muted);
  transition: color var(--t-base) var(--ease);
}
.footer-contact a:hover {
  color: var(--gold);
}

.footer-areas h5 {
  font-size: 0.88rem;
  font-weight: 700;
  margin: var(--sp-4) 0 var(--sp-2);
  color: var(--text-secondary);
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.area-tags a {
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.76rem;
  transition:
    background var(--t-base) var(--ease),
    color var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease);
}
.area-tags a:hover {
  background: var(--gold);
  color: var(--text-dark);
  border-color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: var(--sp-5) 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom-links {
  display: flex;
  gap: var(--sp-2);
  align-items: center;
  flex-wrap: wrap;
}
.footer-bottom-links a {
  color: var(--text-muted);
  transition: color var(--t-base) var(--ease);
}
.footer-bottom-links a:hover {
  color: var(--gold);
}
.footer-bottom-links span {
  color: var(--border-subtle);
}

/* ════════════════════════════════════════════
   25. WhatsApp Float + Back to Top
   ════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  font-size: 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.38);
  animation: waPulse 2.4s ease-in-out infinite;
  transition: transform var(--t-fast) var(--ease-spring);
}
.whatsapp-float:hover {
  transform: scale(1.12);
  color: #fff;
  animation-play-state: paused;
}

.wa-tooltip {
  position: absolute;
  bottom: 66px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-family: var(--font-main);
  padding: 6px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease);
  box-shadow: var(--shadow-sm);
}
.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
}

@keyframes waPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.38);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
}

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--text-dark);
  border: none;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity var(--t-base) var(--ease),
    visibility var(--t-base) var(--ease),
    transform var(--t-fast) var(--ease-spring),
    box-shadow var(--t-base) var(--ease);
  box-shadow: var(--shadow-gold);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold-lg);
}

/* ════════════════════════════════════════════
   26. Comments
   ════════════════════════════════════════════ */
.comment-card {
  padding: var(--sp-5);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--r-sm);
  margin-bottom: var(--sp-4);
  transition: border-color var(--t-base) var(--ease);
}
.comment-card:hover {
  border-color: var(--border-subtle);
}
.comment-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--sp-3);
}
.comment-name {
  font-weight: 700;
  font-size: 0.93rem;
}
.comment-date {
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* ════════════════════════════════════════════
   27. Error Page (404)
   ════════════════════════════════════════════ */
.error-page {
  padding: 120px 0;
  text-align: center;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.error-page h1 {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 4px 40px rgba(201, 168, 76, 0.28);
  letter-spacing: -0.05em;
}

/* ════════════════════════════════════════════
   28. Admin Panel
   ════════════════════════════════════════════ */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  padding: var(--sp-5);
}

.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--sp-10);
  width: 100%;
  max-width: 430px;
  box-shadow: var(--shadow-lg);
}

.admin-body {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 260px;
  min-height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-subtle);
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 100;
  overflow-y: auto;
  transition: right var(--t-base) var(--ease);
}

.sidebar-logo {
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 1px solid var(--border-subtle);
}

.admin-sidebar .nav-link {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 12px var(--sp-6);
  color: var(--text-muted);
  font-size: 0.88rem;
  border-radius: 0;
  transition:
    color var(--t-base) var(--ease),
    background var(--t-base) var(--ease);
  font-weight: 500;
}
.admin-sidebar .nav-link i {
  width: 20px;
  text-align: center;
}
.admin-sidebar .nav-link:hover {
  color: var(--gold);
  background: var(--gold-subtle);
}
.admin-sidebar .nav-link.active {
  color: var(--gold);
  background: var(--gold-light);
  border-right: 2.5px solid var(--gold);
  font-weight: 700;
}

.admin-main {
  margin-right: 260px;
  flex: 1;
  padding: var(--sp-8);
  min-height: 100vh;
}

.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--r-md);
  padding: var(--sp-6);
}

.admin-stat {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.stat-icon-sm {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th {
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 12px var(--sp-3);
  text-align: right;
  border-bottom: 1px solid var(--border-subtle);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.admin-table td {
  padding: 12px var(--sp-3);
  font-size: 0.86rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}
.admin-table tr:hover td {
  background: var(--gold-subtle);
}

/* ─── Alert Cards ─── */
.alert-success-custom {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #10b981;
  padding: 12px var(--sp-5);
  border-radius: var(--r-sm);
  font-size: 0.88rem;
}
.alert-error-custom {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #ef4444;
  padding: 12px var(--sp-5);
  border-radius: var(--r-sm);
  font-size: 0.88rem;
}

/* ─── Admin Tabs ─── */
.admin-tabs {
  display: flex;
  gap: var(--sp-1);
  margin-bottom: var(--sp-6);
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
}
.admin-tab {
  padding: 11px var(--sp-5);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition:
    color var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease);
  white-space: nowrap;
}
.admin-tab.active,
.admin-tab:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.tab-pane {
  display: none;
}
.tab-pane.active {
  display: block;
}

/* ════════════════════════════════════════════
   29. Responsive Breakpoints
   ════════════════════════════════════════════ */

/* ── Tablet & Mobile Nav ── */
@media (max-width: 991px) {
  :root {
    --navbar-h: 62px;
  }

  .navbar-collapse {
    position: fixed;
    top: 0;
    right: -100%;
    width: 290px;
    height: 100vh;
    background: rgba(13, 13, 13, 0.7);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 90px var(--sp-6) var(--sp-8);
    z-index: 999;
    transition: right var(--t-base) var(--ease-out);
    overflow-y: auto;
    border-left: 1px solid rgba(255,255,255,0.05);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.4);
  }
  .navbar-collapse.show {
    right: 0;
  }

  .navbar-nav .nav-link {
    padding: 14px 0 !important;
    border-bottom: 1px solid var(--border-subtle);
    border-radius: 0;
  }
  .navbar-nav .nav-link.active::after {
    display: none;
  }

  .btn-gold-nav {
    width: 100%;
    margin-top: var(--sp-4);
    justify-content: center;
  }

  .admin-sidebar {
    right: -280px;
  }
  .admin-sidebar.open {
    right: 0;
  }
  .admin-main {
    margin-right: 0;
  }

  .hero-swiper {
    height: 62vh;
    min-height: 400px;
  }
  .hero-slide-content {
    padding: 0 6%;
  }

  .services-section,
  .gallery-section,
  .blog-section,
  .contact-section,
  .testimonials-section {
    padding: var(--sp-12) 0;
  }
}

/* ── Mobile ── */
@media (max-width: 576px) {
  .hero-swiper {
    height: 52vh;
    min-height: 320px;
  }
  .hero-slide-content h1 {
    font-size: 1.55rem;
  }
  .hero-slide-content p {
    font-size: 0.92rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }
  .stat-number {
    font-size: 1.9rem;
  }
  .footer-social a {
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
  }

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }
  .btn-gold,
  .btn-outline-gold {
    width: 100%;
    justify-content: center;
  }

  .contact-form-wrap {
    padding: var(--sp-5);
  }
  .login-card {
    padding: var(--sp-6);
  }

  .hero-image-main img {
    height: 260px;
  }
}

/* ════════════════════════════════════════════
   30. Print Styles
   ════════════════════════════════════════════ */
@media print {
  .top-bar,
  .main-navbar,
  .whatsapp-float,
  .back-to-top,
  .reading-progress,
  .site-footer,
  .cta-section,
  .lightbox-overlay,
  .gallery-filters,
  .sticky-share {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #111 !important;
  }
  .page-header {
    background: #fff !important;
    padding: 20px 0 !important;
    border: none !important;
  }
  .page-header h1,
  h1,
  h2,
  h3 {
    color: #111 !important;
  }

  .service-card,
  .blog-card,
  .admin-card,
  .why-card,
  .area-card,
  .stat-card,
  .testimonial-card,
  .comment-card {
    background: #fff !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    break-inside: avoid;
  }

  a {
    color: #333 !important;
  }
  p,
  .testimonial-text,
  .footer-desc {
    color: #444 !important;
  }
}

/* ════════════════════════════════════════════
   31. Enhanced Gallery Grid
   ════════════════════════════════════════════ */

/* Responsive masonry-like columns */
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  /* Tall items to create masonry illusion */
  .gallery-item:nth-child(3n+1) {
    grid-row: span 1;
  }
  .gallery-item:nth-child(5),
  .gallery-item:nth-child(8) {
    grid-row: span 2;
  }
}

/* Gallery image loaded state */
.gallery-item img.loaded {
  opacity: 1;
}

/* Gallery filter group spacing */
.gallery-filters {
  gap: var(--sp-2);
  margin-bottom: var(--sp-10);
}
.gallery-filters .filter-btn i {
  margin-left: var(--sp-1);
  font-size: 0.78rem;
}

/* ════════════════════════════════════════════
   32. Service Detail Row
   ════════════════════════════════════════════ */
.service-detail-row {
  padding: var(--sp-10) 0;
  border-bottom: 1px solid var(--border-subtle);
}
.service-detail-row:last-child {
  border-bottom: none;
}

/* Feature checklist grid responsive */
.service-detail-row ul[aria-label] {
  grid-template-columns: 1fr;
}
@media (min-width: 576px) {
  .service-detail-row ul[aria-label] {
    grid-template-columns: 1fr 1fr;
  }
}

/* ════════════════════════════════════════════
   33. Enhanced Page Header
   ════════════════════════════════════════════ */
.page-header {
  padding-top: calc(var(--navbar-h) + 48px);
}
.page-header h1 .highlight,
.page-header h1 span[style*="color:var(--gold)"] {
  background: linear-gradient(135deg, var(--gold-hover), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ════════════════════════════════════════════
   34. Contact Form Enhancements
   ════════════════════════════════════════════ */

/* Form field focus ring */
.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px var(--gold-light) !important;
}

/* Floating label colour */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-select:focus ~ label {
  color: var(--gold) !important;
}

/* Select arrow on RTL */
.form-select {
  background-position: left .75rem center !important;
}

/* ════════════════════════════════════════════
   35. Gallery Lightbox Improvements
   ════════════════════════════════════════════ */
.lightbox-overlay {
  /* improve cross-browser performance */
  will-change: opacity;
}
.lightbox-img {
  /* prevent layout paint on load */
  will-change: transform;
  border-radius: var(--r-md);
}

/* ════════════════════════════════════════════
   36. Scroll-to-top & WhatsApp Float Refinement
   ════════════════════════════════════════════ */

/* Ensure the two buttons don't overlap */
@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 80px; /* stack above back-to-top on narrow screens */
    left: 16px;
  }
  .back-to-top {
    bottom: 16px;
    right: 16px;
  }
}

/* ════════════════════════════════════════════
   37. Navbar Mobile Enhancement
   ════════════════════════════════════════════ */

/* Ensure close-overlay (body::after from JS) sits below nav panel */
@media (max-width: 991px) {
  body.nav-open .header-wrapper {
    position: relative;
    z-index: 1001;
  }
}

/* Focus trap: highlight focused nav link more */
.navbar-nav .nav-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

/* ════════════════════════════════════════════
   38. Responsive Typography Refinements
   ════════════════════════════════════════════ */
@media (max-width: 375px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.15rem; }

  .section-title {
    margin-bottom: var(--sp-8);
  }
  .btn-gold,
  .btn-outline-gold {
    font-size: 0.88rem;
    padding: 12px 24px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .service-detail-row .col-lg-6 {
    text-align: center;
  }
  .why-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .why-card .icon-box {
    margin-bottom: var(--sp-3);
  }
}

/* ════════════════════════════════════════════
   39. Image Lazy-load Skeleton Placeholder
   ════════════════════════════════════════════ */
img[data-src] {
  background: linear-gradient(
    100deg,
    var(--bg-card) 25%,
    var(--bg-card-hover) 50%,
    var(--bg-card) 75%
  );
  background-size: 200% 100%;
  animation: skeletonShimmer 1.6s ease infinite;
  min-height: 100px;
}
img.loaded {
  background: none;
  animation: none;
}

/* ════════════════════════════════════════════
   40. Gold Gradient Heading Text
       Usage: <span class="text-gold-gradient">…</span>
   ════════════════════════════════════════════ */
.text-gold-gradient {
  background: linear-gradient(135deg, var(--gold-hover) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

/* ════════════════════════════════════════════
   41. Utility — Screen-reader only
   ════════════════════════════════════════════ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ════════════════════════════════════════════
   42. Pagination Enhancement
   ════════════════════════════════════════════ */
.pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: var(--sp-10);
}
.pagination {
  display: flex;
  gap: var(--sp-2);
  padding: 0;
  margin: 0;
}
.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-family: var(--font-body);
  text-decoration: none;
  transition:
    background var(--t-base) var(--ease),
    color var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease);
}
.page-btn:hover,
.page-btn.active {
  background: var(--gold);
  color: var(--text-dark);
  border-color: var(--gold);
  font-weight: 700;
}

/* ════════════════════════════════════════════
   43. Large Screen (1440px) Container Boost
   ════════════════════════════════════════════ */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
  .hero-swiper {
    height: 92vh;
  }
}

/* ════════════════════════════════════════════
   44. Section alternating backgrounds
   ════════════════════════════════════════════ */
.services-section:nth-of-type(odd) {
  background: var(--bg-primary);
}
.services-section:nth-of-type(even) {
  background: var(--bg-secondary);
}

