@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Source+Sans+3:wght@300;400;500;600&display=swap');

/* ======= CSS VARIABLES ======= */
:root {
  --bg:          hsl(40, 33%, 98%);
  --fg:          hsl(0, 0%, 8%);
  --card:        hsl(40, 30%, 96%);
  --primary:     hsl(0, 0%, 8%);
  --primary-fg:  hsl(40, 33%, 98%);
  --secondary:   hsl(35, 30%, 90%);
  --muted:       hsl(0, 0%, 40%);
  --accent:      hsl(33, 40%, 82%);
  --accent-fg:   hsl(0, 0%, 8%);
  --border:      hsl(35, 20%, 88%);
  --ring:        hsl(33, 40%, 60%);
  --beige-light: hsl(38, 40%, 95%);
  --destructive: hsl(0, 84%, 60%);
  --success:     hsl(142, 60%, 40%);
  --radius:      0.375rem;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Sans 3', system-ui, sans-serif;
}

/* ======= RESET ======= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body   { background: var(--bg); color: var(--fg); font-family: var(--font-body); line-height: 1.6; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); line-height: 1.2; }
a      { color: inherit; text-decoration: none; }
img    { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
ul     { list-style: none; }

/* ======= LAYOUT ======= */
.container     { max-width: 1152px; margin: 0 auto; }
.section-padding { padding: 4rem 1.5rem; }
@media (min-width: 768px) { .section-padding { padding: 6rem 3rem; } }

/* ======= HEADER ======= */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background 0.3s; }
.header.scrolled.home { background: rgba(0,0,0,0.55); backdrop-filter: blur(8px); }
.header.page { background: hsla(40,33%,98%,0.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }

.header-inner {
  max-width: 1152px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 5rem; padding: 0 1.5rem;
}
.header-logo img { height: 3.5rem; width: auto; }
.header.page .header-logo img { border-radius: var(--radius); }

.header-nav { display: flex; gap: 2rem; }
.header-nav a {
  font-family: var(--font-body); font-size: 0.875rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  transition: opacity 0.2s;
}
.header-nav a:hover { opacity: 0.65; }
.header.home .header-nav a { color: rgba(255,255,255,0.9); }
.header.page .header-nav a { color: var(--fg); }
.header-nav a.active { border-bottom: 2px solid; padding-bottom: 2px; }

.mobile-toggle { display: none; background: none; border: none; padding: 0.5rem; }
.mobile-toggle svg { width: 24px; height: 24px; }
.header.home .mobile-toggle { color: #fff; }

.mobile-menu { display: none; padding: 0 1.5rem 1rem; }
.mobile-menu.open { display: block; }
.header.home .mobile-menu { background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); }
.header.page .mobile-menu { background: var(--bg); border-bottom: 1px solid var(--border); }
.mobile-menu a {
  display: block; padding: 0.75rem 0;
  font-family: var(--font-body); font-size: 0.875rem;
  letter-spacing: 0.15em; text-transform: uppercase;
}
.header.home .mobile-menu a { color: rgba(255,255,255,0.9); }

@media (max-width: 767px) {
  .header-nav { display: none; }
  .mobile-toggle { display: block; }
}

/* ======= BUTTONS ======= */
.btn {
  display: inline-block; font-family: var(--font-body);
  font-size: 0.875rem; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 1rem 2rem; border-radius: var(--radius);
  transition: opacity 0.2s, transform 0.15s; border: none;
}
.btn:hover  { opacity: 0.88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-accent  { background: var(--accent); color: var(--accent-fg); }
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-full    { width: 100%; text-align: center; }

/* ======= SECTION TITLES ======= */
.section-label {
  font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--muted); font-family: var(--font-body);
}
.section-title { font-size: 1.875rem; margin-top: 0.75rem; }
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }

/* ======= HERO ======= */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-fg);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.5), rgba(0,0,0,0.7));
}
.hero-content {
  position: relative; text-align: center;
  padding: 1.5rem; max-width: 48rem; margin: 0 auto;
}
.hero-content .logo { width: 8rem; margin: 0 auto 2rem; border-radius: 0.5rem; }
@media (min-width: 768px) { .hero-content .logo { width: 11rem; } }
.hero-content h1 { font-size: 2.25rem; font-weight: 600; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .hero-content h1 { font-size: 3.75rem; } }
.hero-content p { font-size: 1.125rem; opacity: 0.85; max-width: 36rem; margin: 0 auto 2.5rem; }

/* ======= ABOUT ======= */
.about { background: var(--beige-light); text-align: center; }
.about p {
  font-family: var(--font-body); font-size: 1rem; color: var(--muted);
  line-height: 1.8; margin-bottom: 1rem;
  max-width: 48rem; margin-left: auto; margin-right: auto;
}
@media (min-width: 768px) { .about p { font-size: 1.125rem; } }

/* ======= STORY ======= */
.story-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  align-items: center; max-width: 64rem; margin: 0 auto;
}
@media (min-width: 768px) { .story-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }

.story-img { aspect-ratio: 4/5; overflow: hidden; border-radius: 0.5rem; }
.story-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.story-text blockquote {
  font-family: var(--font-body); font-style: italic; color: var(--muted);
  line-height: 1.8; border-left: 2px solid var(--accent);
  padding-left: 1.25rem; margin: 1.5rem 0;
}
.story-text .attribution {
  font-family: var(--font-body); font-size: 0.875rem; color: var(--muted); margin-top: 1rem;
}

/* ======= PRODUCTS ======= */
.products-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px)  { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }

.product-card {
  background: var(--card); border-radius: 0.5rem; overflow: hidden;
  border: 1px solid var(--border); transition: box-shadow 0.3s, transform 0.3s;
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: 0 10px 25px -5px rgba(0,0,0,0.12); transform: translateY(-2px); }

/* Obrázky produktů – celé viditelné, bez ořezu */
.product-card .img-wrap {
  aspect-ratio: 4/3; overflow: hidden;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
.product-card .img-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;          /* zobrazí celý produkt bez ořezu */
  object-position: center;
  transition: transform 0.5s;
}
.product-card:hover .img-wrap img { transform: scale(1.04); }

.product-card .info { padding: 1.25rem; flex: 1; }
.product-card h3 { font-family: var(--font-heading); font-size: 1.125rem; margin-bottom: 0.25rem; }
.product-card p  { font-family: var(--font-body); font-size: 0.875rem; color: var(--muted); }

/* ======= INSTAGRAM ======= */
.instagram-section { background: var(--secondary); text-align: center; }

/* ======= FOOTER ======= */
footer { background: var(--primary); color: var(--primary-fg); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }

/* Footer logo – nad názvem */
.footer-logo { margin-bottom: 1rem; }
.footer-logo img { height: 3rem; width: auto; opacity: 0.9; }

footer h3 { font-family: var(--font-heading); font-size: 1.125rem; margin-bottom: 1rem; }
footer p, footer li, footer a { font-family: var(--font-body); font-size: 0.875rem; opacity: 0.8; }
footer a:hover { opacity: 1; }
footer ul { list-style: none; }
footer li { margin-bottom: 0.75rem; display: flex; align-items: flex-start; gap: 0.5rem; }
footer li svg { flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); text-align: center;
  padding: 1.5rem; font-size: 0.75rem; opacity: 0.5; font-family: var(--font-body);
}
.footer-bottom a { opacity: 1; text-decoration: underline; }
.footer-sep { margin: 0 0.5rem; }

/* ======= CONTACT PAGE ======= */
.contact-hero {
  padding-top: 7rem; padding-bottom: 3rem;
  background: var(--beige-light); text-align: center;
}
.contact-hero h1 { font-size: 2.25rem; font-weight: 600; margin-bottom: 1rem; }
@media (min-width: 768px) { .contact-hero h1 { font-size: 3rem; } }
.contact-hero p { font-family: var(--font-body); color: var(--muted); font-size: 1.125rem; max-width: 36rem; margin: 0 auto; }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.contact-info li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1.25rem; font-family: var(--font-body); }
.contact-info li svg { flex-shrink: 0; margin-top: 4px; }
.contact-info strong { display: block; margin-bottom: 0.25rem; }
.contact-info a:hover { text-decoration: underline; }

/* ======= SLIDER ======= */
.slider { position: relative; border-radius: 0.5rem; overflow: hidden; }
.slider img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 0.5rem; display: block; }
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: hsla(40,33%,98%,0.85); border: none; border-radius: 50%;
  width: 2.5rem; height: 2.5rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.slider-btn:hover { background: var(--bg); }
.slider-prev { left: 0.5rem; }
.slider-next { right: 0.5rem; }
.slider-dots { position: absolute; bottom: 0.75rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.5rem; }
.slider-dot { width: 0.625rem; height: 0.625rem; border-radius: 50%; border: none; transition: background 0.2s; }
.slider-dot.active          { background: var(--primary); }
.slider-dot:not(.active)    { background: hsla(40,33%,98%,0.6); }

/* ======= MAP ======= */
.map-wrap { border-radius: 0.5rem; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16/7; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ======= FORM ======= */
.form-section { background: var(--secondary); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-family: var(--font-body); font-size: 0.875rem; margin-bottom: 0.375rem; }
.form-group input, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--bg);
  font-family: var(--font-body); font-size: 0.875rem; outline: none;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus {
  box-shadow: 0 0 0 2px var(--ring); border-color: var(--ring);
}
.form-group textarea { resize: vertical; min-height: 7rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.error-msg { color: var(--destructive); font-size: 0.75rem; margin-top: 0.25rem; min-height: 1rem; }

.form-gdpr-note {
  font-size: 0.8rem; color: var(--muted); font-family: var(--font-body);
  margin-bottom: 1.25rem; line-height: 1.5;
}
.form-gdpr-note a { text-decoration: underline; }

.form-global-error {
  background: hsl(0,84%,96%); border: 1px solid hsl(0,84%,80%);
  color: hsl(0,60%,40%); padding: 0.875rem 1rem; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.875rem; margin-bottom: 1.5rem;
}

/* ======= TOAST ======= */
.toast {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  background: var(--primary); color: var(--primary-fg);
  padding: 1rem 1.5rem; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.875rem;
  transform: translateY(150%); transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  z-index: 100; max-width: 400px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.toast.show { transform: translateY(0); }

/* ======= GDPR PAGE ======= */
.gdpr-section { background: var(--bg); }
.gdpr-content { max-width: 52rem; margin: 0 auto; }
.gdpr-updated {
  font-family: var(--font-body); font-size: 0.8rem; color: var(--muted);
  margin-bottom: 2.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.gdpr-content h2 {
  font-family: var(--font-heading); font-size: 1.35rem;
  margin: 2.25rem 0 0.75rem; color: var(--fg);
}
.gdpr-content p { font-family: var(--font-body); font-size: 0.95rem; color: var(--muted); line-height: 1.8; margin-bottom: 0.875rem; }
.gdpr-content ul { list-style: none; margin-bottom: 0.875rem; }
.gdpr-content ul li {
  font-family: var(--font-body); font-size: 0.95rem; color: var(--muted);
  line-height: 1.8; padding: 0.25rem 0 0.25rem 1.25rem; position: relative;
}
.gdpr-content ul li::before {
  content: '–'; position: absolute; left: 0; color: var(--accent-fg); opacity: 0.5;
}
.gdpr-content a { text-decoration: underline; }

.gdpr-contact-box {
  background: var(--beige-light); border: 1px solid var(--border);
  border-radius: 0.5rem; padding: 2rem; margin-top: 3rem;
}
.gdpr-contact-box h3 { font-family: var(--font-heading); font-size: 1.125rem; margin-bottom: 0.75rem; }
.gdpr-contact-box p { font-family: var(--font-body); font-size: 0.9rem; color: var(--muted); margin-bottom: 0.5rem; }

/* ======= REVEAL ANIMATION ======= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ======= ICONS (Lucide inline) ======= */
.icon {
  width: 1.25rem; height: 1.25rem;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
