/* ==========================================================================
   GAIASTONE LUXURY STONE ARCHIVE & PDF CATALOG SYSTEM - STYLESHEET
   Aesthetics: Architectural Dark Onyx, Metallic Gold & Frosted Glassmorphism
   ========================================================================== */

:root {
  --bg-primary: #1b263b;
  --bg-secondary: #23314d;
  --bg-tertiary: #2b3d5e;
  --bg-card: rgba(33, 47, 72, 0.90);
  --bg-card-hover: rgba(42, 60, 92, 0.96);
  
  --gold-primary: #d4af37;
  --gold-light: #f3e5ab;
  --gold-dark: #997a1d;
  --gold-glow: rgba(212, 175, 55, 0.28);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.25);
  --border-gold-hover: rgba(212, 175, 55, 0.6);
  
  --accent-red: #ef4444;
  --accent-green: #10b981;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  
  --font-serif: 'Cinzel', serif, Georgia;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 0 15px var(--gold-glow);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  color-scheme: dark;
}

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

html, body {
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  background: radial-gradient(circle at 50% -10%, #24334f 0%, #1b263b 60%, #162033 100%);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ==========================================================================
   UNIVERSAL SELECT & DROPDOWN STYLING (Dark Frosted Aesthetic & Crisp Text)
   Eliminates harsh white background across all native and custom select menus
   ========================================================================== */
select {
  color-scheme: dark !important;
  background-color: rgba(14, 20, 30, 0.9) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  border-radius: var(--radius-sm) !important;
  padding: 10px 38px 10px 14px !important;
  font-family: var(--font-sans) !important;
  font-size: 0.9rem !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23d4af37' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E") !important;
  background-repeat: no-repeat !important;
  background-position: calc(100% - 14px) center !important;
  background-size: 12px !important;
  cursor: pointer;
  transition: all var(--transition-fast) !important;
  outline: none !important;
}

select:hover {
  border-color: rgba(212, 175, 55, 0.75) !important;
  background-color: rgba(20, 30, 46, 0.96) !important;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.22) !important;
}

select:focus {
  outline: none !important;
  border-color: var(--gold-primary) !important;
  background-color: #0e1522 !important;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.38) !important;
}

/* Universal Dropdown Option List & Items Across Entire Web Platform */
select option,
select optgroup,
option,
optgroup {
  color-scheme: dark !important;
  background-color: #0b111a !important;
  color: #f8fafc !important;
  padding: 12px 16px !important;
  font-size: 0.92rem !important;
  font-family: var(--font-sans) !important;
  line-height: 1.6 !important;
}

select option:hover,
select option:focus,
select option:checked,
option:hover,
option:focus,
option:checked {
  background: #1a2638 !important;
  background-color: #1a2638 !important;
  color: #f3e5ab !important;
  font-weight: 600 !important;
}

select option:disabled,
option:disabled {
  color: #64748b !important;
  background-color: #070a10 !important;
}

/* Ambient Decorative Lighting */
.ambient-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(140px);
  opacity: 0.15;
}
.glow-top-left {
  top: -150px;
  left: -150px;
  background: radial-gradient(circle, var(--gold-primary), transparent 70%);
}
.glow-bottom-right {
  bottom: -150px;
  right: -150px;
  background: radial-gradient(circle, #2563eb, transparent 70%);
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography & Helpers */
h1, h2, h3, .brand-name, .hero-title {
  font-family: var(--font-serif);
  letter-spacing: 0.5px;
}
.gold-accent {
  color: var(--gold-primary);
}
.gold-gradient-text {
  background: linear-gradient(135deg, #fff7d6 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #0b0f14;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #e5c158, var(--gold-primary));
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
  transform: translateY(-2px);
}
.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border-color: var(--border-gold);
}
.btn-outline:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  transform: translateY(-2px);
}
.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.3);
}
.btn-danger:hover {
  background: #ef4444;
  color: #fff;
}
.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
}
.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}
.btn-block {
  width: 100%;
}

/* ================= HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(27, 38, 59, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: none;
  box-shadow: none;
  padding: 12px 0;
  transition: all var(--transition-fast);
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.logo-emblem {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #090e17;
  border: 2.5px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--gold-glow), inset 0 0 10px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  overflow: hidden;
  padding: 2px;
  transition: all var(--transition-fast);
}
.brand-logo:hover .logo-emblem {
  border-color: var(--gold-primary);
  box-shadow: 0 0 28px rgba(212, 175, 55, 0.65);
  transform: scale(1.05);
}
.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif !important;
  font-style: italic !important;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  color: #30515a;
  transition: all var(--transition-fast);
}

/* 1. Resim: i harfi hariç tüm harfler için Asil Koyu Petrol Arduvaz Rengi (#30515a) - Yüksek Netlik */
.brand-word-gaia,
.brand-word-stone {
  color: #30515a;
  background: linear-gradient(135deg, #a4d2e1 0%, #4d7e8e 45%, #2a4d56 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 14px rgba(77, 126, 142, 0.5));
  display: inline-flex;
  align-items: baseline;
  font-style: italic;
  font-weight: 700;
  transition: all var(--transition-fast);
}

/* 2. Resim: 'i' Harfi için Sıcak Hardal / Antik Aşı Boyası Bal-Altın Rengi (#d5b143) - Yüksek Netlik */
.brand-name .letter-i,
.preloader-brand .letter-i {
  color: #d5b143 !important;
  background: linear-gradient(135deg, #ffea88 0%, #d8b33f 50%, #ad8a22 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-style: italic !important;
  font-weight: 800 !important;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 16px rgba(216, 179, 63, 0.8)) !important;
  display: inline-block;
  padding: 0 1px;
  transition: all var(--transition-fast);
}

.brand-logo:hover .brand-word-gaia,
.brand-logo:hover .brand-word-stone {
  filter: drop-shadow(0 0 20px rgba(130, 185, 202, 0.85));
}

.brand-logo:hover .letter-i {
  filter: drop-shadow(0 0 20px rgba(255, 225, 115, 0.95)) !important;
}
.brand-tagline {
  font-size: 0.72rem;
  color: #9cb3cb;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 4px;
}

/* Navigation Links - Sleek Seamless Single Row */
.nav-menu {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 4px 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
  flex-shrink: 0;
  max-width: 100%;
}
.nav-link {
  background: transparent;
  border: none;
  color: #cbd5e1;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap !important; /* STRICT SINGLE LINE: Never break into two lines */
  transition: all var(--transition-fast);
  line-height: 1.2;
  position: relative;
}
.nav-link i {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}
.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}
.nav-link:hover i {
  color: var(--gold-primary);
}
.nav-link.active {
  background: transparent;
  color: var(--gold-light);
  border: none;
  box-shadow: none;
  font-weight: 600;
}
.nav-link.active i {
  color: var(--gold-primary);
}
/* Zarif Altın Çizgi Göstergesi: Buton kutusu yerine minimal mimari şıklık */
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--gold-primary);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.search-box-header {
  position: relative;
  display: flex;
  align-items: center;
}
.search-box-header input {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 8px 34px 8px 36px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  width: 200px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.search-box-header input:focus {
  outline: none;
  width: 270px;
  border-color: var(--gold-primary);
  background: rgba(18, 25, 38, 0.95);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.25);
}
.search-box-header .search-icon {
  position: absolute;
  left: 13px;
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
}
.clear-search-btn {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

/* ================= HERO SECTION ================= */
.hero-section {
  padding: 60px 0 40px;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.06), transparent 70%);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--gold-light);
  margin-bottom: 20px;
}
.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.25;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 36px;
}

/* Metrics Bar */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.metric-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  transition: all var(--transition-fast);
}
.metric-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
  background: var(--bg-card-hover);
}
.metric-icon {
  font-size: 1.8rem;
  color: var(--gold-primary);
}
.metric-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-serif);
}
.metric-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ================= MAIN CONTENT ================= */
.main-content {
  padding: 40px 0 80px;
}
.content-section {
  display: none;
  animation: fadeIn 0.4s ease;
}
.content-section.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Filter Bar */
.filter-controls-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.category-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cat-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}
.cat-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.cat-pill.active {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #0b0f14;
  font-weight: 700;
  border-color: var(--gold-primary);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}
.sort-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.88rem;
}
.sort-selector select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  cursor: pointer;
}
.sort-selector select:focus {
  outline: none;
  border-color: var(--gold-primary);
}

/* Media Grid */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}
.media-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}
.media-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold-hover);
  box-shadow: var(--shadow-lg);
}
.media-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #141a24;
  cursor: pointer;
}
.media-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
}
.media-card:hover .media-thumb {
  transform: scale(1.06);
}
.media-badge-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 14, 20, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}
.media-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 20, 0.85) 0%, transparent 60%);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: opacity var(--transition-fast);
  z-index: 3;
}
.media-card:hover .media-hover-overlay {
  opacity: 1;
}
.overlay-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.overlay-btn:hover {
  background: var(--gold-primary);
  color: #0b0f14;
  transform: scale(1.1);
}

.media-info {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}
.media-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.4;
  cursor: pointer;
}
.media-title:hover {
  color: var(--gold-light);
}
.media-description {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.media-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.media-stat {
  display: flex;
  align-items: center;
  gap: 5px;
}
.media-download-link {
  color: var(--gold-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: color var(--transition-fast);
}
.media-download-link:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

/* ================= SECTION HEADERS ================= */
.section-header-block {
  margin-bottom: 30px;
}
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ================= PDF CATALOGS GRID ================= */
.catalogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 28px;
}
.catalog-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}
.catalog-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold-hover);
  box-shadow: var(--shadow-lg);
}
.catalog-cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #141b24;
  overflow: hidden;
}
.catalog-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.catalog-card:hover .catalog-cover-img {
  transform: scale(1.04);
}
.catalog-pdf-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #ef4444;
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
}
.catalog-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.catalog-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.catalog-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  flex-grow: 1;
}
.catalog-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
}
.catalog-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ================= COLLECTIONS GRID ================= */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.collection-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.collection-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}
.collection-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.collection-name {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 8px;
}
.collection-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}
.collection-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--gold-light);
  font-weight: 600;
}

/* ================= FOOTER ================= */
.site-footer {
  background: #080c10;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  margin-top: 60px;
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
}
.footer-logo {
  margin-bottom: 16px;
}
.footer-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  max-width: 380px;
}
.domain-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--gold-primary);
  font-size: 0.82rem;
  font-weight: 600;
}
.footer-links h4, .footer-info h4 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 16px;
  font-family: var(--font-serif);
}
.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}
.footer-links a:hover {
  color: var(--gold-light);
}
.footer-info p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.copyright {
  margin-top: 24px;
  font-size: 0.78rem !important;
  color: var(--text-muted) !important;
}

/* ================= MODAL BASE ================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 11, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}
.modal-close-btn:hover {
  background: var(--gold-primary);
  color: #0b0f14;
}
.modal-close-btn-sm {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
}
.modal-close-btn-sm:hover {
  color: #fff;
}

/* ================= LIGHTBOX MODAL ================= */
.lightbox-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 1200px;
  width: 95%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), 0 0 30px var(--gold-glow);
}
.lightbox-body {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  max-height: 90vh;
}
.lightbox-image-wrap {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.lightbox-image-wrap img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}
.lightbox-sidebar {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.lightbox-cat-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.lightbox-title {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 12px;
}
.lightbox-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}
.lightbox-metadata {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
}
.meta-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.meta-item:last-child {
  border-bottom: none;
}
.meta-label {
  color: var(--text-muted);
}
.meta-val {
  color: #fff;
  font-weight: 500;
}
.lightbox-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.tag-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
}
.lightbox-actions {
  margin-top: auto;
}

/* ================= PDF MODAL ================= */
.pdf-modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  width: 95%;
  max-width: 1300px;
  height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.pdf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-tertiary);
}
.pdf-title-block {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
}
.pdf-modal-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pdf-modal-body {
  flex-grow: 1;
  background: #333;
}
.pdf-modal-body iframe {
  width: 100%;
  height: 100%;
}

/* ================= ADMIN MODAL & DASHBOARD ================= */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1040;
  transition: all var(--transition-normal);
  display: none; /* Gizlidir; sadece openAdminModal tetiklendiğinde açılır */
}

/* Sadece aktifken görünür */
.admin-modal-overlay.active,
.admin-modal-overlay[style*="display: flex"] {
  display: flex;
}

/* Mode A: Default Centered / Fullscreen Modal */
.admin-modal-overlay.fullscreen-mode,
.admin-modal-overlay:not(.drawer-mode) {
  background: rgba(4, 7, 11, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: 16px;
  pointer-events: auto;
}

.admin-modal-overlay.fullscreen-mode .admin-modal-container,
.admin-modal-overlay:not(.drawer-mode) .admin-modal-container {
  width: 96%;
  max-width: 1440px;
  height: 94vh;
  max-height: 94vh;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 30px var(--gold-glow);
}

/* Mode B: Live Page Drawer Mode (Kenar Çekmecesi - Sayfaya Canlı Erişim) */
.admin-modal-overlay.drawer-mode {
  position: fixed;
  inset: 0;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  pointer-events: none !important; /* Extremely important: lets user click and scroll the site underneath! */
  justify-content: flex-end;
  align-items: stretch;
  padding: 0 !important;
}

.admin-modal-overlay.drawer-mode .admin-modal-container {
  pointer-events: auto !important; /* Re-enable clicks inside the admin drawer */
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 680px;
  max-width: 96vw;
  height: 100vh;
  max-height: 100vh;
  border-radius: 0;
  border-top: none;
  border-right: none;
  border-bottom: none;
  border-left: 1px solid var(--border-gold);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(212, 175, 55, 0.2);
  animation: slideInDrawer 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInDrawer {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

/* Reflow the website on desktop when drawer mode is open so nothing is obscured */
@media (min-width: 1280px) {
  body.admin-drawer-active {
    margin-right: 680px !important;
    transition: margin-right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  body.admin-drawer-active .site-header {
    width: calc(100% - 680px) !important;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  body.admin-drawer-active .ambient-glow {
    max-width: calc(100% - 680px);
  }
}

.admin-modal-container {
  background: var(--bg-secondary);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

/* Panel Containers: Critical flex column layout to fix layout breakage */
.admin-view-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1;
  overflow: hidden;
  box-sizing: border-box;
}

#adminDashboardView {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1;
  overflow: hidden;
  box-sizing: border-box;
}

#adminLoginView {
  overflow-y: auto;
  align-items: center;
  justify-content: center;
  display: flex;
}

/* Login Card View */
.admin-login-card {
  max-width: 480px;
  margin: 60px auto;
  padding: 44px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.15);
}
.login-header {
  text-align: center;
  margin-bottom: 28px;
}
.login-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--gold-primary);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
}
.login-header h2 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 6px;
  font-family: var(--font-serif);
}
.login-header p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.login-security-notice {
  margin-top: 22px;
  padding: 10px 14px;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

/* Form Styles */
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-weight: 500;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: border-color var(--transition-fast);
}
.form-group select {
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}
.form-row {
  display: flex;
  gap: 16px;
}
.flex-1 { flex: 1; }
.flex-2 { flex: 2; }
.password-input-wrapper {
  position: relative;
}
.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}
.form-control-file {
  padding: 8px 0;
  color: var(--text-secondary);
}

/* Dashboard Topbar */
.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: rgba(10, 14, 20, 0.98);
  border-bottom: 1px solid var(--border-subtle);
  min-height: 58px;
  width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
  z-index: 10;
}
.dash-brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
}
.dash-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0a0f18;
  border: 1.5px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.3);
  overflow: hidden;
  padding: 1px;
  flex-shrink: 0;
}
.dash-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.dash-title-wrap {
  display: flex;
  flex-direction: column;
}
.dash-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash-title-row h3 {
  font-size: 1.15rem;
  font-family: var(--font-serif);
  color: #fff;
  letter-spacing: 0.5px;
  margin: 0;
}
.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #4ade80;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulseGreen 2s infinite;
}
@keyframes pulseGreen {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}
.dash-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 2px 0 0;
}
.dash-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dash-user-profile-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  margin-right: 6px;
}
.dash-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #0b0f14;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.dash-user-text {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dash-username {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}
.role-badge {
  padding: 2px 8px;
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}
.role-badge.purple {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.4);
  color: #c4b5fd;
}
.dash-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  margin-left: 4px;
  padding: 0 4px;
}
.dash-close-btn:hover {
  color: #fff;
}

/* Dashboard Shell (Sidebar + Main Workspace) */
.dash-main-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  flex: 1;
  min-height: 0;
  width: 100%;
  height: calc(100% - 58px);
  overflow: hidden;
  box-sizing: border-box;
}
.dash-sidebar {
  background: rgba(8, 12, 17, 0.95);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 10px;
}
.dash-sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dash-nav-item {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-fast);
  text-align: left;
  position: relative;
}
.dash-nav-item i {
  font-size: 1rem;
  width: 20px;
  text-align: center;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}
.dash-nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.dash-nav-item:hover i {
  color: var(--gold-primary);
}
.dash-nav-item.active {
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
}
.dash-nav-item.active i {
  color: var(--gold-primary);
}
.nav-item-badge {
  margin-left: auto;
  font-size: 0.68rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-weight: 700;
}
.nav-item-badge.gold {
  background: rgba(212, 175, 55, 0.25);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
}
.nav-item-badge.purple {
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.4);
}
.dash-sidebar-footer {
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}
.db-health-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.db-health-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}
.db-health-status small {
  color: var(--text-muted);
  font-size: 0.72rem;
}

/* Dashboard Workspace */
.dash-content-area {
  padding: 26px;
  overflow-y: auto;
  height: 100%;
}
.dash-tab-content {
  animation: fadeIn 0.3s ease;
}
.dash-section-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}
.dash-section-card h3 {
  font-size: 1.22rem;
  color: #fff;
  margin-bottom: 4px;
}
.card-subtitle {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Quick Actions Bar */
.dash-quick-actions-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.quick-action-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}
.quick-action-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-gold);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(212, 175, 55, 0.1);
}
.qa-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.qa-icon.gold { background: rgba(212, 175, 55, 0.15); color: var(--gold-primary); }
.qa-icon.red { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.qa-icon.blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.qa-icon.green { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.qa-info strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
  margin-bottom: 2px;
}
.qa-info p {
  color: var(--text-muted);
  font-size: 0.76rem;
  margin: 0;
}
.qa-arrow {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.82rem;
  transition: transform var(--transition-fast), color var(--transition-fast);
}
.quick-action-card:hover .qa-arrow {
  transform: translateX(3px);
  color: var(--gold-primary);
}

/* Dashboard Stats Row */
.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.dash-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}
.dash-stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.35);
}
.stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.stat-icon-wrap.gold { background: rgba(212, 175, 55, 0.15); color: var(--gold-primary); }
.stat-icon-wrap.red { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.stat-icon-wrap.blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.stat-icon-wrap.purple { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }

.stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-serif);
}
.stat-title {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Overview 2-Column Grid */
.dash-grid-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.system-status-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}
.status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}
.status-item-label {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-item-val {
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
}

/* Drop Zone & Upload Queue */
.drop-zone {
  border: 2px dashed var(--border-gold);
  background: rgba(212, 175, 55, 0.03);
  border-radius: var(--radius-md);
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: 18px;
}
.drop-zone:hover, .drop-zone.dragover {
  background: rgba(212, 175, 55, 0.08);
  border-color: var(--gold-primary);
}
.drop-icon {
  font-size: 2.4rem;
  color: var(--gold-primary);
  margin-bottom: 10px;
}

/* Upload Queue Summary Bar */
.upload-queue-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  margin-bottom: 16px;
}
.queue-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #fff;
}
.queue-size-badge {
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 600;
}
.upload-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.upload-preview-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #141b24;
  display: flex;
  flex-direction: column;
}
.preview-thumb-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}
.preview-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.preview-remove-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.85);
  border: none;
  color: #fff;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.preview-remove-btn:hover {
  background: #ef4444;
  transform: scale(1.15);
}
.preview-file-details {
  padding: 6px 8px;
  background: rgba(10, 14, 20, 0.9);
  font-size: 0.72rem;
}
.preview-file-name {
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.preview-file-size {
  color: var(--text-muted);
}
.upload-actions-bar {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

/* Content Management Filter Toolbar */
.content-manage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 14px;
}
.content-manage-title h3 {
  margin: 0 0 4px;
}
.content-manage-title p {
  margin: 0;
}
.table-filter-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.02);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}
.table-filter-toolbar .table-search-box {
  position: relative;
  flex: 1;
  min-width: 220px;
}
.table-filter-toolbar .table-search-box i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.88rem;
}
.table-filter-toolbar .table-search-box input {
  width: 100%;
  padding: 8px 12px 8px 34px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.88rem;
}
.table-cat-filter-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.table-cat-filter-wrap select {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.88rem;
  min-width: 160px;
}
.table-count-badge {
  padding: 6px 12px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Modern Upload Progress Bar */
.progress-bar-container {
  width: 100%;
  margin: 18px 0;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}
.progress-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.84rem;
}
.progress-bar-label {
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.progress-bar-percent {
  font-weight: 700;
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 0.95rem;
}
.progress-bar-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #b8860b, #d4af37, #fef08a, #d4af37);
  background-size: 200% 100%;
  border-radius: 999px;
  transition: width 0.2s ease-out;
  animation: shimmerProgress 2s linear infinite;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}
@keyframes shimmerProgress {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.progress-bar-footer {
  margin-top: 8px;
  font-size: 0.74rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}
.dash-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}
.dash-table th {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  font-weight: 600;
}
.dash-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #fff;
  vertical-align: middle;
}
.dash-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
.table-thumb {
  width: 50px;
  height: 38px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}
.table-actions-cell {
  display: flex;
  gap: 8px;
}
.action-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.action-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.action-btn.delete:hover {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
}

/* Category Breakdown List in Overview */
.category-breakdown-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.cat-breakdown-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cat-breakdown-name {
  font-size: 0.88rem;
  color: var(--text-primary);
}
.cat-breakdown-counts {
  font-size: 0.78rem;
  color: var(--gold-light);
  font-weight: 600;
}

/* Sub-tabs in Content Management */
.sub-tab-bar {
  display: flex;
  gap: 10px;
  margin: 16px 0;
}
.sub-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}
.sub-tab.active {
  background: var(--gold-primary);
  color: #0b0f14;
  font-weight: 600;
  border-color: var(--gold-primary);
}

/* ================= SUB-MODALS (LAYERED ON TOP OF ADMIN CONSOLE) ================= */
.sub-modal-overlay,
#changePasswordModal,
#newUserModal,
#newCategoryModal,
#editMediaModal {
  z-index: 2500 !important;
  background: rgba(3, 7, 18, 0.86) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.small-modal-card {
  position: relative;
  z-index: 2505;
  background: #0f172a;
  background: linear-gradient(150deg, #131d31 0%, #0c1220 100%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 95%;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.92), 0 0 30px rgba(212, 175, 55, 0.2);
  animation: subModalPopIn 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes subModalPopIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(16px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
}
.modal-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-actions-row {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--bg-secondary);
  border: 1px solid var(--border-gold);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  animation: slideInRight 0.3s ease;
  min-width: 280px;
}
.toast-success { border-color: #10b981; }
.toast-error { border-color: #ef4444; }
.toast-info { border-color: var(--gold-primary); }
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Alerts */
.alert-box {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

/* Loading & Empty States */
.loading-state, .empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  grid-column: 1 / -1;
}
.empty-icon {
  font-size: 3.5rem;
  color: var(--border-gold);
  margin-bottom: 16px;
}
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(212, 175, 55, 0.15);
  border-top-color: var(--gold-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .lightbox-body {
    grid-template-columns: 1fr;
    max-height: 85vh;
  }
  .lightbox-image-wrap {
    max-height: 45vh;
  }
  .dash-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .nav-menu {
    justify-content: center;
  }
  .header-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .search-box-header input, .search-box-header input:focus {
    width: 100%;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
  }
  .dash-stats-row {
    grid-template-columns: 1fr;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

/* ================= FLOATING ADMIN QUICK RESTORE DOCK ================= */
.admin-floating-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1060;
  animation: floatDockIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.floating-dock-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: rgba(10, 14, 20, 0.95);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.3);
  color: #fff;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-sans);
  backdrop-filter: blur(10px);
}

.floating-dock-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.9), 0 0 30px var(--gold-glow);
  border-color: var(--gold-primary);
  background: rgba(15, 22, 32, 0.98);
}

.dock-gem-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid var(--border-gold);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.dock-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.dock-title {
  font-weight: 700;
  font-size: 0.84rem;
  color: #fff;
  font-family: var(--font-serif);
  letter-spacing: 0.5px;
}

.dock-status {
  font-size: 0.72rem;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dock-open-tag {
  padding: 4px 10px;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  font-size: 0.74rem;
  color: var(--gold-light);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.pulse-dot-sm {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  animation: pulseGreen 2s infinite;
}

/* ================= TOP LUXURY NANO-PROGRESS BAR ================= */
.top-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #d4af37, #fde047, #fef08a, #d4af37);
  box-shadow: 0 0 14px rgba(253, 224, 71, 0.85), 0 0 5px rgba(212, 175, 55, 0.95);
  z-index: 99999;
  transition: width 0.3s cubic-bezier(0.1, 0.9, 0.2, 1), opacity 0.35s ease;
  pointer-events: none;
  opacity: 0;
}
.top-progress-bar.active {
  opacity: 1;
}

/* ================= APP INITIAL PRELOADER ================= */
.app-preloader {
  position: fixed;
  inset: 0;
  z-index: 99990;
  background: radial-gradient(circle at center, #0f172a 0%, #060b13 70%, #020407 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.app-preloader.fade-out {
  opacity: 0;
  transform: scale(1.05) translateY(-25px);
  pointer-events: none;
}

.preloader-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 520px;
  width: 92%;
  padding: 44px 36px;
  position: relative;
}

.preloader-emblem-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-gem-icon {
  width: 180px;
  height: 180px;
  background: #080d15;
  border: 2.5px solid var(--gold-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.45), inset 0 0 20px rgba(212, 175, 55, 0.25);
  animation: preloaderGemPulse 2.6s infinite ease-in-out;
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 3px;
}

.preloader-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.preloader-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(212, 175, 55, 0.5);
}

.preloader-orbit.ring-1 {
  width: 200px;
  height: 200px;
  animation: preloaderOrbit 8s linear infinite;
}

.preloader-orbit.ring-2 {
  width: 220px;
  height: 220px;
  border-color: rgba(212, 175, 55, 0.25);
  animation: preloaderOrbitReverse 10s linear infinite;
}

@keyframes preloaderOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes preloaderOrbitReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes preloaderGemPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.35);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.7);
  }
}

.preloader-brand {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif !important;
  font-style: italic !important;
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  line-height: 1.1;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}

.preloader-brand .brand-word-gaia,
.preloader-brand .brand-word-stone {
  color: #30515a;
  background: linear-gradient(135deg, #7db3c2 0%, #44727f 40%, #26464e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 25px rgba(68, 114, 127, 0.5));
  font-style: italic;
  font-weight: 700;
}

.preloader-sub {
  font-size: 0.88rem;
  color: #94a3b8;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 28px;
}

.preloader-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  margin-bottom: 12px;
}

.preloader-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #b38728, #fbf5b7, #d4af37);
  border-radius: 10px;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.85);
  transition: width 0.35s ease;
}

.preloader-status-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.preloader-percent {
  font-weight: 600;
  color: var(--gold-light);
}

/* ================= SECTION ENTRANCE ANIMATIONS ================= */
.content-section {
  animation: sectionFadeUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* ==========================================================================
   MODERN, NATURAL & MINIMAL HOME PAGE & ARCHITECTURAL SERVICES STYLES
   ========================================================================== */

/* Home Hero Block */
.home-hero-block {
  padding: 40px 0 30px;
  text-align: center;
  position: relative;
  margin-bottom: 50px;
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.08), transparent 75%);
}

.home-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 32px 0 44px;
  flex-wrap: wrap;
}

/* Home Content Block Containers */
.home-content-block {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.home-content-block:last-child {
  border-bottom: none;
  padding-bottom: 20px;
}

/* Block Headers */
.home-block-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 48px;
}

.mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.home-block-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
}

.home-block-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* What We Do / Features Grid (4 Cards) */
.home-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.home-feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.home-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold-hover);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.12);
  background: var(--bg-card-hover);
}

.feature-card-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent 70%);
  pointer-events: none;
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0.04));
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: var(--gold-primary);
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}

.feature-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.feature-card-text {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.feature-pill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.feature-pill-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-full);
  color: var(--gold-light);
}

.feature-pill-tags span i {
  font-size: 0.7rem;
  color: var(--gold-primary);
}

/* Architectural Services Grid */
.home-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-detail-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-detail-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 25px rgba(212, 175, 55, 0.14);
}

.service-header-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.06));
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.service-title-wrap {
  display: flex;
  flex-direction: column;
}

.service-category {
  font-size: 0.72rem;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.service-title-wrap h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

.service-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #e2e8f0;
  line-height: 1.5;
}

.service-checklist li i {
  color: var(--gold-primary);
  margin-top: 3px;
  font-size: 0.88rem;
  flex-shrink: 0;
}

.service-footer-action {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* 4-Step Process Journey */
.process-journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.process-step-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  position: relative;
  transition: all var(--transition-fast);
}

.process-step-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.step-badge {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(212, 175, 55, 0.22);
  line-height: 1;
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--gold-primary);
  margin-bottom: 18px;
}

.process-step-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.process-step-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Values & Philosophy Grid */
.home-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  text-align: center;
  transition: all var(--transition-fast);
}

.value-item-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.value-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.05));
  border: 1px solid var(--border-gold);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.6rem;
}

.value-item-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.value-item-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Showcase Grid */
.home-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.showcase-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.16);
}

.showcase-img-wrap {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #101622;
}

.showcase-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.showcase-card:hover .showcase-img-wrap img {
  transform: scale(1.06);
}

.showcase-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 14, 20, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-light);
}

.showcase-info {
  padding: 20px;
}

.showcase-info h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.showcase-info p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
}

.showcase-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-primary);
}

.showcase-cta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Contact & Project Inquiry Card */
.home-contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  background: linear-gradient(135deg, rgba(18, 25, 36, 0.95), rgba(12, 17, 25, 0.98));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.1);
}

.contact-left-card {
  display: flex;
  flex-direction: column;
}

.contact-card-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
}

.contact-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 30px;
}

.contact-direct-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: auto;
}

.direct-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.item-label {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.item-val {
  font-size: 0.92rem;
  color: #fff;
  font-weight: 500;
}

/* Quote Form Right */
.contact-right-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 30px;
}

.form-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: #cbd5e1;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  background: rgba(10, 14, 20, 0.8);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  transition: all var(--transition-fast);
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  background: rgba(14, 20, 30, 0.95);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.quote-form select option {
  background: #101620;
  color: #fff;
}

/* Archive header block inside sectionArchive */
.archive-header-block {
  margin-bottom: 28px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .process-journey-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-contact-wrapper {
    grid-template-columns: 1fr;
    padding: 30px;
  }
  .home-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .home-features-grid,
  .home-services-grid,
  .home-values-grid,
  .home-showcase-grid {
    grid-template-columns: 1fr;
  }
  .process-journey-grid {
    grid-template-columns: 1fr;
  }
  .form-group-row {
    grid-template-columns: 1fr;
  }
  .home-hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .home-hero-actions .btn {
    width: 100%;
  }
  .home-block-title {
    font-size: 1.75rem;
  }
  .nav-menu {
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
  }
  .nav-menu::-webkit-scrollbar {
    display: none;
  }
}

/* ==========================================================================
   HEADER EXPANDED CONTAINER & DYNAMIC PAGES STYLING
   ========================================================================== */
.site-header .container {
  max-width: 1680px;
  padding: 0 32px;
}

@media (max-width: 1400px) {
  .site-header .container {
    padding: 0 20px;
  }
  .nav-link {
    padding: 6px 10px;
    font-size: 0.82rem;
    gap: 5px;
  }
  .search-box-header input {
    width: 170px;
  }
}

/* Custom Page View Section */
.custom-page-container {
  max-width: 1000px;
  margin: 20px auto 60px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.1);
}

.custom-page-header {
  text-align: center;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.custom-page-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  margin: 12px 0 8px;
  font-family: var(--font-serif);
}

.custom-page-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.custom-page-body {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #e2e8f0;
  margin-bottom: 40px;
}

.custom-page-body h2, .custom-page-body h3 {
  color: var(--gold-light);
  margin: 28px 0 12px;
  font-family: var(--font-serif);
}

.custom-page-body p {
  margin-bottom: 18px;
}

.custom-page-body ul {
  margin: 12px 0 24px 24px;
}

.custom-page-body li {
  margin-bottom: 8px;
}

.custom-page-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

/* Admin Page Management Table Styles */
.visibility-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.visibility-toggle-btn.is-visible {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

.visibility-toggle-btn.is-visible:hover {
  background: rgba(16, 185, 129, 0.25);
  transform: translateY(-1px);
}

.visibility-toggle-btn.is-hidden {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}

.visibility-toggle-btn.is-hidden:hover {
  background: rgba(239, 68, 68, 0.25);
  transform: translateY(-1px);
}

.badge-page-type {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.badge-page-type.system {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.badge-page-type.custom {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

/* ================= COMPREHENSIVE PAGE STRUCTURE & VISUAL EDITOR ================= */
#pageModal,
#pageModal.page-editor-modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 3000 !important;
  background: rgba(3, 7, 18, 0.9) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px;
}

.page-modal-card {
  max-width: 900px !important;
  width: 96% !important;
  max-height: 92vh !important;
  overflow-y: auto !important;
  background: #0d131f !important;
  background: linear-gradient(160deg, #111a2c 0%, #090e17 100%) !important;
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  border-radius: var(--radius-lg);
  padding: 24px 28px !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 40px rgba(212, 175, 55, 0.18) !important;
}

.page-editor-modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.modal-subtitle-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 3px 0 0 0;
}

/* Modal Internal Tabs */
.page-editor-tabs-bar {
  display: flex;
  gap: 8px;
  background: rgba(0, 0, 0, 0.28);
  padding: 5px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  margin-bottom: 18px;
}

.page-editor-tab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.page-editor-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.page-editor-tab-btn.active {
  background: var(--gold-primary);
  color: #0b0f14;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.35);
}

/* Form Group Panels (Banner & Layout Boxes) */
.form-group-panel {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 16px;
}

.panel-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.panel-header-row label {
  font-weight: 600;
  color: #f1f5f9;
  font-size: 0.88rem;
  margin: 0;
}

.panel-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Icon Picker & Preview */
.icon-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.icon-preview-badge {
  position: absolute;
  right: 10px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(212, 175, 55, 0.3);
  font-size: 0.9rem;
}

.quick-icon-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.quick-icon-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quick-icon-pill:hover {
  color: var(--gold-light);
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
}

/* Banner Image Preview Box */
.banner-preview-box {
  position: relative;
  margin-top: 10px;
  border-radius: var(--radius-md);
  overflow: hidden;
  max-height: 160px;
  border: 1px solid var(--border-subtle);
}

.banner-preview-box img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.btn-remove-banner {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(239, 68, 68, 0.85);
  border: none;
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all var(--transition-fast);
}

.btn-remove-banner:hover {
  background: #dc2626;
}

/* Layout Options Cards Grid */
.layout-selector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.layout-option-card {
  position: relative;
  cursor: pointer;
}

.layout-option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.layout-card-inner {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  height: 100%;
  transition: all var(--transition-fast);
}

.layout-option-card input[type="radio"]:checked + .layout-card-inner {
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.2);
}

.layout-card-icon {
  font-size: 1.3rem;
  color: var(--gold-primary);
  margin-bottom: 6px;
}

.layout-card-info strong {
  display: block;
  font-size: 0.82rem;
  color: #fff;
  margin-bottom: 4px;
}

.layout-card-info p {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin: 0;
}

/* Quick Templates Bar */
.quick-templates-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  background: rgba(212, 175, 55, 0.06);
  border: 1px dashed rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 12px;
}

.templates-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-light);
}

.template-btns-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.template-btn {
  font-size: 0.74rem !important;
  padding: 4px 10px !important;
}

/* Editor Toolbar */
.editor-formatting-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px;
}

.editor-tool-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.editor-tool-btn:hover {
  color: #fff;
  border-color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.15);
}

/* Live Preview Box */
.preview-notice-bar {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #93c5fd;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.8rem;
  margin-bottom: 14px;
}

.page-live-preview-box {
  background: #0a0e14;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  min-height: 280px;
  max-height: 480px;
  overflow-y: auto;
}

/* Public Custom Page Display Styles */
.custom-page-container {
  padding: 30px 0 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.custom-page-hero-banner {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 30px;
  border: 1px solid var(--border-gold);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.custom-page-hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.custom-page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 16, 0.1) 0%, rgba(7, 11, 16, 0.85) 100%);
}

.custom-page-header {
  margin-bottom: 30px;
}

.custom-page-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin: 10px 0 6px;
  font-family: var(--font-serif);
}

.custom-page-subtitle {
  font-size: 1.05rem;
  color: var(--gold-light);
}

.custom-page-body {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #cbd5e1;
}

.custom-page-body h2 {
  font-size: 1.6rem;
  color: var(--gold-primary);
  margin: 28px 0 14px;
  font-family: var(--font-serif);
}

.custom-page-body h3 {
  font-size: 1.25rem;
  color: #f1f5f9;
  margin: 20px 0 10px;
}

.custom-page-body p {
  margin-bottom: 16px;
}

.custom-page-body ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

.custom-page-body li {
  margin-bottom: 8px;
}

/* Custom Callout Box in Body */
.custom-callout-card {
  background: rgba(212, 175, 55, 0.07);
  border-left: 4px solid var(--gold-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px;
  margin: 22px 0;
}

.custom-callout-card h4 {
  color: var(--gold-light);
  margin: 0 0 6px 0;
  font-size: 1.05rem;
}

.custom-callout-card p {
  margin: 0;
  font-size: 0.94rem;
  color: #e2e8f0;
}

/* Layout Variations */
.layout-showcase .custom-page-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.layout-showcase .custom-page-body img {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin: 14px 0;
}

.custom-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ================= ANALYTICS & CUSTOMER POTENTIAL STYLES ================= */
.dash-section-header-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.dash-section-title-wrap h4 {
  font-size: 1.05rem;
  color: #fff;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dash-section-title-wrap small {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.dash-stat-card.clickable {
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}
.dash-stat-card.clickable:hover {
  transform: translateY(-3px);
  border-color: var(--gold-primary);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px var(--gold-glow);
}
.stat-link-hint {
  display: block;
  font-size: 0.74rem;
  color: var(--gold-light);
  margin-top: 6px;
  font-weight: 600;
  transition: all var(--transition-fast);
}
.dash-stat-card.clickable:hover .stat-link-hint {
  color: #fff;
  transform: translateX(3px);
}

/* Insights Summary Banner */
.dash-insights-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  background: rgba(24, 35, 54, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  margin: 18px 0 24px 0;
  backdrop-filter: blur(12px);
}
.insight-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: #e2e8f0;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.insight-pill:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-primary);
  color: #fff;
}
.insight-pill strong {
  color: var(--gold-light);
  font-weight: 700;
}
.text-cyan { color: #38bdf8 !important; }
.text-green { color: #34d399 !important; }
.text-purple { color: #c084fc !important; }

/* Sub-Navigation Bar */
.analytics-subnav-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px;
  background: rgba(20, 28, 44, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}
.subnav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.subnav-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.subnav-btn.active {
  background: rgba(212, 175, 55, 0.14);
  border-color: rgba(212, 175, 55, 0.4);
  color: var(--gold-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.subnav-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}
.subnav-btn.active .subnav-badge {
  background: var(--gold-primary);
  color: #0c121e;
}

/* Score Badges */
.score-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.score-badge.hot {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(212, 175, 55, 0.3));
  border: 1px solid rgba(239, 68, 68, 0.6);
  color: #fca5a5;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.25);
}
.score-badge.warm {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fcd34d;
}
.score-badge.cool {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #93c5fd;
}

.pill-stone-group {
  display: inline-block;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
}

.lead-admin-note {
  margin-top: 6px;
  padding: 5px 8px;
  background: rgba(212, 175, 55, 0.08);
  border-left: 3px solid var(--gold-primary);
  border-radius: 0 4px 4px 0;
  font-size: 0.75rem;
  color: #fef08a;
  line-height: 1.3;
}

.lead-status-select {
  background: #111827 !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: var(--radius-sm) !important;
  padding: 6px 10px !important;
  font-size: 0.8rem !important;
  cursor: pointer;
}

/* Status Badges */
.badge-status-success {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  font-size: 0.78rem;
  font-weight: 600;
}
.badge-status-error {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  font-size: 0.78rem;
  font-weight: 600;
}
.badge-type-catalog {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  font-size: 0.78rem;
  font-weight: 600;
}
.badge-type-image {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.18);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #93c5fd;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Trending Keywords Cloud */
.trending-keywords-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.trending-keyword-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}
.trending-keyword-chip:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: #38bdf8;
  transform: translateY(-2px);
}
.trend-rank {
  font-weight: 700;
  color: #38bdf8;
  font-size: 0.82rem;
}
.trend-word {
  font-weight: 600;
  color: #fff;
  font-size: 0.9rem;
}
.trend-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.3);
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   GAIASTONE CINEMATIC FLOWING INTRO OVERLAY (gaiastone.ca style)
   ========================================================================== */
.cinematic-intro-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  background: #0b111e;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s ease;
}

.cinematic-intro-overlay.cinematic-fade-out {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Background Streaming Image Stack */
.cinematic-bg-stream {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.cinematic-slide-layer {
  position: absolute;
  top: -6%;
  left: -6%;
  width: 112%;
  height: 112%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.0);
  transition: opacity 1.6s ease-in-out;
  will-change: transform, opacity;
}

.cinematic-slide-layer.active {
  opacity: 1;
  animation: kenBurnsFlow 9s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes kenBurnsFlow {
  0% {
    transform: scale(1.0) translate(0, 0);
  }
  50% {
    transform: scale(1.06) translate(-1.2%, -0.8%);
  }
  100% {
    transform: scale(1.12) translate(-2.2%, 1.2%);
  }
}

/* Architectural Luxury Vignette Gradient */
.cinematic-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse at center, rgba(11, 17, 30, 0.42) 0%, rgba(11, 17, 30, 0.78) 65%, rgba(11, 17, 30, 0.96) 100%);
  pointer-events: none;
}

/* Center Content Presentation */
.cinematic-center-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 840px;
  padding: 0 24px;
  animation: cinematicFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

@keyframes cinematicFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Emblem Wrap */
.cinematic-emblem-wrap {
  position: relative;
  width: 116px;
  height: 116px;
  margin: 0 auto 22px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cinematic-emblem-glow {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.42) 0%, rgba(212, 168, 83, 0.1) 50%, transparent 75%);
  filter: blur(14px);
  animation: emblemPulse 4s ease-in-out infinite;
}

@keyframes emblemPulse {
  0%, 100% {
    opacity: 0.55;
    transform: scale(0.95);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.08);
  }
}

.cinematic-emblem-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(212, 168, 83, 0.45);
  animation: spinRing 26s linear infinite;
}

@keyframes spinRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cinematic-logo-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.75), 0 0 24px rgba(212, 168, 83, 0.35);
  border: 2px solid rgba(212, 168, 83, 0.7);
  position: relative;
  z-index: 3;
}

/* Brand Titles */
.cinematic-brand-title {
  font-family: 'Cinzel', serif;
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.9));
}

.cinematic-gold-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 16px auto;
  max-width: 280px;
}

.cinematic-gold-divider .divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 83, 0.75), transparent);
}

.cinematic-gold-divider .divider-gem {
  color: var(--gold-primary);
  font-size: 0.85rem;
  filter: drop-shadow(0 0 8px rgba(212, 168, 83, 0.7));
}

.cinematic-slide-title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.85rem;
  font-weight: 600;
  color: #fdfbf7;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.95);
  transition: opacity 0.6s ease;
}

.cinematic-slide-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.88);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 26px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  transition: opacity 0.6s ease;
}

/* Slim Golden Progress Line */
.cinematic-progress-wrap {
  width: 240px;
  margin: 0 auto;
}

.cinematic-progress-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 99px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.cinematic-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary), #fef08a);
  box-shadow: 0 0 12px rgba(212, 168, 83, 0.9);
  border-radius: 99px;
  transition: width 0.1s linear;
}

/* ==========================================================================
   ADMIN PANEL: CINEMATIC INTRO SETTINGS TAB
   ========================================================================== */
.intro-config-container {
  background: rgba(20, 29, 47, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(16px);
}

.intro-grid-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
}

@media (max-width: 992px) {
  .intro-grid-layout {
    grid-template-columns: 1fr;
  }
}

.intro-card-panel {
  background: rgba(13, 20, 34, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 22px;
}

.intro-panel-header {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.intro-panel-header.flex-between {
  justify-content: space-between;
}

.intro-toggle-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  background: rgba(212, 168, 83, 0.06);
  border: 1px solid rgba(212, 168, 83, 0.22);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.toggle-main-label {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.toggle-sub-label {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* Switch Control iOS Style */
.switch-control {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  flex-shrink: 0;
}

.switch-control input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: 0.3s;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.switch-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.switch-control input:checked + .switch-slider {
  background-color: var(--gold-primary);
  border-color: var(--gold-light);
}

.switch-control input:checked + .switch-slider:before {
  transform: translateX(24px);
  background-color: #0b111e;
}

.panel-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.intro-slides-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 4px;
}

.intro-slide-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.intro-slide-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 168, 83, 0.4);
  transform: translateY(-2px);
}

.slide-card-thumb {
  width: 68px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--border-gold);
  flex-shrink: 0;
}

.slide-card-info {
  flex: 1;
  min-width: 0;
}

.slide-card-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.slide-card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slide-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.btn-icon-danger {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-icon-danger:hover {
  background: #ef4444;
  color: #fff;
}

.intro-action-btns {
  display: flex;
  align-items: center;
  gap: 12px;
}

.slide-preview-thumb-box {
  width: 100%;
  height: 120px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  margin-top: 8px;
}

.slide-preview-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   HAKKIMIZDA (ABOUT US & BRAND HERITAGE) LUXURY PRESENTATION STYLING
   ========================================================================== */

.about-hero-block {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 50px;
  min-height: 420px;
  display: flex;
  align-items: center;
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.15);
}

.about-hero-img-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.about-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 10s ease;
}

.about-hero-block:hover .about-hero-img {
  transform: scale(1.06);
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 21, 33, 0.94) 0%, rgba(20, 30, 48, 0.85) 50%, rgba(10, 15, 25, 0.72) 100%),
              radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.12), transparent 60%);
}

.about-hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 50px;
  max-width: 820px;
}

.about-hero-title {
  font-size: 2.7rem;
  font-family: var(--font-serif);
  line-height: 1.22;
  margin: 18px 0;
  color: #fff;
  letter-spacing: 0.5px;
}

.about-hero-lead {
  font-size: 1.12rem;
  color: #cbd5e1;
  line-height: 1.7;
  max-width: 680px;
}

/* Story Section */
.about-story-section {
  margin-bottom: 60px;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.about-section-heading {
  font-size: 2.2rem;
  font-family: var(--font-serif);
  color: var(--text-primary);
  margin: 14px 0 20px;
  letter-spacing: 0.5px;
}

.about-paragraph {
  font-size: 1.02rem;
  color: #cbd5e1;
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-paragraph strong {
  color: var(--gold-light);
  font-weight: 600;
}

.about-quote-box {
  background: rgba(33, 47, 72, 0.6);
  border-left: 3px solid var(--gold-primary);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 24px;
  position: relative;
  backdrop-filter: blur(10px);
}

.about-quote-box .quote-icon {
  font-size: 1.3rem;
  color: var(--gold-primary);
  opacity: 0.7;
  margin-bottom: 8px;
}

.about-quote-box .quote-text {
  font-style: italic;
  font-size: 0.98rem;
  color: #f1f5f9;
  line-height: 1.6;
  margin-bottom: 8px;
}

.about-quote-box .quote-author {
  font-size: 0.82rem;
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-story-image-card {
  position: relative;
}

.story-img-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 25px rgba(212, 175, 55, 0.15);
  height: 440px;
}

.story-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-img-container:hover .story-card-img {
  transform: scale(1.04);
}

.story-card-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(14, 21, 33, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.story-card-badge i {
  font-size: 1.6rem;
}

.story-card-badge strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}

.story-card-badge span {
  display: block;
  font-size: 0.8rem;
  color: var(--gold-light);
}

/* 3 Pillars Section */
.about-pillars-section {
  margin-bottom: 70px;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.about-pillar-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
}

.about-pillar-card:hover {
  border-color: var(--border-gold-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.2);
}

.pillar-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.pillar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-pillar-card:hover .pillar-img {
  transform: scale(1.08);
}

.pillar-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(33, 47, 72, 0.95) 100%);
}

.pillar-step-num {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-light);
  background: rgba(14, 21, 33, 0.8);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.pillar-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pillar-icon-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.pillar-icon-row i {
  font-size: 1.3rem;
  color: var(--gold-primary);
}

.pillar-icon-row h3 {
  font-size: 1.18rem;
  color: #fff;
  font-family: var(--font-serif);
}

.pillar-content p {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.pillar-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.pillar-check-list li {
  font-size: 0.86rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.pillar-check-list li i {
  color: var(--gold-primary);
  font-size: 0.8rem;
}

/* Prestige Stats Strip */
.about-stats-strip {
  background: linear-gradient(135deg, rgba(35, 49, 77, 0.95), rgba(27, 38, 59, 0.98));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 70px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(212, 175, 55, 0.2);
}

.about-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-stat-item .stat-number {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff9e6 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}

.about-stat-item .stat-number small {
  font-size: 1.8rem;
}

.about-stat-item .stat-label {
  font-size: 0.88rem;
  color: #94a3b8;
  font-weight: 500;
  letter-spacing: 0.3px;
  max-width: 180px;
}

.about-stat-divider {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, transparent, var(--border-gold), transparent);
}

/* Values Grid */
.about-values-section {
  margin-bottom: 70px;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.value-card {
  background: rgba(33, 47, 72, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  transition: all var(--transition-fast);
}

.value-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  background: rgba(42, 60, 92, 0.9);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.value-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  border: 1.5px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.3rem;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.2);
}

.value-card h4 {
  font-size: 1.05rem;
  color: #fff;
  font-family: var(--font-serif);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* Call to Action Banner */
.about-cta-banner {
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.18) 0%, rgba(33, 47, 72, 0.95) 75%),
              linear-gradient(135deg, #1b263b, #162033);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 35px rgba(212, 175, 55, 0.2);
  margin-bottom: 40px;
}

.about-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold-light);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.about-cta-title {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  color: #fff;
  margin-bottom: 14px;
}

.about-cta-desc {
  font-size: 1.02rem;
  color: #cbd5e1;
  max-width: 650px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.about-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Responsive adjustments for About Page */
@media (max-width: 1024px) {
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-pillars-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-stats-strip {
    flex-wrap: wrap;
    gap: 24px;
  }
  .about-stat-divider {
    display: none;
  }
  .about-stat-item {
    width: 45%;
  }
}

@media (max-width: 768px) {
  .about-hero-title {
    font-size: 2rem;
  }
  .about-hero-content {
    padding: 36px 24px;
  }
  .about-values-grid {
    grid-template-columns: 1fr;
  }
  .about-stat-item {
    width: 100%;
  }
  .about-cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .about-cta-actions .btn {
    width: 100%;
  }
}




