
/* === Global design tokens (CSS variables) === */
:root{
  /* Base palette */
  --base-deep: #4d4d4f;   /* background */
  --base-line: #5a5a5c;   /* borders / separators */
  --text-soft: #a2a3a6;   /* body text */
  --text-strong: #f4f4f4; /* headings on dark */
  --accent: #C8BFA7;      /* brand accent (gold-beige) */
  --accent-hover: #DAD2BA;
  --accent-on: #2b2b2c;   /* text on accent */
}

/* === Global application === */
html, body { background-color: var(--base-deep) !important; color: var(--text-soft); min-height: 100%; }

/* Headings & typographic defaults */
h1, h2, h3, h4, h5 { color: var(--text-strong); }
p, li { color: var(--text-soft); }

/* Links */
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }

/* Accent utilities (Tailwind-like fallbacks) */
.bg-accent { background-color: var(--accent) !important; color: var(--accent-on) !important; }
.hover\:bg-accent-hover:hover { background-color: var(--accent-hover) !important; color: var(--accent-on) !important; }
.text-accent { color: var(--accent) !important; }
.border-accent { border-color: var(--accent) !important; }

/* Buttons (generic) */
.button, .btn, .btn-accent { background-color: var(--accent); color: var(--accent-on); border: none; }
.button:hover, .btn:hover, .btn-accent:hover { background-color: var(--accent-hover); color: var(--accent-on); }

/* Floating call button (explicit selector) */
a[href^="tel:+421903254879"].fixed {
  background-color: var(--accent) !important;
  color: var(--accent-on) !important;
  border-color: transparent !important;
}

/* Borders / separators on dark */
.hr, hr, .divider { border-color: var(--base-line); }


/* ===== Global styles (extracted) ===== */
html, body {
  background-color: #4d4d4f !important;
  color: #a2a3a6;
  min-height: 100%;
}
/* Link colors (accent) */
a { color: #c8bfa7; }
a:hover { color: #dad2ba; }

/* Typography */
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; letter-spacing: -0.01em; }
body, p, a, li, button, input, textarea { font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif; line-height: 1.75; }
/* Active link in mobile menu */
.mm-links a.active { color: #C8BFA7; background: rgba(255,255,255,.10); }

    :focus-visible { outline: 2px solid #C8BFA7; outline-offset: 2px; }
    .icon { width: 24px; height: 24px; color: #F4F4F4; }
    .shield svg { width: 80px; height: 96px; }
    body.menu-open { overflow: hidden; }
  
    #mobile-menu { background: rgba(77,77,79,0.97) !important; }
  
    /* Mobilné menu pevné pozadie + vždy viditeľné */
    #mobileMenu{background:rgba(77,77,79,.97)!important;}
    #mobileMenu a{color:#F4F4F4}
  
    #mobileMenu { background: rgba(77,77,79,0.98) !important; }
    #mobileMenu a { color: #F4F4F4; }
    #mobileMenu button { color: #F4F4F4; }
  
/* === Universal mobile menu (top-drawer) === */
:root { --vh: 1vh; } /* JS prepíše ak treba */
.mm-overlay{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: saturate(1) blur(1px);
  z-index: 60; opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.mm-overlay.show{ opacity: 1; pointer-events: auto; }

.mm-drawer{
  position: fixed; left: 0; right: 0; top: 0;
  height: 100svh; height: calc(var(--vh, 1vh) * 100); height: 100vh;
  background: rgba(77,77,79,1);
  z-index: 61;
  transform: translateY(-100%);
  transition: transform .25s ease;
  display: flex; align-items: center; justify-content: center;
}
.mm-drawer.open{ transform: translateY(0); }

.mm-links{
  list-style: none; margin: 0; padding: 24px;
  width: min(640px, 92vw); text-align: center;
  display: grid; gap: 10px;
}
.mm-links a{
  display: block; padding: 12px 16px;
  color: #F4F4F4; text-decoration: none;
  border-radius: 12px; font-size: 22px; line-height: 1.3;
}
.mm-links a:hover{ background: rgba(255,255,255,.08); color: #DAD2BA; }
.body-lock{ overflow: hidden; }

  
    /* --- Enhanced Typography --- */
    h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; letter-spacing: -0.01em; }
    body, p, a, li, button, input, textarea { font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif; line-height: 1.65; }
    p { color: #A2A3A6; }
    h1, h2 { color: #F4F4F4; }
    .mm-links a { font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; font-weight: 500; }
    .mm-links a.active { color: #C8BFA7; background: rgba(255,255,255,.10); }

  

/* === Accent (gold-beige) utilities fallback === */
:root{
  --accent: #C8BFA7;
  --accent-hover: #DAD2BA;
  --accent-text-on: #2b2b2c;
}

/* Ensure Tailwind-like utility classes exist even if config fails */
.bg-accent { background-color: var(--accent) !important; }
.hover\:bg-accent-hover:hover { background-color: var(--accent-hover) !important; }
.text-accent { color: var(--accent) !important; }
.border-accent { border-color: var(--accent) !important; }

/* Buttons that rely on accent should keep readable text color */
.bg-accent, .hover\:bg-accent-hover:hover {
  color: var(--accent-text-on) !important;
}

/* Links: keep default link color but don't override buttons */
a:not(.bg-accent):not(.button):not(.btn){
  color: var(--accent);
}
a:not(.bg-accent):not(.button):not(.btn):hover{
  color: var(--accent-hover);
}

/* Specific fix: floating call button if present */
a[href^="tel:+421903254879"].fixed {
  background-color: var(--accent) !important;
  color: var(--accent-text-on) !important;
}


/* === Accessibility & Motion Preferences === */
/* Accent focus ring for keyboard navigation */
:where(a, button, input, select, textarea, [role="button"], [tabindex]):focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: none;
}

/* Optional utility to force a focus ring on any element */
.focus-ring:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce){
  html:focus-within{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation: none !important;
    transition: none !important;
  }
  /* Disable carousel transform animations */
  #ref-track, #obce-track{ transition: none !important; }
}
/* Runtime class for JS fallback on older browsers */
.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after{
  animation: none !important;
  transition: none !important;
}
.reduce-motion #ref-track, .reduce-motion #obce-track{ transition: none !important; }


/* === Hero Parallax === */
.hero-section{ position: relative; overflow: hidden; }
.hero-parallax{
  position: absolute; inset: 0;
  width: 100%; height: 120%; /* slight oversize to avoid edges on translate */
  object-fit: cover;
  will-change: transform;
  transform: translate3d(0,0,0);
}
.hero-overlay{ position: absolute; inset: 0; background: rgba(0,0,0,.4); }
/* Disable heavy effects when user prefers reduced motion */
@media (prefers-reduced-motion: reduce){
  .hero-parallax{ transform: none !important; }
}
.reduce-motion .hero-parallax{ transform: none !important; }

/* === Gentle Scroll Reveal (iba pre v28) === */
.reveal{ opacity:0; transform: translateY(12px); transition: opacity .55s ease, transform .55s ease; }
.reveal.inview{ opacity:1; transform:none; }
.reveal-delay-1{ transition-delay: .10s; }
.reveal-delay-2{ transition-delay: .16s; }
.reveal-delay-3{ transition-delay: .22s; }

/* Rešpektuj preferencie používateľov bez animácií */
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1 !important; transform:none !important; transition:none !important; }
}

/* akcentová deliaca línia medzi sekciami */
.divider-line {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200,191,167,0.4), transparent);
  margin: 3rem auto;
  max-width: 80%;
}

/* Dark Elevate */
.bg-deep{ background-color:#4d4d4f; }
.bg-elevate{ background-color:#3f3f41; }
.bg-alt{ background-color:#5a5a5c; }
.section-shadow{ box-shadow:0 8px 20px rgba(0,0,0,0.25); border-radius:1.25rem; }

/* PRAKTICKÉ INFO – akordeón */
.accordion .acc-item{
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 1rem;
  background: rgba(255,255,255,0.03);
  overflow: hidden;
}
.accordion .acc-summary{
  list-style: none;
  cursor: pointer;
  padding: 1rem 1rem 1rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  color: #F4F4F4; /* nadpis svetlejší */
}
.accordion .acc-summary::-webkit-details-marker{ display:none; }

.accordion .acc-caret{
  width: 20px; height: 20px; flex: 0 0 auto;
  opacity: .7; transition: transform .25s ease, opacity .25s ease;
  fill: none; stroke: currentColor; stroke-width: 2;
}
.accordion .acc-item[open] .acc-caret{ transform: rotate(180deg); opacity: .95; }

.accordion .acc-content{
  padding: 1rem 1rem 1rem;
  color: #A2A3A6; line-height: 1.7;
}

/* Hover/Focus stavy – decentné */
.accordion .acc-summary:hover{ background: rgba(255,255,255,0.04); }
.accordion .acc-summary:focus-visible{
  outline: 2px solid var(--accent, #C8BFA7);
  outline-offset: 2px;
}

section h2 + p {
  font-size: 1.125rem;  /* text-lg */
  color: #a2a3a6;       /* rovnaká ako text-textc-soft */
  margin-top: 0.5rem;
}

.ref-author {
  display: block;
  margin-top: 12px;
  font-size: 0.875rem;
  color: #666;
  font-style: italic;
}




