@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,300;1,9..40,400&display=swap');

/* ─────────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────────── */
:root {
  --red:       #c0392b;
  --red-light: #e74c3c;
  --red-glow:  rgba(192, 57, 43, 0.18);
  --gold:      #f0a500;
  --white:     #ffffff;
  --off-white: #f8f5f0;
  --gray-100:  #f0ebe3;
  --gray-200:  #d6cdc1;
  --gray-500:  #8a7d70;
  --dark-900:  #100d0b;
  --dark-800:  #1a1512;
  --dark-700:  #231e1a;
  --dark-600:  #2e2720;
  --text-body: #c8bdb2;

  --glass-light:  rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-heavy:  rgba(255, 255, 255, 0.13);

  --r-full: 999px;
  --r-xl:   20px;
  --r-lg:   14px;
  --r-md:   10px;

  --shadow-red:  0 8px 32px rgba(192, 57, 43, 0.22);
  --shadow-card: 0 2px 20px rgba(0, 0, 0, 0.45);
  --shadow-lg:   0 16px 48px rgba(0, 0, 0, 0.60);

  --font-display: 'DM Serif Display', serif;
  --font-body:    'DM Sans', sans-serif;

  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light theme overrides */
body.light-theme {
  --dark-900: #f8f5f0;
  --dark-800: #ede8e1;
  --dark-700: #e2dbd3;
  --dark-600: #d6cdc1;
  --text-body: #5a4f45;
  --glass-light:  rgba(255, 255, 255, 0.60);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-heavy:  rgba(255, 255, 255, 0.80);
  --shadow-card: 0 2px 20px rgba(0, 0, 0, 0.10);
  --shadow-lg:   0 16px 48px rgba(0, 0, 0, 0.14);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--dark-900);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--transition), color var(--transition);
}

/* Fixed Background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('../images/about-pic1.jpg') center center / cover no-repeat;
  opacity: 0.06;
  z-index: -2;
  pointer-events: none;
  transform: translate3d(0,0,0);
}

body.light-theme::before {
  opacity: 0.12;
}

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

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--white);
  line-height: 1.12;
  font-weight: 400; /* DM Serif Display has no bold — the regular weight is its strong weight */
  letter-spacing: -0.01em;
}

body.light-theme h1,
body.light-theme h2,
body.light-theme h3,
body.light-theme h4,
body.light-theme h5 {
  color: var(--dark-900);
}

p {
  line-height: 1.75;
}

/* ─────────────────────────────────────────────
   CANVAS GRID BACKGROUND
───────────────────────────────────────────── */
#gridCanvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* ─────────────────────────────────────────────
   PRELOADER
───────────────────────────────────────────── */
.preloader-overlay {
  position: fixed;
  inset: 0;
  background: var(--dark-900);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  height: 60px;
  width: auto;
  animation: pulseLogo 1.8s ease-in-out infinite;
}

@keyframes pulseLogo {
  0%, 100% { opacity: 0.7; transform: scale(0.97); }
  50% { opacity: 1;  transform: scale(1.02); }
}

.preloader-progress-container {
  width: 200px;
  height: 3px;
  background: var(--glass-light);
  border-radius: var(--r-full);
  overflow: hidden;
}

.preloader-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(to right, var(--red), var(--red-light));
  border-radius: var(--r-full);
  animation: fillProgress 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fillProgress {
  0%   { width: 0%;   }
  60%  { width: 78%;  }
  100% { width: 100%; }
}

.preloader-text {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
}

/* ─────────────────────────────────────────────
   LAYOUT UTILITIES
───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  padding: 90px 0;
}

.section-sm {
  padding: 60px 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-glow);
  border: 1px solid rgba(192, 57, 43, 0.30);
  color: var(--red-light);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin-bottom: 18px;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-light);
  animation: blinkDot 1.4s ease infinite;
}

@keyframes blinkDot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.section-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 400;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-sub {
  font-size: 15px;
  color: var(--gray-500);
  max-width: 520px;
  line-height: 1.7;
}

/* ─────────────────────────────────────────────
   HEADER / NAVBAR (THREE-PILL)
───────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 18px 24px;
  pointer-events: none;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: all;
}

/* Brand Pill */
.nav-brand-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--glass-heavy);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-radius: var(--r-full);
  padding: 8px 18px 8px 10px;
  height: 52px;
  transition: background var(--transition), border-color var(--transition);
}

.nav-brand-pill img {
  height: 34px;
  width: auto;
}

.nav-brand-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  letter-spacing: 0.3px;
  line-height: 1.25;
}

body.light-theme .nav-brand-name {
  color: var(--dark-900);
}

.nav-brand-tagline {
  font-size: 9px;
  color: var(--red-light);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
}

/* Center Nav Pill */
.nav-links-pill {
  display: none; /* mobile: hidden */
  align-items: center;
  background: var(--glass-heavy);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-radius: var(--r-full);
  padding: 6px 8px;
  height: 52px;
  gap: 2px;
}

.nav-links-pill a {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gray-200);
  padding: 7px 16px;
  border-radius: var(--r-full);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-links-pill a:hover,
.nav-links-pill a.active {
  background: var(--red);
  color: var(--white);
}

body.light-theme .nav-links-pill a {
  color: var(--dark-700);
}

/* Action Pill */
.nav-action-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-heavy);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-radius: var(--r-full);
  padding: 6px 10px;
  height: 52px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-200);
  font-size: 15px;
  transition: all var(--transition);
}

body.light-theme .icon-btn {
  color: var(--dark-700);
}

.icon-btn:hover {
  background: var(--glass-light);
  color: var(--white);
}

.hamburger {
  flex-direction: column;
  gap: 4px;
}

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

body.light-theme .hamburger span {
  background: var(--dark-700);
}

.hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-cta {
  display: none;
  background: var(--red);
  color: var(--white) !important;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: var(--r-full);
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(192, 57, 43, 0.35);
}

.nav-cta:hover {
  background: var(--red-light);
  transform: translateY(-1px);
}

/* Mobile Drawer */
.nav-mobile-drawer {
  display: none;
  position: fixed;
  top: 86px;
  left: 16px;
  right: 16px;
  background: var(--dark-800);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--r-xl);
  padding: 16px;
  z-index: 890;
  box-shadow: var(--shadow-lg);
}

body.light-theme .nav-mobile-drawer {
  background: rgba(255, 255, 255, 0.94);
}

.nav-mobile-drawer.open {
  display: block;
  animation: slideDown 0.2s ease;
}

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

.nav-mobile-drawer a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-200);
  padding: 12px 14px;
  border-radius: var(--r-lg);
  transition: all var(--transition);
}

body.light-theme .nav-mobile-drawer a {
  color: var(--dark-700);
}

.nav-mobile-drawer a:hover,
.nav-mobile-drawer a.active {
  background: var(--red-glow);
  color: var(--red-light);
}

.drawer-divider {
  height: 1px;
  background: var(--glass-border);
  margin: 10px 0;
}

/* ─────────────────────────────────────────────
   TOP UTILITY BAR
───────────────────────────────────────────── */
.utility-bar {
  background: var(--red);
  padding: 7px 0;
  text-align: center;
  position: relative;
  z-index: 800;
}

.utility-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.utility-bar a {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition);
}

.utility-bar a:hover {
  color: var(--white);
}

/* ─────────────────────────────────────────────
   GLASS CARDS
───────────────────────────────────────────── */
.card {
  background: var(--glass-light);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

body.light-theme .card {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0,0,0,0.07);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(192, 57, 43, 0.22);
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--r-lg);
  background: var(--red-glow);
  border: 1px solid rgba(192, 57, 43, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-light);
  font-size: 20px;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

body.light-theme .card h3 {
  color: var(--dark-900);
}

.card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 13px 28px;
  border-radius: var(--r-full);
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(192, 57, 43, 0.35);
}

.btn-ghost {
  background: var(--glass-light);
  color: var(--gray-200);
  border: 1px solid var(--glass-border);
}

body.light-theme .btn-ghost {
  color: var(--dark-700);
  background: rgba(255,255,255,0.6);
  border-color: rgba(0,0,0,0.1);
}

.btn-ghost:hover {
  background: var(--glass-heavy);
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

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

.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.hero-bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(16,13,11,0.3) 0%, rgba(16,13,11,0.92) 80%);
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--red);
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: normal;
  color: var(--red-light);
  position: relative;
}

.hero-title em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  opacity: 0.5;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-body);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 36px;
  border-top: 1px solid var(--glass-border);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
}

.hero-stat-label {
  font-size: 12px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ─────────────────────────────────────────────
   MARQUEE / NOTICES
───────────────────────────────────────────── */
.notice-bar {
  background: var(--dark-800);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
  height: 46px;
  display: flex;
  align-items: center;
}

.notice-label {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0 18px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.notice-content {
  flex: 1;
  overflow: hidden;
  padding: 0 16px;
  font-size: 13.5px;
  color: var(--gray-200);
}

.notice-content a {
  color: var(--gray-200);
  margin-right: 48px;
  transition: color var(--transition);
}

.notice-content a:hover {
  color: var(--red-light);
}

/* ─────────────────────────────────────────────
   FEATURES GRID
───────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* ─────────────────────────────────────────────
   ABOUT SPLIT
───────────────────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
}

.about-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  filter: brightness(0.88);
}

.about-img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--dark-800);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 14px 18px;
  backdrop-filter: blur(12px);
}

body.light-theme .about-img-badge {
  background: rgba(255,255,255,0.9);
}

.about-img-badge-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--red-light);
}

.about-img-badge-label {
  font-size: 12px;
  color: var(--gray-500);
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.pillar {
  background: var(--glass-light);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 16px;
}

body.light-theme .pillar {
  background: rgba(255,255,255,0.6);
  border-color: rgba(0,0,0,0.07);
}

.pillar-icon {
  color: var(--red-light);
  font-size: 18px;
  margin-bottom: 8px;
}

.pillar h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--white);
}

body.light-theme .pillar h4 {
  color: var(--dark-900);
}

.pillar p {
  font-size: 12.5px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────
   GALLERY
───────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  will-change: transform;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16,13,11,0.85) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay span {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

/* ─────────────────────────────────────────────
   LIGHTBOX
───────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10,8,7,0.95);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 860px;
  width: 100%;
}

.lightbox-inner img {
  width: 100%;
  border-radius: var(--r-xl);
  max-height: 75vh;
  object-fit: contain;
}

.lightbox-caption {
  text-align: center;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gray-200);
}

.lightbox-close {
  position: absolute;
  top: -42px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.lightbox-close:hover { opacity: 1; }

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  font-size: 18px;
}

.lightbox-btn:hover { background: var(--red); }
.lightbox-prev { left: -56px; }
.lightbox-next { right: -56px; }

/* ─────────────────────────────────────────────
   BANNER (page-level hero for inner pages)
───────────────────────────────────────────── */
.page-banner {
  padding: 130px 0 60px;
  background: linear-gradient(135deg, rgba(192,57,43,0.10) 0%, transparent 60%);
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 0;
}

.page-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 14px;
}

.page-banner h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.page-banner p {
  font-size: 15px;
  color: var(--gray-500);
  max-width: 480px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--gray-500);
}

.breadcrumb a {
  color: var(--gray-500);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--red-light);
}

.breadcrumb .sep {
  opacity: 0.4;
  font-size: 10px;
}

.breadcrumb .current {
  color: var(--red-light);
}

/* ─────────────────────────────────────────────
   DATA TABLES
───────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-xl);
  border: 1px solid var(--glass-border);
  background: var(--dark-800);
}

body.light-theme .table-wrap {
  background: rgba(255,255,255,0.8);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 13.5px;
}

.data-table thead tr {
  background: var(--red);
}

.data-table th {
  padding: 13px 16px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  text-align: left;
  white-space: nowrap;
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-body);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover td {
  background: var(--glass-light);
}

/* ─────────────────────────────────────────────
   DOWNLOAD BADGE
───────────────────────────────────────────── */
.dl-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--red-glow);
  border: 1px solid rgba(192,57,43,0.20);
  color: var(--red-light);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--r-full);
  transition: all var(--transition);
}

.dl-badge:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* ─────────────────────────────────────────────
   CONTACT
───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-lg);
  background: var(--red-glow);
  border: 1px solid rgba(192,57,43,0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-light);
  font-size: 16px;
  flex-shrink: 0;
}

.contact-item-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.contact-item-val {
  font-size: 14px;
  color: var(--gray-200);
  font-weight: 500;
}

body.light-theme .contact-item-val {
  color: var(--dark-700);
}

.map-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  height: 280px;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.site-footer {
  background: var(--dark-800);
  border-top: 1px solid var(--glass-border);
  padding: 64px 0 0;
}

body.light-theme .site-footer {
  background: rgba(0,0,0,0.04);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 38px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h5 {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-200);
  margin-bottom: 18px;
}

body.light-theme .footer-col h5 {
  color: var(--dark-700);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13.5px;
  color: var(--gray-500);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  opacity: 0.6;
}

.footer-links a:hover {
  color: var(--red-light);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.footer-contact-item i {
  color: var(--red-light);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12.5px;
  color: var(--gray-500);
}

.footer-bottom a {
  color: var(--red-light);
  font-weight: 600;
}

/* ─────────────────────────────────────────────
   SCROLL TO TOP
───────────────────────────────────────────── */
#toTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 500;
  box-shadow: var(--shadow-red);
  transition: all var(--transition);
}

#toTop:hover {
  background: var(--red-light);
  transform: translateY(-3px);
}

/* ─────────────────────────────────────────────
   FORMS
───────────────────────────────────────────── */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: var(--glass-light);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-200);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}

body.light-theme .form-control {
  background: rgba(255,255,255,0.7);
  color: var(--dark-700);
  border-color: rgba(0,0,0,0.10);
}

.form-control:focus {
  border-color: var(--red);
  background: var(--glass-heavy);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* ─────────────────────────────────────────────
   TERMINAL (Developers Page)
───────────────────────────────────────────── */
.terminal-window {
  background: #0c0c10;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: 24px 0;
}

.terminal-header {
  background: #18181c;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot.red    { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green  { background: #27c93f; }

.terminal-title {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  font-family: 'Consolas', monospace;
}

.terminal-body {
  padding: 18px 20px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.7;
  min-height: 180px;
  color: #e2e8f0;
}

.t-prompt  { color: #ff79c6; }
.t-cmd     { color: #50fa7b; }
.t-success { color: #8be9fd; }
.t-info    { color: #f1fa8c; }
.t-cursor  { display: inline-block; width: 7px; height: 14px; background: #e2e8f0; vertical-align: middle; margin-left: 2px; animation: blinkCursor 0.8s infinite; }

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ─────────────────────────────────────────────
   DEV STATS
───────────────────────────────────────────── */
.dev-stats-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 20px 0;
}

.dev-stat-card {
  background: var(--glass-light);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 18px;
  text-align: center;
}

body.light-theme .dev-stat-card {
  background: rgba(255,255,255,0.6);
  border-color: rgba(0,0,0,0.07);
}

.dev-stat-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--red-light);
  margin-bottom: 4px;
}

.dev-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-500);
  font-weight: 600;
}

.dev-logo-container {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(192,57,43,0.30);
  margin: 0 auto 20px;
  box-shadow: 0 0 0 4px var(--red-glow);
}

.dev-logo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─────────────────────────────────────────────
   RESPONSIVE — TABLET
───────────────────────────────────────────── */
@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ─────────────────────────────────────────────
   RESPONSIVE — DESKTOP
───────────────────────────────────────────── */
@media (min-width: 992px) {
  .nav-links-pill {
    display: flex;
  }
  .nav-cta {
    display: inline-flex;
  }
  .about-split {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1080px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ─────────────────────────────────────────────
   UTILITIES & MISC
───────────────────────────────────────────── */
.text-red   { color: var(--red-light); }
.text-muted { color: var(--gray-500); }
.text-white { color: var(--white); }
.fw-800     { font-weight: 800; }
.mt-8       { margin-top: 8px; }
.mt-12      { margin-top: 12px; }
.mt-20      { margin-top: 20px; }
.mt-32      { margin-top: 32px; }
.mb-8       { margin-bottom: 8px; }

.divider {
  height: 1px;
  background: var(--glass-border);
  margin: 40px 0;
}

/* Fade in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Page content top padding (accounts for fixed header) */
.page-content {
  padding-top: 90px;
}
