/* === Základní proměnné v přírodních tónech === */
:root{
  --main-bg:#f3f0ea;
  --accent:#2f4033;
  --highlight:#b5cdbb;
  --birch:#ffffff;
  --text:#1c1c1c;
  --light-green:#e8f2ea;
  --shadow:rgba(47,64,51,.15);
}

/* Základní styly */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--main-bg);
  color: var(--text);
  font-family: 'Noto Sans', sans-serif;
  line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.container-fluid { max-width: 100%; padding: 0 1rem; }

h1, h2, h3 { font-family: 'Cormorant Garamond', serif; color: var(--accent); }
h1 { font-size: 3rem; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; margin: 2rem 0 1rem; }
h3 { font-size: 1.8rem; margin: 1.5rem 0 0.5rem; }

/* Navigation */
nav {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 20px var(--shadow);
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(255,255,255,0.98) !important;
}

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

nav .logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--text);
  transition: color 0.3s ease;
  font-weight: 400;
}

nav a:hover { color: var(--accent); }

/* Buttons */
.btn {
  background: var(--accent);
  color: white;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
  font-weight: 500;
}

.btn:hover, .btn-secondary:hover {
  background: #385340;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.3); /* Lightens the background */
  backdrop-filter: blur(10px); /* Adds blur to the background */
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-secondary:hover {
  background: var(--accent);
  color: white;
}

.btn-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  animation: pulse 2s infinite;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--birch);
  background: linear-gradient(rgba(47,64,51,.4), rgba(47,64,51,.4)), 
              url("https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1600&q=60") center/cover no-repeat;
}

.hero h1 { color: white; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero .lead { font-size: 1.3rem; max-width: 600px; margin: 2rem auto; opacity: 0.95; }

#hero-info { margin-top: 2rem; }

.mleft-1rem { margin-left: 1rem; }

/* Sections */
section { padding: 4rem 0; }

.about {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}

.about__img {
  flex: 0 0 300px;
  text-align: center;
}

.about__img img {
  width: 100%;
  max-width: 300px;
  border-radius: 20px;
  box-shadow: 0 10px 30px var(--shadow);
  transition: transform 0.3s ease;
}

.about__img img:hover { transform: scale(1.05); }

.about__text { flex: 1 1 400px; }

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.service-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 25px var(--shadow);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-content { padding: 2rem; }

.service-para {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

/* Stats */
.stats {
  background: var(--light-green);
  padding: 3rem 0;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.stat-item h3 { color: var(--accent); font-size: 2.5rem; margin-bottom: 0.5rem; }

/* Parallax */
.parallax {
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
              url("https://images.unsplash.com/photo-1470770841072-f978cf4d019e?auto=format&fit=crop&w=1600&q=60") center/cover fixed no-repeat;
  padding: 5rem 0;
  text-align: center;
}

.parallax-para {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 2rem auto;
}

.qualification {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.qual-inner {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px var(--shadow);
}

.qual-ul {
  list-style: none;
  padding: 0;
}

/* Process */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.step {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px var(--shadow);
}

.step-number {
  background: var(--accent);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-weight: bold;
  font-size: 1.2rem;
}

/* FAQ */
.faq-inner {
  max-width: 800px; margin: 0 auto;
}


.faq-item {
  background: white;
  border-radius: 10px;
  margin: 1rem 0;
  box-shadow: 0 2px 10px var(--shadow);
  overflow: hidden;
}

.faq-question {
  background: var(--light-green);
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.faq-question:hover { background: var(--highlight); }

.faq-answer {
  padding: 1.5rem;
  display: none;
}

.faq-item.active .faq-answer { display: block; }

/* CTA */
.cta {
  position: relative;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
              url("https://images.unsplash.com/photo-1544126591-52e6d6e6c77c?auto=format&fit=crop&w=1600&q=60") center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 5rem 0;
}

/* Footer */
footer {
  background: var(--accent);
  color: white;
  text-align: center;
  padding: 3rem 0;
}

/* Contact */
.contact-para {
  font-size: 1.2rem;
  margin: 2rem auto;
  max-width: 600px;
}

.contact-info-wrapper {
  margin: 3rem 0;
}

.contact-info {
  background: rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
}

.contact-item {
  margin-bottom: 1rem;
}

.contact-note {
  font-style: italic;
  opacity: 0.9;
}

.footer-note {
  margin-top: 1rem;
  opacity: 0.8;
}

/* Mobile */
@media (max-width: 768px) {
  nav ul { display: none; } /* Hide navigation menu on mobile */
  .nav-content { justify-content: center; }
  .hero h1 { font-size: 2rem; }
  .about { flex-direction: column; text-align: center; }
  .btn-cta { bottom: 1rem; right: 1rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  nav { padding: 0.8rem 0; } /* Reduce navbar height on mobile */
}

/* Animations */
.fade-in { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}


/* Modal pozadí */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.overlay[role="dialog"] {
  transition: opacity 0.2s;
  outline: none;
}

/* Kontejner pro widget */
.modal-content {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  width: 90%;
  max-width: 800px;
  height: 650px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(100px);
  opacity: 0;
  animation: slideUp 0.4s ease-out forwards;
  position: relative;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Iframe */
.modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Zavírací tlačítko */
.close-btn {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  z-index: 10;
}

.close-btn:hover {
  color: #333;
}


/* Social bullshit */
.social-share {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 1.2em 0;
font-family: system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
justify-content: center;
}
.social-share a {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 12px;
border-radius: 5px;
color: #fff;
text-decoration: none;
font-size: 0.9rem;
font-weight: 500;
line-height: 1;
transition: opacity .15s ease;
}
.social-share a:hover { opacity: .85; }
.social-share svg {
width: 18px;
height: 18px;
flex-shrink: 0;
display: block;
fill: currentColor;
}
/* optional: hide text on very small screens */
@media (max-width: 500px) {
.social-share a { font-size: 0; }
.social-share a span { display: none; }
}

/* Add for social-share backgrounds */
.social-share a[aria-label="Share on Facebook"] { background: #3b5998; }
.social-share a[aria-label="Share on X / Twitter"] { background: #1da1f2; }
.social-share a[aria-label="Share on LinkedIn"] { background: #0077b5; }
.social-share a[aria-label="Share on Reddit"] { background: #ff4500; }
.social-share a[aria-label="Share on Mastodon"] { background: #6364ff; }

/* Margin for contact buttons */
.btn.contact-email, .btn.contact-call {
  margin: 0.5rem;
}


