/*
  SWISS DESIGN / HIGH-END EDITORIAL THEME
  Extrémní čistota, důraz na negative space, perfektní typografie a čitelnost.
  Světlé, nerušivé tóny bez křiklavých zásahů.
*/

:root {
  /* Klidné a matné barvy */
  --color-bg: #ffffff;
  --color-bg-gray: #f8fafc;
  
  --color-text-main: #0f172a;
  --color-text-muted: #64748b;
  
  --color-border: #e2e8f0;
  
  --color-accent: #0f172a; 
  --color-accent-soft: #f1f5f9;

  --color-primary: #10b981; /* Oživení: Smaragdově zelená (Minecraft nádech) pouze pro malé odznáčky */

  /* Typografie pro špičkovou čitelnost */
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Playfair Display', serif;
  
  /* Stíny a tvary */
  --radius-sm: 8px;
  --radius-lg: 24px;
  
  --shadow-soft: 0 4px 20px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 20px 40px rgba(15, 23, 42, 0.08);

  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.bg-gray {
  background: var(--color-bg-gray);
}

::selection {
  background: var(--color-accent);
  color: #fff;
}

/* Typografie */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text-main);
  line-height: 1.2;
}

.italic-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: var(--color-text-muted);
}

p {
  color: var(--color-text-muted);
}

/* Tlačítka a Odkazy */
a {
  color: var(--color-accent);
  text-decoration: none;
  transition: var(--transition);
}

.btn-primary, .btn-secondary, .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover {
  background: #334155;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-secondary {
  background: var(--color-accent-soft);
  color: var(--color-text-main);
}
.btn-secondary:hover {
  background: var(--color-border);
}

.btn-outline {
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-main);
}
.btn-outline:hover {
  border-color: var(--color-text-main);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 1rem;
}
.link-arrow i {
  transition: transform 0.3s ease;
}
.link-arrow:hover i {
  transform: translateX(4px);
}

/* Navigace */
.nav-swiss {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text-main);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
}

.nav-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
}
.nav-menu a:hover {
  color: var(--color-text-main);
}
.nav-menu a.active {
  color: var(--color-text-main);
  font-weight: 600;
}

.menu-btn { display: none; background: transparent; border: none; cursor: pointer; }
.menu-btn .bar { display: block; width: 22px; height: 2px; background: var(--color-text-main); margin: 5px 0; border-radius: 1px; }

/* Hero Sekce */
.hero-swiss {
  padding: 12rem 2rem 6rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--color-accent-soft);
  color: var(--color-text-muted);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.hero-swiss h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 5rem;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-stats {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.hero-stats strong { color: var(--color-text-main); }
.stat-indicator {
  width: 8px; height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* Společné sekce */
.section-swiss {
  padding: 8rem 2rem;
}
.section-content {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 4rem;
  max-width: 600px;
}
.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}
.section-header p {
  font-size: 1.1rem;
}

.section-header.center { margin: 0 auto 4rem; text-align: center; }
.section-header.split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 100%;
}
.section-header.split .header-text { max-width: 500px; }

/* Karty (Novinky) */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.clean-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.clean-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.card-image {
  height: 240px;
  overflow: hidden;
}
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.clean-card:hover .card-image img { transform: scale(1.05); }

.card-content {
  padding: 2.5rem;
}
.card-date {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 1rem;
}
.card-content h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.card-content p { margin-bottom: 1.5rem; font-size: 0.95rem; }

/* Vlastnosti / Pravidla */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 4rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
}
.icon-bubble {
  width: 56px; height: 56px;
  background: var(--color-accent-soft);
  color: var(--color-text-main);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.feature-item h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }

/* Klikatelná dlaždice — Forever world odkaz */
.feature-link {
  text-decoration: none;
  color: inherit;
  padding: 2rem;
  margin: -2rem;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  cursor: pointer;
}
.feature-link:hover {
  background: var(--color-accent-soft);
}
.feature-link:hover .link-arrow-inline i { transform: translateX(4px); }
.link-arrow-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--color-text-main);
}
.link-arrow-inline i { transition: transform 0.3s ease; }

/* Mapa */
.map-container {
  width: 100%;
  height: 600px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.map-container iframe { width: 100%; height: 100%; }

/* Patička */
.footer-swiss {
  padding: 6rem 2rem 3rem;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: end;
}
.footer-brand h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.footer-nav { display: flex; gap: 2rem; }
.footer-nav a { font-weight: 500; }
.footer-copy {
  grid-column: 1 / -1;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Animace a drobnosti */
.animate { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.animate.visible { opacity: 1; transform: translateY(0); }
.animate-slide-down { animation: slideDown 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-slide-up { opacity: 0; animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; animation-delay: 0.2s; }
.animate-fade-in { opacity: 0; animation: fadeIn 1.5s ease forwards; animation-delay: 0.4s; }

@keyframes slideDown{ from{opacity:0; transform:translateY(-20px)} to{opacity:1; transform:translateY(0)} }
@keyframes slideUp{ from{opacity:0; transform:translateY(20px)} to{opacity:1; transform:translateY(0)} }
@keyframes fadeIn{ from{opacity:0;} to{opacity:1;} }

/* Mobil */
@media (max-width: 768px) {
  .nav-menu {
    position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--color-bg);
    flex-direction: column; padding: 2rem; gap: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    display: none;
  }
  .nav-menu.active { display: flex; }
  .menu-btn { display: block; }
  
  .hero-swiss { padding: 8rem 1.5rem 4rem; }
  .hero-actions { flex-direction: column; }
  
  .section-header.split { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .footer-content { grid-template-columns: 1fr; gap: 2rem; }
}
