/* ============================================================
   Svet lahôdok2 — style.css
   ============================================================ */

:root {
  /* 12-token OKLCH palette */
  --primary:       oklch(0.70 0.18 55);    /* #D97706 — amber */
  --primary-light: oklch(0.85 0.11 55);    /* lighter amber */
  --primary-dark:  oklch(0.50 0.14 55);    /* dark amber */
  --accent:        oklch(0.55 0.12 210);   /* #0891B2 — cyan */
  --accent-light:  oklch(0.70 0.10 210);   /* lighter cyan */
  --surface:       oklch(0.97 0.01 55);    /* warm off-white */
  --surface-alt:   oklch(0.93 0.02 55);    /* warm light grey */
  --dark:          oklch(0.15 0.02 55);    /* near black */
  --light:         oklch(0.97 0.01 55);    /* same as surface */
  --muted:         oklch(0.45 0.03 55);    /* muted text */

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Lato', system-ui, sans-serif;
  --max-width:    1200px;
  --header-height: 72px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.16);

  /* Transitions */
  --transition: 0.25s ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--surface);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Custom Scrollbar ─────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--surface-alt); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* ── Selection ────────────────────────────────────────────── */
::selection { background: var(--accent); color: #fff; }

/* ── Focus Visible ────────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Skip Link ────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 4px 4px;
  z-index: 9999;
  font-weight: 700;
}
.skip-link:focus { left: 16px; }

/* ── Fluid Typography ─────────────────────────────────────── */
h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw + 1rem, 3.75rem); line-height: 1.15; font-weight: 700; }
h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw + 0.75rem, 2.5rem); line-height: 1.25; font-weight: 700; }
h3 { font-family: var(--font-display); font-size: clamp(1.15rem, 1.5vw + 0.5rem, 1.5rem); line-height: 1.35; font-weight: 600; }
h4 { font-family: var(--font-display); font-size: clamp(1rem, 1vw + 0.4rem, 1.2rem); line-height: 1.4; font-weight: 600; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(217,119,6,.35); text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 6px 20px rgba(217,119,6,.4); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: oklch(0.45 0.12 210); box-shadow: 0 6px 20px rgba(8,145,178,.4); }

/* ── Layout helpers ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
section { padding: 4.5rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { color: var(--muted); font-size: 1.1rem; margin-top: 0.75rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-label {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition), background var(--transition);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
  border-color: var(--surface-alt);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; color: var(--primary); }
.nav-logo img { height: 44px; width: auto; border-radius: 4px; }

.nav-links {
  display: none;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-weight: 600;
  color: var(--dark);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.is-active { color: var(--primary); text-decoration: none; }
.nav-links a:hover::after, .nav-links a.is-active::after { width: 100%; }

.nav-cta { margin-left: 1rem; padding-bottom: 0.75rem !important; justify-content: center; }
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: background var(--transition);
}
.hamburger:hover { background: var(--surface-alt); }
.hamburger span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, width 0.3s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-height) 0 0 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(8px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--primary); text-decoration: none; }

@media (min-width: 768px) {
  .hamburger { display: none; }
  .nav-links { display: flex; }
}

/* ── Hero Section ─────────────────────────────────────────── */
#hero {
  padding: 0;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, oklch(0.15 0.05 55) 0%, oklch(0.22 0.06 55) 50%, oklch(0.18 0.04 210) 100%);
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 60% 40%, oklch(0.70 0.18 55 / 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  text-align: center;
  padding: 5rem 1.25rem;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  animation: fadeInUp 0.7s ease both;
}

.hero-title {
  color: #fff;
  animation: fadeInUp 0.7s 0.15s ease both;
}
.hero-title span { color: var(--primary-light); }

.hero-subtitle {
  color: oklch(0.85 0.03 55);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 580px;
  margin: 0 auto;
  animation: fadeInUp 0.7s 0.3s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 0.7s 0.45s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: oklch(1 0 0 / 0.08);
  border: 1px solid oklch(1 0 0 / 0.2);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  color: oklch(0.9 0.02 55);
  animation: fadeInUp 0.7s 0.6s ease both;
}

@media (min-width: 768px) {
  .hero-inner { padding: 6rem 2rem; }
}

/* ── Hero Entrance Animation ──────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Features Grid Section ────────────────────────────────── */
#features_grid {
  background: var(--surface);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--surface-alt);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-light), var(--surface-alt));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 28px; height: 28px; }

.feature-card h3 { color: var(--dark); }
.feature-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

@media (min-width: 480px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Contact Section ──────────────────────────────────────── */
#contact {
  background: var(--surface-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: start; }
}

.contact-info h3 { margin-bottom: 1rem; color: var(--dark); }
.contact-info p { color: var(--muted); margin-bottom: 1.5rem; }

.contact-details { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.contact-details li { display: flex; align-items: flex-start; gap: 0.75rem; }
.contact-details .icon-wrap {
  width: 38px; height: 38px;
  background: var(--primary-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-details .icon-wrap svg { width: 18px; height: 18px; color: var(--primary-dark); }
.contact-details span { display: flex; flex-direction: column; }
.contact-details .label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-details a, .contact-details strong { font-weight: 600; color: var(--dark); font-size: 0.95rem; }
.contact-details a:hover { color: var(--primary); }

/* Form */
.contact-form-wrap { background: #fff; border-radius: 12px; padding: 2rem; box-shadow: var(--shadow-sm); }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--dark); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--surface-alt);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--dark);
  background: var(--surface);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px oklch(0.70 0.18 55 / 0.15); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}
.form-status.success { background: oklch(0.90 0.08 145); color: oklch(0.3 0.1 145); display: block; }
.form-status.error { background: oklch(0.92 0.08 25); color: oklch(0.4 0.12 25); display: block; }

/* ── CTA Section ──────────────────────────────────────────── */
#cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, oklch(0.35 0.10 55) 50%, oklch(0.30 0.08 210) 100%);
  text-align: center;
  padding: 5rem 0;
}
#cta h2 { color: #fff; }
#cta p { color: oklch(0.88 0.04 55); font-size: 1.1rem; margin: 1rem auto 2rem; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: var(--dark);
  color: oklch(0.75 0.02 55);
  padding: 3rem 0 1.5rem;
}
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; } }

.footer-brand { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-brand h3 { color: #fff; font-family: var(--font-display); }
.footer-brand p { font-size: 0.9rem; }

.footer-col h4 { color: #fff; margin-bottom: 0.75rem; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { color: oklch(0.65 0.03 55); font-size: 0.9rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--primary-light); text-decoration: none; }

.footer-bottom {
  border-top: 1px solid oklch(0.25 0.02 55);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* ── Mobile CTA bar ───────────────────────────────────────── */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--surface-alt);
  box-shadow: 0 -4px 16px rgba(0,0,0,.12);
  z-index: 998;
  padding: 0.5rem 1rem;
  gap: 0.75rem;
}
.mobile-cta__call,
.mobile-cta__contact {
  flex: 1;
  text-align: center;
  padding: 0.7rem 0.5rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.mobile-cta__call { background: var(--primary); color: #fff; }
.mobile-cta__call:hover { background: var(--primary-dark); text-decoration: none; }
.mobile-cta__contact { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.mobile-cta__contact:hover { background: var(--primary-light); text-decoration: none; }

@media (max-width: 767px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 72px; }
}

/* ── Print styles ─────────────────────────────────────────── */
@media print {
  .site-header,
  footer,
  .mobile-cta,
  .contact-form-wrap,
  .hamburger { display: none !important; }
  body { padding-bottom: 0; color: #000; }
  a::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #555; }
  section { padding: 1.5rem 0; }
  #hero {
    background: none !important;
    min-height: auto;
    color: #000;
  }
  #hero .hero-title, #hero .hero-subtitle { color: #000; }
}
