@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #1B4332;
  --secondary: #F8F7F4;
  --accent: #6B7A68;
  --text-dark: #2d3436;
  --border-light: #e8e8e6;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.07);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: #faf9f7;
  line-height: 1.6;
}

/* Typografie */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  letter-spacing: 0.3px;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

p {
  font-size: 1.0625rem;
  color: #4a4a48;
  margin-bottom: 1rem;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--secondary) 0%, #f3f1ed 100%);
  padding: 6rem 2rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.25rem;
  color: #6a6966;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: #0d2920;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.btn-ghost {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-ghost:hover {
  background-color: rgba(27, 67, 50, 0.05);
}

/* Panel */
.panel {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.panel h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.panel-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0ede8;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-item:last-child {
  border-bottom: none;
}

.panel-label {
  font-weight: 600;
  color: var(--text-dark);
}

.panel-value {
  color: var(--accent);
  font-weight: 600;
}

.panel-info {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.9375rem;
  color: #6a6966;
}

#panel-oznameni {
  margin-top: 1rem;
  padding: 1rem;
  border-left: 3px solid #dc2626;
  background-color: #fef2f2;
  color: #991b1b;
  font-weight: 600;
  border-radius: 0.25rem;
}

/* Sekcí */
section {
  padding: 5rem 2rem;
}

section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.section-description {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.125rem;
  color: #6a6966;
}

/* Služby - Karty */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(27, 67, 50, 0.1);
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.5rem;
  color: var(--primary);
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: #6a6966;
}

/* Jak to funguje */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.step h3 {
  margin-bottom: 0.75rem;
}

.step p {
  font-size: 0.9375rem;
  color: #6a6966;
}

/* Proč si vybrat */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit {
  padding: 2rem;
  background: white;
  border-left: 4px solid var(--primary);
  border-radius: 0.5rem;
}

.benefit h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.benefit p {
  font-size: 0.9375rem;
  color: #6a6966;
}

/* Ceník */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.price-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.price-card h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.price-subtitle {
  font-size: 0.875rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.price-features {
  list-style: none;
  text-align: left;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}

.price-features li {
  padding: 0.5rem 0;
  color: #6a6966;
  border-bottom: 1px solid #f0ede8;
}

.price-features li:before {
  content: "✓ ";
  color: var(--primary);
  font-weight: 700;
  margin-right: 0.5rem;
}

/* Galerie */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  aspect-ratio: 1;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Kontakt */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid var(--border-light);
  border-radius: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  margin-top: 1rem;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
  font-size: 0.9375rem;
}

footer p {
  color: rgba(248, 247, 244, 0.8);
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--secondary);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Banner dynamický */
#dynamic-banner {
  background-color: #fcd34d;
  color: black;
  padding: 0.75rem 1rem;
  text-align: center;
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 50;
}

/* Responzivní design */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  section {
    padding: 3rem 1.5rem;
  }

  .hero {
    padding: 3rem 1.5rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .panel {
    margin-top: 2rem;
  }

  .services-grid,
  .steps-container,
  .benefits,
  .pricing-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .section-description {
    font-size: 1rem;
  }

  p {
    font-size: 0.9375rem;
  }
}

/* Animace */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card,
.step,
.benefit,
.price-card {
  animation: fadeIn 0.6s ease-out;
}