/*
Theme Name: Nardoni Nosii Child
Theme URI: https://narodni-nosii.com
Template: generatepress
Author: Art Spot Ltd
Author URI: https://art-spot.net/en/about/
Description: Narodni Nosii child theme based on GeneratePress.
Version: 1.1.2
Updated: 2026-08-02
*/

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  --ivory: oklch(0.976 0.008 85);
  --linen: oklch(0.945 0.012 82);
  --clay: oklch(0.62 0.045 55);
  --ink: oklch(0.205 0.008 60);
  --onink: oklch(0.955 0.01 85);
  --muted-foreground: oklch(0.52 0.018 65);
  --border-color: oklch(0.88 0.012 78);
}

/* ==========================================================================
   Utility classes (apply via block's "Additional CSS Class" field)
   ========================================================================== */
.font-display {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.rule-line {
  height: 1px;
  background-color: var(--border-color);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(1.25rem); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slow-zoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

.rise {
  animation: rise-in 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-media {
  animation: slow-zoom 14s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Sticky / transparent header
   ========================================================================== */
.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background-color: rgba(250, 247, 240, 0.85);
    transition: background-color 0.3s ease, color 0.3s ease;
}
.site-header .main-navigation a,
.site-header .site-title a,
.site-header .site-title,
.site-header .site-icon-mark svg,
.site-header .site-icon-mark svg path {
    color: var(--ink);
    fill: var(--ink);
    transition: color 0.3s ease, fill 0.3s ease;
}
.is-header-top .site-header {
    background-color: transparent;
}
.is-header-top .main-navigation a,
.is-header-top .site-title a,
.is-header-top .site-title,
.is-header-top .site-icon-mark svg,
.is-header-top .site-icon-mark svg path {
    color: rgba(245, 240, 231, 0.9);
    fill: rgba(245, 240, 231, 0.9);
}

body {
    padding-top: 5px;
}

.site-footer {
    display: none;
}

#narodni-preloader {
    position: fixed;
    inset: 0;
    background: var(--ivory);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.4s ease;
}
#narodni-preloader img {
    width: 48px;
    animation: pulse-logo 1.2s ease-in-out infinite;
}
@keyframes pulse-logo {
    0%, 100% { opacity: 0.4; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.05); }
}
#narodni-preloader.loaded {
    opacity: 0;
    pointer-events: none;
}

.bod-po-bod {
    position: relative;
}
.bod-po-bod::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(to bottom, transparent, transparent 40%, var(--ink) 95%);
    pointer-events: none;
}

::selection {
    background-color: var(--ink);
    color: var(--onink);
}