/* ============================================
   Slovenskej Zahradník — Dark Mood Stylesheet
   ============================================ */

:root {
  --primary:        oklch(0.50 0.12 65);
  --primary-light:  oklch(0.65 0.07 65);
  --primary-dark:   oklch(0.30 0.10 65);
  --accent:         oklch(0.58 0.18 142);
  --accent-light:   oklch(0.73 0.11 142);
  --accent-dark:    oklch(0.40 0.14 142);
  --surface:        oklch(0.16 0.01 65);
  --surface-alt:    oklch(0.20 0.015 65);
  --dark:           oklch(0.12 0.005 65);
  --light:          oklch(0.95 0.005 65);
  --muted:          oklch(0.55 0.02 65);
  --white:          #ffffff;
  --font-display:   'Playfair Display', Georgia, serif;
  --font-body:      'Inter', system-ui, sans-serif;
  --max-width:      1200px;
  --header-height:  72px;
  --radius:         8px;
  --shadow:         0 4px 24px rgba(0,0,0,0.3);
  --transition:     0.3s ease;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}
body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }

/* === SELECTION & SCROLLBAR === */
::selection { background: var(--accent); color: var(--white); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* === FOCUS === */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* === SKIP LINK === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--accent);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius);
  z-index: 10000;
  font-weight: 600;
}
.skip-link:focus {
  top: 8px;
}

/* === FLUID TYPOGRAPHY === */
h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw + 0.5rem, 4rem); line-height: 1.1; font-weight: 700; }
h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw + 0.3rem, 2.8rem); line-height: 1.2; font-weight: 700; }
h3 { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw + 0.2rem, 1.6rem); line-height: 1.3; font-weight: 600; }
h4 { font-family: var(--font-display); font-size: clamp(1rem, 1.5vw + 0.2rem, 1.3rem); line-height: 1.4; font-weight: 600; }

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(18, 18, 16, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--transition), box-shadow var(--transition);
  display: flex;
  align-items: center;
}
.site-header.scrolled {
  background: rgba(18, 18, 16, 0.95);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.site-header__logo-img {
  height: 44px;
  width: auto;
  border-radius: 4px;
}
.site-header__logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--light);
  white-space: nowrap;
}
.site-header__logo:hover { color: var(--accent-light); }
.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
}
.nav-links a {
  color: var(--light);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.is-active::after { width: 100%; }
.nav-links a.is-active { color: var(--accent-light); }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--light);
  position: absolute;
  left: 0;
  transition: var(--transition);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }
.hamburger.is-open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-align: center;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-light); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--accent-light);
  border: 2px solid var(--accent-light);
}
.btn-outline:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

/* === SECTIONS === */
section { padding: 80px 20px; }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-title {
  text-align: center;
  margin-bottom: 48px;
  color: var(--light);
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12,12,10,0.88) 0%, rgba(12,12,10,0.65) 55%, rgba(12,12,10,0.3) 100%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  align-items: center;
  width: 100%;
}
.hero__text {
  flex: 1;
  max-width: 580px;
}
.hero__text h1 { color: var(--white); margin-bottom: 16px; }
.hero__text p {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero__portrait {
  flex: 0 0 auto;
  margin-left: 40px;
  position: relative;
  align-self: flex-end;
}
.hero__portrait img {
  max-height: 75vh;
  width: auto;
  max-width: 380px;
  object-fit: contain;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,0.5));
}

/* Hero entrance animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero__text h1 { animation: fadeInUp 0.8s ease forwards; opacity: 0; }
.hero__text p { animation: fadeInUp 0.8s ease 0.2s forwards; opacity: 0; }
.hero__text .btn { animation: fadeInUp 0.8s ease 0.4s forwards; opacity: 0; }
.hero__portrait img { animation: fadeInUp 1s ease 0.3s forwards; opacity: 0; }

/* === FEATURES GRID === */
#features_grid { background: var(--surface); }
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.feature-card {
  background: var(--surface-alt);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(255,255,255,0.05);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  color: var(--accent);
}
.feature-card__icon svg { width: 100%; height: 100%; }
.feature-card h3 { color: var(--light); margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 0.95rem; }

/* === GALLERY === */
#gallery { background: var(--dark); }
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform var(--transition);
}
.gallery-grid img:hover { transform: scale(1.03); }
.gallery-placeholder {
  background: var(--surface-alt);
  border-radius: var(--radius);
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-style: italic;
  border: 2px dashed rgba(255,255,255,0.1);
}

/* === TEAM === */
#team { background: var(--surface); }
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.team-card {
  text-align: center;
  background: var(--surface-alt);
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid rgba(255,255,255,0.05);
}
.team-card__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  background: var(--primary);
}
.team-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--accent);
}
.team-card h3 { margin-bottom: 4px; }
.team-card__role { color: var(--accent-light); font-size: 0.9rem; margin-bottom: 12px; }
.team-card p:last-child { color: var(--muted); font-size: 0.9rem; }

/* === HOURS === */
#hours { background: var(--dark); }
.hours-table {
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hours-row:last-child { border-bottom: none; }
.hours-row__day { font-weight: 600; color: var(--light); }
.hours-row__time { color: var(--muted); }
.hours-row--today .hours-row__day { color: var(--accent-light); }
.hours-row--today .hours-row__time { color: var(--accent-light); font-weight: 600; }

/* === TESTIMONIALS === */
#testimonials { background: var(--surface); }
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.testimonial-card {
  background: var(--surface-alt);
  border-radius: var(--radius);
  padding: 32px;
  border-left: 4px solid var(--accent);
}
.testimonial-card blockquote {
  font-style: italic;
  color: var(--light);
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.testimonial-card cite {
  color: var(--accent-light);
  font-style: normal;
  font-weight: 600;
}

/* === CONTACT === */
#contact { background: var(--dark); }
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.contact-info h3 { margin-bottom: 20px; color: var(--light); }
.contact-info address {
  font-style: normal;
  line-height: 2;
  color: var(--muted);
}
.contact-info a { color: var(--accent-light); }
.contact-info a:hover { color: var(--accent); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; }
.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--light);
}
.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--surface-alt);
  color: var(--light);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-status {
  padding: 12px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  display: none;
}
.form-status--success { display: block; background: var(--accent-dark); color: var(--white); }
.form-status--error { display: block; background: oklch(0.40 0.14 25); color: var(--white); }

/* === CUSTOM === */
#custom { background: var(--surface); }
.custom-content {
  max-width: 800px;
  margin: 0 auto;
}
.custom-content p { color: var(--muted); margin-bottom: 16px; line-height: 1.8; }
.custom-content h3 { color: var(--light); margin: 32px 0 12px; }
.custom-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}
.custom-card {
  background: var(--surface-alt);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid rgba(255,255,255,0.05);
}
.custom-card h3 { margin: 0 0 8px; }
.custom-card p { margin: 0; }

/* === FOOTER === */
.site-footer {
  background: var(--surface);
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.site-footer p { color: var(--muted); font-size: 0.9rem; margin-bottom: 4px; }
.site-footer a { color: var(--accent-light); }
.site-footer a:hover { color: var(--accent); }

/* === MOBILE CTA BAR === */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 10px 16px;
  background: rgba(18,18,16,0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.08);
  gap: 10px;
}
.mobile-cta a {
  flex: 1;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
}
.mobile-cta__call { background: var(--accent); color: var(--white) !important; }
.mobile-cta__contact { background: transparent; border: 2px solid var(--accent-light); color: var(--accent-light) !important; }

/* === RESPONSIVE 768px === */
@media (max-width: 767px) {
  .hamburger { display: block; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(12,12,10,0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { font-size: 1.3rem; }
  .hero__content { flex-direction: column; text-align: center; }
  .hero__text { max-width: 100%; }
  .hero__portrait { margin: 32px 0 0; }
  .hero__portrait img { max-height: 50vh; max-width: 260px; margin: 0 auto; }
  .hero__overlay { background: linear-gradient(180deg, rgba(12,12,10,0.85) 0%, rgba(12,12,10,0.6) 60%, rgba(12,12,10,0.85) 100%); }
  .mobile-cta { display: flex; }
  body { padding-bottom: 70px; }
}
@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrapper { grid-template-columns: 1fr 1fr; }
  .custom-cards { grid-template-columns: repeat(2, 1fr); }
}

/* === PRINT === */
@media print {
  .site-header, .site-footer, .mobile-cta, #contact form { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  section { padding: 24px 0; break-inside: avoid; }
  a::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #555; }
  .hero { min-height: auto; }
  .hero__bg, .hero__overlay { display: none; }
  h1, h2, h3, h4 { color: #000; }
  p, address, blockquote, cite { color: #333; }
}
