/* =========================================================
   FONT
========================================================= */

@font-face {
  font-family: 'Dienasty';
  src: url('/wp-content/themes/kiss-reborn/assets/fonts/dienasty.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.kiss-font {
  font-family: 'Dienasty', sans-serif;
}


/* =========================================================
   VARIABLES
========================================================= */

:root {
  /* COLORS */
  --bg: #0b0b0b;
  --text: #ffffff;
  --muted: #888;
  --accent: #ff2e2e;

  /* SPACING SYSTEM */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 32px;
  --space-xl: 64px;

  /* TYPOGRAPHY */
  --text-base: 16px;
  --text-sm: 14px;
  --text-lg: 18px;

  --heading-1: 48px;
  --heading-2: 32px;
  --heading-3: 24px;
}


/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


/* =========================================================
   BODY
========================================================= */

body {
  background:
    linear-gradient(rgba(0,0,0,0.85), rgba(0,0,0,0.95)),
    url('/wp-content/themes/kiss-reborn/assets/fire-bg.jpg') center/cover no-repeat fixed;

  color: var(--text);
  font-family: system-ui, sans-serif;
  font-size: var(--text-base);
  line-height: 1.6;
}

body:not(.home) main {
  padding-top: 80px;
}


/* =========================================================
   BACKGROUND EFFECT
========================================================= */

@keyframes fireGlow {
  0% { opacity: 0.12; }
  50% { opacity: 0.18; }
  100% { opacity: 0.12; }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(255,80,0,0.2), transparent 70%);
  animation: fireGlow 4s infinite ease-in-out;
  pointer-events: none;
  z-index: -1;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: var(--heading-1);
  margin-bottom: var(--space-md);
}

h2 {
  font-size: var(--heading-2);
  margin-bottom: var(--space-sm);
}

h3 {
  font-size: var(--heading-3);
}

p {
  margin-bottom: var(--space-md);
}


/* =========================================================
   LINKS
========================================================= */

a {
  color: var(--accent);
  text-decoration: none;
  transition: 0.2s ease;
}

a:hover {
  opacity: 0.7;
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
  padding: var(--space-xl) 0;
}

.section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.section-text {
  max-width: 600px;
}

.section:nth-child(even) .section-inner {
  direction: rtl;
}

.section:nth-child(even) .section-text,
.section:nth-child(even) .section-image {
  direction: ltr;
}

.section-image img {
  width: 100%;
  border-radius: 12px;
}

/* mobil */
@media (max-width: 768px) {
  .section-inner {
    grid-template-columns: 1fr;
  }

  .section-text {
    max-width: 100%;
  }
}

/* =========================================================
   LONG TEXT (články, bio, obsah)
========================================================= */

.text-content {
  text-align: justify;
  hyphens: auto;

  -webkit-hyphens: auto;
  -ms-hyphens: auto;

  line-height: 1.7;
  max-width: 700px;
}