/* =============================================
   ABDIN CONSTRUCTION COMPANY — style.css
   Black & Gold Premium Design
   ============================================= */

/* ---- THEME TOKENS — Dark (default) ---- */
:root,
[data-theme="dark"] {
  --gold: #c9a84c;
  --gold-light: #e8c97b;
  --gold-dark: #a07828;
  --gold-gradient: linear-gradient(135deg, #c9a84c, #e8c97b, #a07828);

  /* Surfaces */
  --bg-base: #0a0a0a;
  --bg-raised: #111111;
  --bg-elevated: #1a1a1a;
  --bg-card: #141414;

  /* Text */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.75);
  --text-muted: rgba(255, 255, 255, 0.45);
  --text-subtle: #aaaaaa;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-gold: rgba(201, 168, 76, 0.15);
  --border-gold-strong: rgba(201, 168, 76, 0.35);

  /* Shadows */
  --shadow-gold: 0 0 30px rgba(201, 168, 76, 0.2);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.4);

  /* Legacy aliases (keep existing code working) */
  --black: var(--bg-base);
  --black-2: var(--bg-raised);
  --black-3: var(--bg-elevated);
  --dark-card: var(--bg-card);
  --white: var(--text-primary);
  --gray-1: #f5f5f0;
  --gray-2: #e8e8e0;
  --gray-3: var(--text-subtle);
  --text-light: var(--text-secondary);

  /* Navbar scrolled */
  --navbar-bg: rgba(10, 10, 10, 0.97);
  --mobile-nav-bg: rgba(10, 10, 10, 0.98);
  --mobile-nav-border: rgba(201, 168, 76, 0.1);

  /* Misc */
  --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --radius: 12px;
  --radius-lg: 20px;
}

/* ---- THEME TOKENS — Light ---- */
[data-theme="light"] {
  --bg-base: #f4f1ec;
  --bg-raised: #ede8df;
  --bg-elevated: #e8e2d8;
  --bg-card: #ffffff;

  --text-primary: #1a1208;
  --text-secondary: rgba(26, 18, 8, 0.78);
  --text-muted: rgba(26, 18, 8, 0.45);
  --text-subtle: #6b5f4a;

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-gold: rgba(160, 120, 40, 0.25);
  --border-gold-strong: rgba(160, 120, 40, 0.5);

  --shadow-gold: 0 0 30px rgba(160, 120, 40, 0.2);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.08);

  --black: var(--bg-base);
  --black-2: var(--bg-raised);
  --black-3: var(--bg-elevated);
  --dark-card: var(--bg-card);
  --white: var(--text-primary);
  --gray-1: #2a1e0a;
  --gray-2: #3d2e10;
  --gray-3: var(--text-subtle);
  --text-light: var(--text-secondary);

  --navbar-bg: rgba(244, 241, 236, 0.97);
  --mobile-nav-bg: rgba(244, 241, 236, 0.98);
  --mobile-nav-border: rgba(160, 120, 40, 0.15);
}

/* ---- RESET ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

button {
  border: none;
  cursor: pointer;
  background: none;
}

ul {
  list-style: none;
}

input,
textarea,
select {
  font-family: inherit;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

/* ---- UTILITIES ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 90%;
}

.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--black-2);
}

.gold {
  color: var(--gold);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-tag::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold);
  display: block;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-3);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 0;
}

.section-header.center {
  text-align: center;
  margin-bottom: 60px;
}

.section-header.center .section-tag {
  margin: 0 auto 16px;
}

.section-header.center .section-desc {
  margin: 0 auto;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-gradient);
  color: var(--black);
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 4px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-100%);
  transition: transform 0.4s;
}

.btn-primary:hover::before {
  transform: translateX(0);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 168, 76, 0.4);
}

.btn-primary.full-width {
  width: 100%;
  justify-content: center;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  padding: 15px 32px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-outline svg {
  transition: transform 0.3s;
}

.btn-outline:hover svg {
  transform: translateX(4px);
}

/* =============================================
   PRELOADER
   ============================================= */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition:
    opacity 0.5s,
    visibility 0.5s;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.preloader-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  animation: pulse-logo 1.5s ease-in-out infinite;
}

@keyframes pulse-logo {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(0.97);
  }
}

.preloader-bar {
  width: 160px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 2px;
  animation: preload 1.8s ease-in-out forwards;
}

@keyframes preload {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

/* =============================================
   NAVBAR
   ============================================= */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

#navbar.scrolled {
  background: var(--navbar-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

/* When mobile drawer is open — solid background, NO backdrop-filter to avoid stacking context */
#navbar.menu-open {
  background: var(--navbar-bg);
  border-bottom: 1px solid var(--border-gold);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#navbar.scrolled.menu-open {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo img {
  height: 52px;
  width: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(201, 168, 76, 0.3);
  transition: var(--transition);
}

.nav-logo:hover img {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 14px;
  border-radius: 4px;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-cta {
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--gold-gradient);
  color: var(--black);
  padding: 10px 24px;
  border-radius: 4px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  cursor: pointer;
  z-index: 1001;
  position: relative;
  border-radius: 6px;
  transition: background 0.2s;
}

.hamburger:hover {
  background: rgba(201, 168, 76, 0.08);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition:
    transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.25s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 50% at 70% 50%,
      rgba(201, 168, 76, 0.07) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 60% at 20% 80%,
      rgba(201, 168, 76, 0.04) 0%,
      transparent 50%
    ),
    linear-gradient(135deg, #0a0a0a 0%, #111111 50%, #0d0d0d 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><rect width="60" height="60" fill="none" stroke="rgba(201,168,76,0.04)" stroke-width="0.5"/></svg>');
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: float-particle var(--duration, 8s) var(--delay, 0s) ease-in-out
    infinite;
}

@keyframes float-particle {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0);
  }

  10% {
    opacity: var(--max-opacity, 0.6);
    transform: translateY(-20px) scale(1);
  }

  90% {
    opacity: var(--max-opacity, 0.6);
  }

  100% {
    opacity: 0;
    transform: translateY(-300px) scale(0);
  }
}

.hero-content {
  position: relative;
  max-width: 780px;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 32px;
  animation: fade-up 0.8s ease 0.3s both;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.title-line {
  display: block;
  overflow: hidden;
}

.title-line:nth-child(1) {
  animation: fade-up 0.9s ease 0.4s both;
}

.title-line:nth-child(2) {
  animation: fade-up 0.9s ease 0.55s both;
  color: var(--gold);
}

.title-line:nth-child(3) {
  animation: fade-up 0.9s ease 0.7s both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 44px;
  animation: fade-up 0.9s ease 0.85s both;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 72px;
  animation: fade-up 0.9s ease 1s both;
}

.hero-stats {
  display: flex;
  gap: 0;
  animation: fade-up 0.9s ease 1.15s both;
}

.stat-item {
  display: flex;
  flex-direction: column;
  padding: 0 40px 0 0;
}

.stat-item:first-child {
  padding-left: 0;
}

.stat-number {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-suffix {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--gold);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  background: rgba(201, 168, 76, 0.2);
  margin: 0 40px 0 0;
  align-self: stretch;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: fade-up 1s ease 1.5s both;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  60% {
    transform: translateY(10px);
    opacity: 0;
  }

  61% {
    transform: translateY(-4px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* =============================================
   TICKER
   ============================================= */
.ticker-wrapper {
  background: var(--gold);
  overflow: hidden;
  padding: 14px 0;
}

.ticker-track {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

.ticker-track span {
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
  flex-shrink: 0;
}

.ticker-dot {
  color: var(--black-2) !important;
  font-size: 10px !important;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* =============================================
   ABOUT
   ============================================= */
.about {
  background: var(--black);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-stack {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  max-width: 440px;
  background: var(--dark-card);
  border: 1px solid rgba(201, 168, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-img-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(201, 168, 76, 0.06) 0%,
    transparent 70%
  );
}

.construction-visual {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 40px;
}

.visual-arch {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 80px;
  height: 80px;
  border-top: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
  opacity: 0.4;
}

.visual-building {
  width: 180px;
  text-align: center;
}

.building-body {
  width: 100%;
  height: 260px;
  background: linear-gradient(
    to bottom,
    rgba(201, 168, 76, 0.15),
    rgba(201, 168, 76, 0.05)
  );
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 2px 2px 0 0;
  margin-bottom: 0;
  position: relative;
}

.building-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: rgba(201, 168, 76, 0.2);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-bottom: none;
}

.building-windows {
  padding: 20px 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  inset: 30px 0 0;
}

.win-row {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.win {
  width: 28px;
  height: 36px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 1px;
  animation: window-glow 3s ease-in-out infinite;
}

.win:nth-child(2) {
  animation-delay: 0.5s;
}

.win:nth-child(3) {
  animation-delay: 1s;
}

@keyframes window-glow {
  0%,
  100% {
    background: rgba(201, 168, 76, 0.08);
  }

  50% {
    background: rgba(201, 168, 76, 0.2);
  }
}

.about-badge-box {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--gold-gradient);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 20px 60px rgba(201, 168, 76, 0.3);
}

.badge-icon {
  color: var(--black);
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-text strong {
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}

.badge-text span {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.7);
}

.about-experience-tag {
  position: absolute;
  top: 24px;
  right: -32px;
  background: var(--black-3);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.exp-number {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.exp-text {
  display: block;
  font-size: 11px;
  color: var(--gray-3);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 6px;
  max-width: 80px;
  line-height: 1.4;
}

.about-content {
  padding-left: 20px;
}

.about-lead {
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-text {
  color: var(--gray-3);
  line-height: 1.9;
  margin-bottom: 36px;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--gray-3);
}

.pillar-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

/* =============================================
   SERVICES
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.service-card {
  background: var(--dark-card);
  padding: 40px 32px;
  position: relative;
  cursor: default;
  overflow: hidden;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center bottom,
    rgba(201, 168, 76, 0.08) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.service-card:hover .service-icon {
  background: rgba(201, 168, 76, 0.15);
  border-color: rgba(201, 168, 76, 0.4);
  transform: scale(1.05);
}

.service-card h3 {
  font-family: "Oswald", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--gray-3);
  line-height: 1.7;
}

.service-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--gold-gradient);
  transition: height 0.4s;
}

.service-card:hover .service-line {
  height: 100%;
}

/* =============================================
   PROJECTS
   ============================================= */
.projects {
  background: var(--black);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.project-card.large {
  grid-column: span 2;
}

.project-visual {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}

.project-card.large .project-visual {
  aspect-ratio: 16/9;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    rgba(0, 0, 0, 0.45) 100%
  );
  z-index: 1;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.55) 35%,
    rgba(0, 0, 0, 0.1) 65%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 28px;
  opacity: 1;
  transition: var(--transition);
  z-index: 2;
}

.project-card:hover .project-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.96) 0%,
    rgba(0, 0, 0, 0.7) 40%,
    rgba(0, 0, 0, 0.15) 70%,
    transparent 100%
  );
}



.project-info {
  transform: translateY(0);
  transition: var(--transition);
}

.project-info p {
  font-size: 0.85rem;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  margin-top: 4px;
}

.project-card:hover .project-info p {
  opacity: 1;
  transform: translateY(0);
}

.project-cat {
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.project-info h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.projects-cta {
  text-align: center;
  margin-top: 48px;
}

/* =============================================
   WHY US
   ============================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.why-card {
  background: var(--dark-card);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.why-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at top left,
    rgba(201, 168, 76, 0.06) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s;
}

.why-card:hover::before {
  opacity: 1;
}

.why-card:hover {
  transform: translateY(-4px);
}

.why-number {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  font-weight: 700;
  color: rgba(201, 168, 76, 0.06);
  line-height: 1;
  position: absolute;
  top: 20px;
  right: 24px;
  transition: color 0.4s;
}

.why-card:hover .why-number {
  color: rgba(201, 168, 76, 0.12);
}

.why-icon {
  width: 60px;
  height: 60px;
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 24px;
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: rgba(201, 168, 76, 0.12);
  border-color: rgba(201, 168, 76, 0.3);
}

.why-card h3 {
  font-family: "Oswald", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--gray-3);
  line-height: 1.8;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials {
  background: var(--black);
}

.testimonials-swiper {
  position: relative;
  padding: 0 60px 60px;
}

.swiper-slide {
  height: auto;
}

.testimonial-card {
  min-width: 100%;
  background: var(--dark-card);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 30px;
  font-family: "Playfair Display", serif;
  font-size: 8rem;
  color: rgba(201, 168, 76, 0.06);
  line-height: 1;
}

.testimonial-card:hover {
  border-color: rgba(201, 168, 76, 0.25);
  box-shadow: var(--shadow-gold);
}

.stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.testimonial-card p {
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.9;
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  flex-shrink: 0;
}

.testimonial-author > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-author strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.testimonial-author span {
  display: block;
  font-size: 0.8rem;
  color: var(--gray-3);
}

.swiper-button-prev,
.swiper-button-next {
  width: 48px;
  height: 48px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 50%;
  color: var(--gold);
  transition: var(--transition);
}

.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 18px;
  font-weight: bold;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.swiper-pagination {
  bottom: 0 !important;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(201, 168, 76, 0.3);
  opacity: 1;
  transition: var(--transition);
}

.swiper-pagination-bullet-active {
  background: var(--gold);
  width: 28px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .testimonials-swiper {
    padding: 0 0 120px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    top: auto;
    bottom: 50px;
  }

  .swiper-button-prev {
    left: 50%;
    transform: translateX(-60px);
  }

  .swiper-button-next {
    right: 50%;
    transform: translateX(60px);
  }
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  background: var(--black-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-desc {
  color: var(--gray-3);
  line-height: 1.8;
  margin-bottom: 44px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: var(--transition);
}

.contact-item:hover {
  background: rgba(201, 168, 76, 0.05);
  border-color: rgba(201, 168, 76, 0.15);
}

.contact-icon {
  width: 46px;
  height: 46px;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-item:hover .contact-icon {
  background: rgba(201, 168, 76, 0.15);
  border-color: rgba(201, 168, 76, 0.35);
}

.ci-label {
  display: block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.ci-value {
  display: block;
  font-size: 0.95rem;
  color: var(--white);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--dark-card);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
}

.contact-form h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 6px;
  padding: 14px 18px;
  color: var(--white);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-group select {
  appearance: none;
  cursor: pointer;
}

.form-group select option {
  background: var(--black-3);
  color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.05);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 20px;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 6px;
  color: var(--gold);
  font-size: 0.9rem;
}

.form-success.show {
  display: flex;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.footer-brand p {
  color: var(--gray-3);
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-3);
  transition: var(--transition);
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}

.footer-col h4 {
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a,
.footer-col ul li span {
  font-size: 0.88rem;
  color: var(--gray-3);
  transition: color 0.3s;
  line-height: 1.5;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--gray-3);
}

/* Compact icon-only theme switcher in footer-bottom */
.theme-switcher-inline {
  background: var(--bg-elevated);
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  padding: 4px;
  gap: 2px;
  flex-shrink: 0;
}

.theme-switcher-inline .theme-btn {
  padding: 7px;
  gap: 0;
  border-radius: 100px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-switcher-inline .theme-btn.active {
  background: var(--gold-gradient);
  box-shadow: 0 2px 10px rgba(201, 168, 76, 0.3);
}

.theme-switcher-inline .theme-btn.active svg {
  stroke: #1a1208;
}

/* =============================================
   WHATSAPP FAB
   ============================================= */
.whatsapp-fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: fab-pulse 3s ease-in-out infinite;
}

.whatsapp-fab:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 16px 48px rgba(37, 211, 102, 0.5);
}

@keyframes fab-pulse {
  0%,
  100% {
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow:
      0 8px 32px rgba(37, 211, 102, 0.4),
      0 0 0 12px rgba(37, 211, 102, 0.1);
  }
}

.fab-tooltip {
  position: absolute;
  right: 72px;
  background: var(--black-3);
  color: var(--white);
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.fab-tooltip::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: var(--black-3);
}

.whatsapp-fab:hover .fab-tooltip {
  opacity: 1;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-card.large {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-content {
    padding-left: 0;
  }

  .about-experience-tag {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-card {
    min-width: calc(100%);
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Mobile nav panel — uses absolute to avoid backdrop-filter stacking context bug */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    right: 0;
    width: min(300px, 88vw);
    height: 100vh;
    background: var(--mobile-nav-bg);
    padding: 90px 36px 48px;
    border-left: 1px solid var(--border-gold);
    gap: 4px;
    z-index: 1000;
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    /* Slide in from right */
    animation: slideInRight 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  }

  @keyframes slideInRight {
    from {
      clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    }

    to {
      clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
  }

  /* Gold accent bar at top of mobile nav */
  .nav-links.open::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold-gradient);
  }

  .nav-link {
    padding: 16px 12px;
    font-size: 15px;
    letter-spacing: 2px;
    border-radius: 8px;
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
  }

  .nav-link::after {
    display: none;
    /* hide the underline pseudo element on mobile */
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(201, 168, 76, 0.08);
    color: var(--gold);
    padding-left: 20px;
  }

  .nav-link.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    background: var(--gold-gradient);
    border-radius: 2px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    padding: 0;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card.large {
    grid-column: span 1;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 32px 24px;
  }

  .contact-item {
    padding: 16px;
    gap: 16px;
  }

  .ci-value {
    font-size: 0.88rem;
    word-break: break-word;
  }

  .section {
    padding: 72px 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   THEME TRANSITION (smooth switching)
   ============================================= */
html {
  transition:
    background-color 0.4s ease,
    color 0.4s ease;
}

body,
body * {
  transition-property: background-color, border-color, color, box-shadow;
  transition-duration: 0.3s;
  transition-timing-function: ease;
}

/* Exclude animation elements from theme transition */
.particle,
.preloader-fill,
.preloader-logo,
.scroll-wheel,
.badge-dot,
.win,
.ticker-track,
.service-card,
.title-line {
  transition-property: none !important;
}

.service-card {
  transition:
    transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.35s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}

/* =============================================
   LIGHT THEME SPECIFIC OVERRIDES
   ============================================= */
[data-theme="light"] body {
  background: var(--bg-base);
  color: var(--text-primary);
}

/* Scrollbar */
[data-theme="light"] ::-webkit-scrollbar-track {
  background: var(--bg-raised);
}

/* Navbar */
[data-theme="light"] #navbar.scrolled {
  background: var(--navbar-bg);
  border-bottom-color: var(--border-gold);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .nav-link {
  color: rgba(26, 18, 8, 0.6);
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: var(--text-primary);
}

[data-theme="light"] .hamburger span {
  background: var(--text-primary);
}

[data-theme="light"] .nav-links.open {
  background: var(--mobile-nav-bg);
  border-left-color: var(--border-gold);
}

/* Hero */
[data-theme="light"] .hero-bg {
  background:
    radial-gradient(
      ellipse 60% 50% at 70% 50%,
      rgba(201, 168, 76, 0.1) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 60% at 20% 80%,
      rgba(201, 168, 76, 0.06) 0%,
      transparent 50%
    ),
    linear-gradient(135deg, #f4f1ec 0%, #ede8df 50%, #f0ebe1 100%);
}

[data-theme="light"] .hero-subtitle {
  color: var(--text-secondary);
}

[data-theme="light"] .stat-label {
  color: var(--text-muted);
}

[data-theme="light"] .hero-scroll-indicator {
  color: var(--text-muted);
}

/* Section backgrounds */
[data-theme="light"] .section-dark {
  background: var(--bg-raised);
}

[data-theme="light"] .about {
  background: var(--bg-base);
}

[data-theme="light"] .projects {
  background: var(--bg-base);
}

[data-theme="light"] .testimonials {
  background: var(--bg-base);
}

[data-theme="light"] .footer {
  background: var(--bg-base);
  border-top-color: var(--border-gold);
}

/* About section */
[data-theme="light"] .about-img-main {
  background: var(--bg-card);
  border-color: var(--border-gold);
}

[data-theme="light"] .about-experience-tag {
  background: var(--bg-card);
  border-color: var(--border-gold);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .about-text {
  color: var(--text-subtle);
}

[data-theme="light"] .about-lead {
  color: var(--text-primary);
}

[data-theme="light"] .pillar {
  color: var(--text-subtle);
}

/* Cards */
[data-theme="light"] .service-card {
  background: var(--bg-card);
}

[data-theme="light"] .service-card h3 {
  color: var(--text-primary);
}

[data-theme="light"] .service-card p {
  color: var(--text-subtle);
}

[data-theme="light"] .why-card {
  background: var(--bg-card);
}

[data-theme="light"] .why-card h3 {
  color: var(--text-primary);
}

[data-theme="light"] .why-card p {
  color: var(--text-subtle);
}

[data-theme="light"] .testimonial-card {
  background: var(--bg-card);
  border-color: var(--border-gold);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .testimonial-card p {
  color: var(--text-secondary);
}

[data-theme="light"] .testimonial-card strong {
  color: var(--text-primary);
}

[data-theme="light"] .testimonial-card span {
  color: var(--text-subtle);
}

/* Section text */
[data-theme="light"] .section-title {
  color: var(--text-primary);
}

[data-theme="light"] .section-desc {
  color: var(--text-subtle);
}

[data-theme="light"] .exp-text {
  color: var(--text-subtle);
}

/* Contact */
[data-theme="light"] .contact-form-wrapper {
  background: var(--bg-card);
  border-color: var(--border-gold);
}

[data-theme="light"] .contact-form h3 {
  color: var(--text-primary);
}

[data-theme="light"] .contact-desc {
  color: var(--text-subtle);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
  background: var(--bg-raised);
  border-color: var(--border-gold);
  color: var(--text-primary);
}

[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder {
  color: rgba(26, 18, 8, 0.28);
}

[data-theme="light"] .form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group select:focus,
[data-theme="light"] .form-group textarea:focus {
  border-color: var(--gold);
  background: var(--bg-base);
}

[data-theme="light"] .contact-item:hover {
  background: rgba(160, 120, 40, 0.06);
  border-color: var(--border-gold);
}

[data-theme="light"] .ci-value {
  color: var(--text-primary);
}

/* Buttons */
[data-theme="light"] .btn-outline {
  color: var(--text-primary);
  border-color: rgba(26, 18, 8, 0.2);
}

[data-theme="light"] .btn-outline:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* Footer */
[data-theme="light"] .footer-brand p {
  color: var(--text-subtle);
}

[data-theme="light"] .footer-col h4 {
  color: var(--gold-dark);
}

[data-theme="light"] .footer-col ul li a,
[data-theme="light"] .footer-col ul li span {
  color: var(--text-subtle);
}

[data-theme="light"] .footer-col ul li a:hover {
  color: var(--text-primary);
}

[data-theme="light"] .social-link {
  border-color: var(--border-gold);
  color: var(--text-subtle);
}

[data-theme="light"] .footer-bottom {
  border-top-color: var(--border-subtle);
}

[data-theme="light"] .footer-bottom p {
  color: var(--text-subtle);
}

/* Preloader */
[data-theme="light"] #preloader {
  background: var(--bg-base);
}

/* Carousel */
[data-theme="light"] .carousel-btn {
  border-color: var(--border-gold);
}

[data-theme="light"] .carousel-btn:hover {
  background: rgba(160, 120, 40, 0.08);
  border-color: var(--gold);
}

[data-theme="light"] .carousel-dot {
  background: rgba(26, 18, 8, 0.15);
}

[data-theme="light"] .carousel-dot.active {
  background: var(--gold);
}

/* FAB Tooltip */
[data-theme="light"] .fab-tooltip {
  background: var(--text-primary);
  color: var(--bg-base);
}

[data-theme="light"] .fab-tooltip::after {
  border-left-color: var(--text-primary);
}

/* =============================================
   THEME SWITCHER COMPONENT
   ============================================= */
.theme-switcher-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 28px 0 20px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.theme-label {
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.theme-switcher {
  display: inline-flex;
  background: var(--bg-elevated);
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  padding: 4px;
  gap: 2px;
}

.theme-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-subtle);
  padding: 9px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition:
    background 0.3s,
    color 0.3s,
    box-shadow 0.3s;
  background: none;
  border: none;
  white-space: nowrap;
}

.theme-btn:hover:not(.active) {
  color: var(--text-primary);
}

.theme-btn.active {
  background: var(--gold-gradient);
  color: #1a1208 !important;
  box-shadow: 0 3px 14px rgba(201, 168, 76, 0.35);
}

.theme-btn.active svg {
  stroke: #1a1208;
}

@media (max-width: 520px) {
  .theme-switcher-wrapper {
    flex-direction: column;
    gap: 12px;
  }

  .theme-btn {
    padding: 8px 14px;
    font-size: 11px;
  }
}
