/**
 * TEMPKAZAN 2026 — Base Stylesheet
 * Strictly adhering to palette:
 * - Black: #000000 / #0a0a0a
 * - Orange/Terracotta Accent: #d34f2e
 * - Grey 1: #4c4949
 * - Grey 2: #3c3a3a
 */

:root {
  --bg-primary: #000000;
  --bg-secondary: #0d0d0d;
  --bg-tertiary: #141414;
  --bg-elevated: #1a1a1a;
  
  --bg-grey-1: #4c4949;
  --bg-grey-2: #3c3a3a;
  --bg-grey-dark: #222020;

  --text-primary: #ffffff;
  --text-secondary: #ffffff;
  --text-muted: #ffffff;
  --text-dim: #e0e0e0;

  --border-color: rgba(255, 255, 255, 0.1);
  --border-subtle: #3c3a3a;
  --border-grey: #4c4949;
  --border-active: #d34f2e;

  --card-bg: #111111;
  --card-border: #3c3a3a;
  --bg-card: #111111;
  --bg-card-hover: #181818;

  /* Accent #d34f2e */
  --accent-color: #d34f2e;
  --accent-hover: #e65d3a;
  --accent-glow: rgba(211, 79, 46, 0.28);
  --accent-subtle: rgba(211, 79, 46, 0.12);

  --accent-green: #d34f2e;
  --accent-green-hover: #e65d3a;
  --accent-green-glow: rgba(211, 79, 46, 0.28);
  --accent-green-subtle: rgba(211, 79, 46, 0.12);

  --header-bg: rgba(0, 0, 0, 0.92);
  --header-bg-scrolled: rgba(0, 0, 0, 0.98);
  --ticker-bg: #000000;
  --footer-bg: #000000;
  --modal-bg: #141414;
  --modal-overlay-bg: rgba(0, 0, 0, 0.88);
  --input-bg: #1c1b1b;
  --input-bg-focus: #262424;

  --font-heading: 'Unbounded', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container-max: 1240px;
  --container-padding: 24px;
  --header-height: 72px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.light-theme,
[data-bs-theme="light"],
.bg-mode-2,
.bg-mode-3 {
  --bg-primary: #000000;
  --bg-secondary: #0d0d0d;
  --bg-tertiary: #141414;
  --bg-elevated: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #c2c0c0;
  --header-bg: rgba(0, 0, 0, 0.92);
  --header-bg-scrolled: rgba(0, 0, 0, 0.98);
  --footer-bg: #000000;
}

@media (min-width: 1441px) {
  :root {
    --container-max: 1440px;
    --container-padding: 32px;
  }
}

@media (min-width: 1621px) {
  :root {
    --container-max: 1620px;
    --container-padding: 40px;
  }
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* Base text and paragraph styling */
body, p, span, li, a, td, th, div, label, input, textarea {
  color: #ffffff;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.hero-brand-title,
.about-featured-title,
.hero-main-h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #d34f2e !important;
  letter-spacing: -0.02em;
}

.hero-subtitle-eyebrow {
  color: #d34f2e !important;
  font-weight: 700;
  line-height: 1.3;
}

/* ==========================================================================
   3. SECTIONS: ALTERNATING BLACK AND DARK GREY TONES
   ========================================================================== */
.section {
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}

/* Section black */
.section--dark {
  background-color: #000000;
}

/* Section dark grey with subtle gradient */
.section--alt {
  background: linear-gradient(180deg, #111010 0%, #171616 50%, #111010 100%);
  border-top: 1px solid #3c3a3a;
  border-bottom: 1px solid #3c3a3a;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #3c3a3a;
  border: 1px solid #4c4949;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  color: #d34f2e;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d34f2e;
  box-shadow: 0 0 10px #d34f2e;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 44px);
  line-height: 1.15;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-top: 12px;
  max-width: 650px;
  line-height: 1.5;
}

/* ==========================================================================
   4. BUTTONS: DARK GREY WITH #d34f2e BORDER, HOVER BG #d34f2e
   ========================================================================== */
.arrow-button,
.arrow-button--primary,
.btn-primary,
.button--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 28px;
  background: #3c3a3a !important;
  color: #ffffff !important;
  border: 1.5px solid #d34f2e !important;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none;
}

.arrow-button:hover,
.arrow-button--primary:hover,
.btn-primary:hover,
.button--primary:hover {
  background: #d34f2e !important;
  border-color: #d34f2e !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(211, 79, 46, 0.45);
}

.arrow-button__icon {
  display: inline-block;
  font-size: 15px;
  transition: transform 0.2s ease;
}

.arrow-button:hover .arrow-button__icon,
.arrow-button--primary:hover .arrow-button__icon {
  transform: translateX(4px);
}

@media (max-width: 576px) {
  .arrow-button,
  .arrow-button--primary,
  .btn,
  .btn-primary,
  .button--primary {
    padding: 11px 20px !important;
    font-size: 13.5px !important;
    border-radius: 999px !important;
    gap: 8px !important;
  }
  .arrow-button__icon {
    font-size: 13.5px !important;
  }
}

/* Cards & containers in grey tints */
.about-bento-card,
.about-bento-mini,
.themes-category-card,
.advantages-card,
.hero-tumba-card {
  background: #191818 !important;
  border: 1px solid #3c3a3a !important;
  border-radius: 12px;
}

.about-bento-card:hover,
.about-bento-mini:hover,
.themes-category-card:hover,
.advantages-card:hover,
.hero-tumba-card:hover {
  border-color: #4c4949 !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

/* Active highlights */
.about-bento-mini.is-highlighted,
.themes-category-card:hover {
  border-color: #d34f2e !important;
}

/* Global scroll line */
.page-frame-lines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  border-left: 1px solid rgba(76, 73, 73, 0.25);
  border-right: 1px solid rgba(76, 73, 73, 0.25);
  max-width: var(--container-max);
  margin: 0 auto;
}
