/* ============================================================
   DAR AL KARAMA CENTER — Main Stylesheet
   Colors: Navy #1B3A8A | Red #CC2929 | Gold #C9A84C
   Supports: Dark/Light Mode | LTR/RTL | Mobile-First
   ============================================================ */

/* ─── CSS Custom Properties ─────────────────────────────── */
:root {
  /* Brand */
  --navy:        #1B3A8A;
  --navy-dark:   #122870;
  --navy-light:  #2A5AB5;
  --red:         #CC2929;
  --red-dark:    #A81F1F;
  --gold:        #C9A84C;
  --gold-light:  #E8C96B;
  --gold-dark:   #A8872A;

  /* Jaman brand */
  --jaman-primary:   #D4451A;
  --jaman-secondary: #E8743A;

  /* Light Mode (default) */
  --bg:          #F8F7F4;
  --bg-alt:      #EEECEA;
  --surface:     #FFFFFF;
  --surface-2:   #F3F1EE;
  --border:      rgba(27,58,138,0.12);
  --text-1:      #1A1A2E;
  --text-2:      #3D4068;
  --text-3:      #6B6F8A;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:   0 8px 24px rgba(0,0,0,0.1);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.14);

  /* Typography */
  --font-en:     'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-ar:     'Cairo', 'Noto Sans Arabic', 'Segoe UI', sans-serif;
  --font:        var(--font-en);

  /* Spacing */
  --nav-h:       72px;
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   40px;

  /* Transitions */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --transition:  0.3s var(--ease);
}

[data-theme="dark"] {
  --bg:        #0B0E1A;
  --bg-alt:    #0F1220;
  --surface:   #141726;
  --surface-2: #1A1E30;
  --border:    rgba(201,168,76,0.12);
  --text-1:    #F0EDE8;
  --text-2:    #B8BAD0;
  --text-3:    #8890B0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.5);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.7);
}

/* ─── RTL Support ─────────────────────────────────────────── */
[dir="rtl"] {
  --font: var(--font-ar);
  text-align: right;
}

[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .hero-cta  { flex-direction: row-reverse; }
[dir="rtl"] .feature-card-icon { margin-left: auto; margin-right: 0; }

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

[dir="rtl"] body { font-family: var(--font-ar); }

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

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

/* ─── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-1);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  color: var(--text-2);
  line-height: 1.75;
}

/* ─── Utility Classes ─────────────────────────────────────── */
.container {
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.section-title {
  margin-bottom: 1rem;
}

.section-title span {
  background: linear-gradient(135deg, var(--navy), var(--red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="dark"] .section-title span {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-3);
  max-width: 56ch;
  margin: 0 auto;
}

.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-navy   { color: var(--navy); }
.text-red    { color: var(--red); }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font);
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition);
}

.btn:hover::before { background: rgba(255,255,255,0.08); }

.btn-primary {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff;
  box-shadow: 0 4px 20px rgba(27,58,138,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(27,58,138,0.5);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #fff;
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.5);
}

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

.btn-outline:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: rgba(27,58,138,0.05);
}

[data-theme="dark"] .btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.05);
}

.btn-red {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: #fff;
  box-shadow: 0 4px 20px rgba(204,41,41,0.35);
}

.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(204,41,41,0.5);
}

.btn-sm { padding: 10px 22px; font-size: 0.875rem; }
.btn-lg { padding: 18px 42px; font-size: 1rem; }

/* ─── Navigation ──────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(248,247,244,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

[data-theme="dark"] .navbar {
  background: rgba(11,14,26,0.85);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  /* Logo is transparent PNG — no inversion needed */
}

/* In dark mode brighten slightly so it remains visible on dark nav */
[data-theme="dark"] .nav-logo-img {
  filter: brightness(1.15) drop-shadow(0 0 6px rgba(255,255,255,0.15));
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
}

[data-theme="dark"] .nav-logo-name { color: var(--gold); }

.nav-logo-tagline {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  background: rgba(27,58,138,0.08);
}

[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.active {
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all var(--transition);
  font-family: var(--font-en);
}

.nav-btn:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: rgba(27,58,138,0.06);
}

[data-theme="dark"] .nav-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.nav-btn-lang {
  letter-spacing: 0.02em;
  min-width: 42px;
  font-size: 0.75rem;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all var(--transition);
  padding: 0;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  z-index: 999;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  box-shadow: var(--shadow-lg);
}

.nav-mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
  display: block;
}

.nav-mobile a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text-1);
  transition: all var(--transition);
  border-bottom: 1px solid var(--border);
}

.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--navy); background: rgba(27,58,138,0.06); }

[data-theme="dark"] .nav-mobile a:hover { color: var(--gold); background: rgba(201,168,76,0.06); }

/* ─── Hero Section ────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
  background: var(--bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.52;
  filter: saturate(0.75) brightness(1.0);
  transition: opacity 0.6s ease;
}

[data-theme="dark"] .hero-bg-img {
  opacity: 0.38;
  filter: saturate(0.55) brightness(0.85);
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  /* Light overlay — lets the building shine through while keeping text readable */
  background:
    linear-gradient(
      160deg,
      rgba(248, 247, 244, 0.58) 0%,
      rgba(235, 240, 252, 0.42) 35%,
      rgba(218, 228, 248, 0.30) 60%,
      rgba(248, 247, 244, 0.55) 100%
    );
}

[data-theme="dark"] .hero-bg-gradient {
  background:
    linear-gradient(
      160deg,
      rgba(11, 14, 26, 0.75) 0%,
      rgba(20, 28, 60, 0.58) 40%,
      rgba(27, 42, 90, 0.42) 65%,
      rgba(11, 14, 26, 0.72) 100%
    );
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.15; }
  90%  { opacity: 0.15; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: 100%;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold-dark);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s var(--ease) both;
}

[data-theme="dark"] .hero-badge { color: var(--gold-light); }

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s 0.1s var(--ease) both;
}

.hero-title .line-1 { display: block; color: var(--text-1); }
.hero-title .line-2 {
  display: block;
  background: linear-gradient(135deg, var(--navy) 0%, var(--red) 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200%;
  animation: gradientShift 6s ease-in-out infinite, fadeInUp 0.8s 0.2s var(--ease) both;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-desc {
  font-size: clamp(0.975rem, 1.5vw, 1.1rem);
  color: var(--text-2);
  margin-bottom: 2.5rem;
  max-width: 50ch;
  line-height: 1.8;
  animation: fadeInUp 0.8s 0.3s var(--ease) both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.4s var(--ease) both;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  animation: fadeInUp 0.8s 0.5s var(--ease) both;
}

.hero-stat { text-align: left; }

[dir="rtl"] .hero-stat { text-align: right; }

.hero-stat-num {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 2px;
}

[data-theme="dark"] .hero-stat-num { color: var(--gold); }

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: clamp(350px, 50vw, 560px);
  animation: fadeInRight 1s 0.2s var(--ease) both;
}

.hero-img-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}

.hero-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.hero-img-card:hover img { transform: scale(1.05); }

.hero-img-card:first-child {
  grid-row: 1 / 3;
  border-radius: var(--radius-lg);
}

.hero-img-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(27,58,138,0.9);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.15);
}

[dir="rtl"] .hero-img-badge { left: auto; right: 12px; }

/* ─── Scroll Indicator ──────────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-3);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeIn 1s 1s var(--ease) both;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid var(--border);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 7px;
  background: var(--text-3);
  border-radius: 2px;
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ─── Announcement Bar ─────────────────────────────────────── */
.announcement-bar {
  background: linear-gradient(90deg, var(--navy), var(--navy-light), var(--navy));
  background-size: 200%;
  animation: gradientShift 8s ease-in-out infinite;
  color: #fff;
  text-align: center;
  padding: 10px 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1001;
}

.announcement-bar strong { color: var(--gold-light); }

/* ─── Trust Bar ───────────────────────────────────────────── */
.trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
  overflow: hidden;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 4rem);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 600;
}

.trust-icon {
  width: 36px;
  height: 36px;
  background: rgba(27,58,138,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

[data-theme="dark"] .trust-icon { background: rgba(201,168,76,0.08); }

/* ─── About Section ─────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-img-accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 55%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 4px solid var(--surface);
  box-shadow: var(--shadow-md);
}

[dir="rtl"] .about-img-accent { right: auto; left: -1.5rem; }

.about-badge {
  position: absolute;
  top: 1.5rem;
  left: -1rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
}

[dir="rtl"] .about-badge { left: auto; right: -1rem; }

.about-badge-num {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
}

.about-badge-text {
  font-size: 0.7rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.about-content { padding: 1rem 0; }

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about-value {
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.about-value:hover {
  border-color: var(--navy);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .about-value:hover { border-color: var(--gold); }

.about-value-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.about-value h4 {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.about-value p {
  font-size: 0.8rem;
  color: var(--text-3);
  line-height: 1.5;
}

/* ─── Services / Categories Section ─────────────────────────── */
.services-bg {
  background: var(--bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease);
  position: relative;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid transparent;
  transition: border-color var(--transition);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::after { border-color: var(--navy); }
[data-theme="dark"] .service-card:hover::after { border-color: var(--gold); }

.service-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.service-card:hover .service-img { transform: scale(1.05); }

.service-content {
  padding: 1.5rem;
}

.service-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.service-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.service-card p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-3);
  margin-bottom: 1rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  transition: gap var(--transition);
}

[data-theme="dark"] .service-link { color: var(--gold); }

.service-card:hover .service-link { gap: 12px; }

/* ─── Features Section ──────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--red));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(27,58,138,0.1), rgba(204,41,41,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem;
  transition: all var(--transition);
}

[data-theme="dark"] .feature-icon {
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(232,116,58,0.08));
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  box-shadow: 0 8px 24px rgba(27,58,138,0.3);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-3);
}

/* ─── Collections / Brands ──────────────────────────────────── */
.brands-section {
  background: var(--surface);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.brand-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}

.brand-card:hover {
  border-color: var(--navy);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .brand-card:hover { border-color: var(--gold); }

.brand-card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.brand-card h4 { font-size: 0.9rem; font-weight: 700; }
.brand-card p { font-size: 0.78rem; color: var(--text-3); margin-top: 4px; }

/* ─── Testimonials ──────────────────────────────────────────── */
.testimonials-bg { background: var(--bg-alt); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: all var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-quote {
  font-size: 3rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.4;
  font-family: Georgia, serif;
  margin-bottom: 0.5rem;
}

.testimonial-text {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-2);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-3);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* ─── FAQ Section ──────────────────────────────────────────── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item.open { border-color: var(--navy); }
[data-theme="dark"] .faq-item.open { border-color: var(--gold); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-1);
  text-align: left;
  font-family: var(--font);
  transition: color var(--transition);
}

[dir="rtl"] .faq-question { text-align: right; }

.faq-item.open .faq-question { color: var(--navy); }
[data-theme="dark"] .faq-item.open .faq-question { color: var(--gold); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: all var(--transition);
  color: var(--text-3);
}

.faq-item.open .faq-icon {
  background: var(--navy);
  color: #fff;
  transform: rotate(45deg);
}

[data-theme="dark"] .faq-item.open .faq-icon { background: var(--gold); color: #000; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding var(--transition);
  padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-2);
}

/* ─── Contact Section ───────────────────────────────────────── */
.contact-bg { background: var(--bg-alt); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  row-gap: clamp(1.5rem, 3vw, 2rem);
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.contact-item:hover {
  border-color: var(--navy);
  transform: translateX(4px);
}

[dir="rtl"] .contact-item:hover { transform: translateX(-4px); }
[data-theme="dark"] .contact-item:hover { border-color: var(--gold); }

.contact-item-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: #fff;
}

.contact-item-text strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
  margin-bottom: 2px;
}

.contact-item-text span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-1);
}

.contact-maps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-map-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  transition: all var(--transition);
}

[data-theme="dark"] .contact-map-link { color: var(--gold); }
.contact-map-link:hover { border-color: currentColor; transform: translateX(4px); }
[dir="rtl"] .contact-map-link:hover { transform: translateX(-4px); }

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}

.contact-form-card h3 { margin-bottom: 1.5rem; }

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-family: var(--font);
  color: var(--text-1);
  transition: all var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,58,138,0.1);
  background: var(--surface);
}

[data-theme="dark"] .form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

.form-input::placeholder { color: var(--text-3); }

textarea.form-input {
  resize: vertical;
  min-height: 130px;
}

/* ─── Gallery Preview ───────────────────────────────────────── */
.gallery-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-preview-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1/1;
  cursor: pointer;
  position: relative;
}

.gallery-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-preview-item::after {
  content: '🔍';
  position: absolute;
  inset: 0;
  background: rgba(27,58,138,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-preview-item:hover img { transform: scale(1.1); }
.gallery-preview-item:hover::after { opacity: 1; }

/* ─── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy), var(--navy-light));
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::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='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner-inner { position: relative; z-index: 1; }

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

.cta-banner h2 span { color: var(--gold-light); }

.cta-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 50ch;
  margin: 0 auto 2.5rem;
}

.cta-banner-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background: #fff;
  color: var(--navy);
  font-weight: 700;
}

.btn-white:hover {
  background: var(--gold-light);
  color: var(--navy-dark);
  transform: translateY(-2px);
}

/* ─── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-3);
  line-height: 1.7;
  max-width: 30ch;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-2);
  transition: all var(--transition);
  text-decoration: none;
}

.footer-social-link:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: translateY(-3px);
}

[data-theme="dark"] .footer-social-link:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-1);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-3);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover { color: var(--navy); }
[data-theme="dark"] .footer-links a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--text-2);
  align-items: flex-start;
}

.footer-contact-item .ico {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom-text {
  font-size: 0.8rem;
  color: var(--text-3);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-3);
  transition: color var(--transition);
}

.footer-bottom-links a:hover { color: var(--navy); }
[data-theme="dark"] .footer-bottom-links a:hover { color: var(--gold); }

/* ─── Page Header (inner pages) ────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
  padding: calc(var(--nav-h) + 3rem) 0 5.5rem;
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 0;
  pointer-events: none;
}

.page-header-inner { position: relative; z-index: 2; text-align: center; }

.page-header h1 { color: #fff; }
.page-header p { color: rgba(255,255,255,0.75); max-width: 55ch; margin: 1rem auto 0; }

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}

.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { text-decoration: underline; }

/* ─── Gallery Grid (gallery.html) ───────────────────────────── */
.gallery-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
  letter-spacing: 0.03em;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

[data-theme="dark"] .filter-btn:hover,
[data-theme="dark"] .filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

.gallery-masonry {
  columns: 4;
  column-gap: 1rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.5s var(--ease);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,58,138,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(8px);
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform var(--transition);
}

.lightbox.open img { transform: scale(1); }

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ─── Animations ──────────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Scroll-triggered animations
   ─── Progressive enhancement: visible by default, hidden only when JS is active ─── */
.reveal,
.reveal-left,
.reveal-right {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

/* Only hide elements once JS has confirmed it's running */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(30px);
}
.js-ready .reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}
.js-ready .reveal-right {
  opacity: 0;
  transform: translateX(40px);
}

/* Revealed state */
.reveal.revealed,
.js-ready .reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left.revealed,
.js-ready .reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right.revealed,
.js-ready .reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Counter animation */
.counter-num { display: inline-block; }

/* ─── Jaman Page Specific ──────────────────────────────────── */
.jaman-hero {
  background: linear-gradient(135deg, #1a0a05 0%, #2d1200 40%, #1a0a05 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

.jaman-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(212,69,26,0.2) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(232,116,58,0.1) 0%, transparent 50%);
}

.jaman-logo-hero {
  max-width: 200px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 30px rgba(212,69,26,0.5));
}

.jaman-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.jaman-title .accent {
  background: linear-gradient(135deg, var(--jaman-secondary), var(--jaman-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.jaman-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.7);
  max-width: 50ch;
  margin-bottom: 2.5rem;
}

.jaman-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.jaman-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(212,69,26,0.15);
  border-color: var(--jaman-primary);
}

/* ─── Appliances Page ───────────────────────────────────────── */
.appliances-category {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}

.appliances-category:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy);
}

[data-theme="dark"] .appliances-category:hover { border-color: var(--gold); }

.appliances-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

/* ─── Loading Skeleton ──────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--surface-2) 25%, var(--bg-alt) 50%, var(--surface-2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

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

/* ─── Back to Top ───────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 999;
}

[dir="rtl"] .back-to-top { right: auto; left: 2rem; }

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-accent { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-masonry { columns: 3; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-stats { gap: 1.5rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .gallery-masonry { columns: 2; }
  .cta-banner-btns { flex-direction: column; align-items: center; }
  .about-values { grid-template-columns: 1fr; }

  /* Hide hero photo grid and scroll indicator on mobile */
  .hero-visual { display: none !important; }
  .scroll-indicator { display: none; }

  /* Hero: remove bottom padding reserved for scroll indicator */
  .hero { padding-bottom: 2rem; }

  /* Trust bar: 2-column grid on mobile */
  .trust-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
    justify-items: start;
  }
}

@media (max-width: 480px) {
  :root { --nav-h: 64px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .gallery-masonry { columns: 1; }
  .trust-bar-inner { gap: 0.75rem; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }

  /* Single column trust bar on very small screens */
  .trust-bar-inner { grid-template-columns: 1fr; }
}

/* ─── Focus Styles (Accessibility) ─────────────────────────── */
:focus-visible {
  outline: 2.5px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}

[data-theme="dark"] :focus-visible { outline-color: var(--gold); }

/* ─── Reduced Motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}

/* ─── Print ─────────────────────────────────────────────────── */
@media print {
  .navbar, .back-to-top, .announcement-bar { display: none; }
  .hero { min-height: auto; padding: 2rem 0; }
}
