:root {
  --primary-accent: #1f553d;
  --primary-hover: #A82630;
  --secondary-accent: #C8323C ;
  --bg-color: #FFFBF6;
  --bg-alt: #FFF3E6;
  --card-bg: #FFFFFF;
  --text-primary: #1F1A24;
  --text-secondary: #5B5563;
  --footer-bg: #0A2E1E;
  --glass-bg: rgba(255, 251, 246, 0.85);
  --glass-border: rgba(200, 50, 60, 0.12);
  --brand-gradient: linear-gradient(120deg, #C026D3, #6D28D9, #2563EB, #14B8A6, #84CC16, #FBBF24, #F97316, #EC4899);
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Clash Display', sans-serif;
  font-weight: 600;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
}

/* Navbar */
.navbar-light-custom {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  padding: 20px 0;
}

.navbar-light-custom .nav-link {
  color: var(--text-primary) !important;
  font-weight: 500;
}

.navbar-light-custom .nav-link:hover {
  color: var(--primary-accent) !important;
}

/* Glassmorphism utility - Light Mode */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(31, 26, 36, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 50, 60, 0.25);
  box-shadow: 0 15px 35px rgba(200, 50, 60, 0.12);
}

/* Typography Utilities */
.text-gradient {
  color: var(--primary-accent);
}

/* Custom Buttons */
.btn-premium {
  background-color: var(--primary-accent);
  border: none;
  border-radius: 8px;
  color: white;
  padding: 12px 32px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 50, 60, 0.28);
  background-color: var(--primary-hover);
  color: white;
}

.btn-outline-premium {
  background: transparent;
  border: 2px solid var(--primary-accent);
  border-radius: 8px;
  color: var(--primary-accent);
  padding: 10px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-premium:hover {
  background: var(--primary-accent);
  color: white;
}

/* Sections */
section {
  padding: 100px 0;
  position: relative;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(192, 38, 211, 0.10), transparent 45%),
    radial-gradient(circle at bottom left, rgba(251, 191, 36, 0.12), transparent 45%),
    radial-gradient(circle at bottom right, rgba(20, 184, 166, 0.10), transparent 40%);
  padding-top: 150px;
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  max-width: 600px;
}

/* Timeline */
.timeline-container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 2rem;
  scrollbar-width: none;
}

.timeline-container::-webkit-scrollbar {
  display: none;
}

.timeline-item {
  flex: 0 0 300px;
  scroll-snap-align: start;
  margin-right: 2rem;
  position: relative;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-accent);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 15px rgba(200, 50, 60, 0.4);
}

.timeline-item::after {
  content: '';
  position: absolute;
  top: 9px;
  left: 20px;
  width: calc(100% + 2rem);
  height: 2px;
  background: #E2E8F0;
  z-index: 1;
}

/* Visualizer specific */
.room-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.wall {
  position: absolute;
  cursor: pointer;
  transition: fill 0.4s ease, filter 0.3s ease;
}

.wall:hover {
  filter: brightness(0.95);
}

.wall.selected {
  stroke: var(--secondary-accent);
  stroke-width: 3px;
  stroke-dasharray: 5, 5;
  animation: dash 20s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: 1000;
  }
}

.color-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.color-swatch:hover {
  transform: scale(1.15);
}

/* Footer */
footer {
  border-top: 4px solid transparent;
  border-image: var(--brand-gradient) 1;
  background: var(--footer-bg);
  color: #fff;
  padding: 4rem 0 2rem;
}

footer h4,
footer h5,
footer strong {
  color: #fff;
}

footer p {
  color: rgba(255, 255, 255, 0.8);
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #FBBF24;
}

.footer-logo-link {
  display: inline-block;
  text-decoration: none;
  background: transparent;
  padding: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-logo-link:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.footer-logo {
  height: 85px;
  width: auto;
  display: block;
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

/* ── Page Hero ── */
.page-hero {
  background: linear-gradient(135deg, #0A2E1E 0%, #0B5B3A 100%);
  border-bottom: 4px solid transparent;
  border-image: var(--brand-gradient) 1;
  padding: 230px 0 38px;
  color: #fff;
}

.page-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
}

.breadcrumb-item a,
.breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}
