/*
  Pohřební Služba Olomouc - Main Stylesheet
  Colors (Brand):
  - Zelená: #17320B
  - Zlatá: #A8873A
  - Béžová: #F3EFE8
  - Světle šedá: #BEBBB3
  - Tmavě šedá: #1F2A26
  - Hnědá: #4A3931
  - Bílá: #ffffff
  - Černá: #000000
*/

@font-face {
  font-family: 'Times Numbers';
  src: local('Times New Roman'), local('TimesNewRomanPSMT'), local('Times'), local('Noto Serif'), local('Droid Serif');
  unicode-range: U+0030-0039; /* Zahrnuje pouze číslice 0-9 */
}

:root {
  --primary: #17320B; /* Zelená */
  --primary-light: #1F2A26; /* Tmavě šedá */
  --accent: #A8873A; /* Zlatá */
  --accent-hover: #4A3931; /* Hnědá (pro hover na zlaté/zelené) */
  --bg-color: #F3EFE8; /* Béžová */
  --surface: #BEBBB3; /* Světle šedá */
  --text-main: #000000; /* Černá */
  --text-muted: #1F2A26; /* Tmavě šedá pro doplňkové texty */
  --border: #BEBBB3; /* Světle šedá */
  --font-sans: 'Times Numbers', 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Times Numbers', 'Playfair Display', serif;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.times-number {
  font-family: 'Times New Roman', Times, 'Noto Serif', 'Droid Serif', serif !important;
  white-space: nowrap !important;
}

a {
  text-decoration: none;
}

/* Header / Sidebar */
body {
  font-family: var(--font-sans);
  background-color: var(--bg-color); /* Main body background is beige */
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  display: flex;
}

h1, h2, h3, h4, h5, h6, .btn {
  font-family: var(--font-serif);
  font-weight: 700;
}

h1, .page-title {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

h2, .section-title {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 15px;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.4;
}

h4 {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background-color: var(--primary); /* Tmavě zelený panel */
  border-right: none;
  overflow-y: auto;
  z-index: 100;
  padding: 5px 20px 20px 20px; /* Výrazně snížené horní odsazení pro uvolnění místa dole */
  font-family: var(--font-serif); /* Nasazení fontu pro celou lištu */
}

.content-area {
  margin-left: 280px;
  width: calc(100% - 280px);
  min-height: 100vh;
  padding: 50px 50px 0 50px; /* Nulové spodní odsazení, aby patička přilehla k okraji */
  box-sizing: border-box;
}

.sidebar-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.logo {
  display: block;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 20px;
}

.logo img {
  width: 55%;
  margin: 0 auto;
  display: block;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--accent); /* Zlatá */
  font-weight: 700;
}

.main-nav {
  margin-top: 0;
  position: relative;
  z-index: 10; /* Zajišťuje, aby neviditelná část loga nepřekrývala a neblokovala odkazy */
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px; 
  margin: 0; 
  padding: 0; 
}

.main-nav a {
  display: block;
  color: var(--bg-color); 
  font-weight: 600;
  font-size: 1.05rem; 
  padding: 6px 15px; 
  transition: all 0.3s ease;
  text-align: center; 
}

.main-nav a:hover {
  background-color: transparent;
  color: var(--accent); 
}

.main-nav a.active {
  background-color: transparent;
  color: var(--accent); 
}

.sidebar-search {
  margin: 15px 15px 0 15px;
  position: relative;
}

.sidebar-search input {
  width: 100%;
  padding: 8px 30px 8px 15px;
  border-radius: 20px;
  border: 1px solid rgba(243, 239, 232, 0.3);
  background: rgba(0, 0, 0, 0.1);
  color: var(--bg-color);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.sidebar-search input:focus {
  outline: none;
  border-color: var(--accent);
}

.sidebar-search input::placeholder {
  color: rgba(243, 239, 232, 0.5);
}

.sidebar-search button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-search button svg {
  width: 16px;
  height: 16px;
}

.sidebar-contact {
  margin-top: 20px; 
  padding-top: 20px; 
  border-top: 1px solid rgba(243, 239, 232, 0.2); 
  text-align: center;
}

.sidebar-contact p {
  color: var(--bg-color); /* Béžová */
  font-size: 0.9rem;
  margin-top: 0;
  margin-bottom: 5px;
}

.sidebar-contact a {
  color: var(--accent); /* Zlatá */
  font-weight: bold;
  font-size: 1.1rem;
}

.emergency-phone {
  display: inline-block;
  background-color: var(--accent);
  color: var(--accent-hover) !important; /* Tmavě hnědá barva textu místo šedé */
  padding: 8px 15px;
  border-radius: 50px; /* Změna na ovál */
  margin-top: 5px;
}
/* Rest of styles remain intact */

/* Hero Section */
.hero {
  padding: 0 0 80px 0; /* Úplně smazané horní odsazení */
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero-logo-wrap {
  text-align: center;
  margin-bottom: 20px;
}

.hero-logo-wrap img {
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto 30px auto;
  display: block;
}

@media (max-width: 768px) {
  .hero-logo-wrap {
    display: block;
  }
  .hero-logo-wrap img {
    max-width: 220px;
    margin: 0 auto 20px auto;
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .hero-logo-wrap {
    display: block;
  }
  .hero-logo-wrap img {
    max-width: 160px;
    margin: 0 auto 10px auto;
    opacity: 1;
  }
  .btn {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    white-space: normal !important;
    margin-right: 0 !important;
    margin-bottom: 15px !important;
  }
}

.hero p {
  font-family: var(--font-sans); /* Obyčejný text (Inter) */
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 30px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary);
  color: var(--bg-color); /* Béžová barva textu místo šedé */
  border-radius: 50px; /* Změna na elegantní ovál */
  font-weight: 600;
  transition: background-color 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary-light);
  color: var(--bg-color); /* Béžová zůstává i při najetí */
}

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

.btn-accent {
  background-color: var(--accent);
  color: var(--accent-hover); /* Tmavě hnědý text podle zadání */
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  color: var(--accent); /* Zlatý text na tmavě hnědém pozadí při přejetí */
}

/* Parte Grid */
.parte-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 40px;
}

.parte-card {
  flex: 0 0 calc(33.333% - 20px);
  max-width: 400px;
  min-width: 280px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.parte-card-top {
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.parte-card:hover {
  transform: translateY(-5px);
}

/* Archive List */
.archive-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 40px;
}

.archive-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.archive-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.archive-item-info {
  display: flex;
  flex-direction: column;
}

.archive-item-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.archive-item-details {
  font-size: 0.95rem;
  color: #666;
}

.archive-item-btn {
  background-color: var(--primary);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-family: var(--font-serif);
  font-weight: 600;
  transition: background-color 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.archive-item-btn:hover {
  background-color: var(--accent);
}

.parte-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background-color: #f0f0f0;
}

.parte-content {
  padding: 20px;
  flex-grow: 1;
  text-align: center;
}

.header-contact, .header-mail {
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.header-mail a {
  color: var(--accent); /* Zlatá barva pro e-mail místo základní modré */
  text-decoration: none;
}

.header-mail a:hover {
  text-decoration: underline;
}

/* Sociální sítě - ikonky */
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}

.social-icons svg {
  width: 18px;
  height: 18px;
}

.parte-name {
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.parte-age {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 15px;
}

.parte-details {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 20px;
}

.parte-footer {
  padding: 15px 0 0 0;
  background-color: transparent;
  border-top: none;
  text-align: center;
}

.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

/* Footer */
.site-footer {
  background-color: var(--primary);
  color: var(--surface);
  padding: 60px 0 20px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

/* Rovnoměrné symetrické rozložení na velkých obrazovkách */
@media (min-width: 901px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-col:nth-child(2) {
    text-align: center;
  }
  .footer-col:last-child {
    text-align: right;
  }
}

.footer-col h3 {
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-col p, .footer-col a {
  color: #d0d0d0;
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: var(--surface);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
  color: #d0d0d0;
  line-height: 1.5;
}

.footer-links strong {
  color: white;
  font-weight: 500;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #a0a0a0;
  font-size: 0.9rem;
}

/* Utilities */
.text-center { text-align: center; }
.section { padding: 60px 0; }

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
  font-weight: 500;
}
.alert-success {
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}
.alert-error {
  background-color: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}
.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
}

/* Mobile Header & Overlay */
.mobile-header {
  display: none;
  background-color: var(--primary); /* Tmavě zelená lišta */
  padding: 10px 20px;
  align-items: center;
  justify-content: flex-start; /* Zarovnání doleva */
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(243, 239, 232, 0.2);
}

.mobile-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--bg-color); /* Béžový text */
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
}

.mobile-logo-wrap span {
  display: block; /* Zobrazení HTML textu */
  text-align: left;
}

.mobile-logo-wrap img {
  height: 45px; /* Přizpůsobená výška pro čisté logo */
  width: auto;
  display: block;
}

.mobile-menu-toggle {
  position: absolute;
  right: 20px; 
  background: none;
  border: none;
  color: var(--bg-color); /* Béžové čárky */
  cursor: pointer;
  display: flex;
  align-items: center;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 150;
}
.sidebar-overlay.is-active {
  display: block;
}

/* Responsive */
@media (max-width: 900px) {
  body {
    flex-direction: column;
  }
  .mobile-header {
    display: flex;
  }
  .site-header {
    position: fixed;
    top: 0;
    left: -320px; /* Schované mimo obrazovku */
    width: 280px;
    height: 100vh;
    padding: 10px 15px; /* Zmenšené odsazení */
    border-right: none;
    transition: left 0.3s ease; /* Plynulé vysunutí */
    z-index: 200;
  }
  .site-header.is-open {
    left: 0;
  }
  .content-area {
    margin-left: 0;
    width: 100%;
    padding: 30px 20px 0 20px;
  }
  .logo {
    margin-bottom: -5px; /* Upraveno pro menší logo */
  }
  .logo img {
    max-width: 160px; /* Zmenšené logo pro ušetření místa */
    margin: 0 auto;
  }
  .main-nav ul {
    flex-direction: column;
    justify-content: flex-start;
    gap: 2px; /* Zmenšená mezera mezi položkami jako na počítači */
    margin: 0;
    padding: 0;
  }
  .main-nav a {
    padding: 4px 10px;
    font-size: 0.95rem; /* Zmenšený font v navigaci */
  }
  .sidebar-search {
    margin: 10px 0; /* Zmenšená mezera */
  }
  .sidebar-search input {
    padding: 6px 30px 6px 12px;
  }
  .sidebar-contact {
    margin-top: 10px;
    padding-top: 10px;
  }
  .sidebar-contact p {
    font-size: 0.8rem;
    margin-bottom: 2px;
  }
  .sidebar-contact a {
    font-size: 0.95rem;
  }
  .emergency-phone {
    padding: 4px 12px;
    margin-top: 2px;
  }
  .social-icons {
    margin-top: 5px !important; /* Přepsání inline stylu */
  }
  .social-icons a {
    width: 30px;
    height: 30px;
  }
  .social-icons svg {
    width: 14px;
    height: 14px;
  }
}

/* Contact Page Styles */
.contact-hero {
  text-align: center;
  margin-bottom: 50px;
}
.contact-hero h1 {
  font-family: var(--font-serif);
  color: var(--primary);
  font-size: 3rem;
  margin-bottom: 20px;
}
.contact-hero-divider {
  width: 50px;
  height: 2px;
  background-color: var(--primary);
  margin: 0 auto 30px;
}
.contact-hero p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: flex-start;
  margin-bottom: 40px;
}
.contact-map-col {
  flex: 1;
  min-width: 300px;
}
.contact-map-col iframe {
  width: 100%;
  height: 450px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.contact-info-col {
  flex: 1;
  min-width: 300px;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}
.contact-info-icon {
  margin-right: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0;
}
.contact-info-icon svg {
  width: 28px;
  height: 28px;
}
.contact-info-text {
  font-size: 1.1rem;
}
.contact-info-text h3 {
  margin: 0 0 5px 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 500;
}
.contact-info-text p {
  margin: 0;
  color: var(--text-main);
  line-height: 1.6;
}

.parking-note {
  border-left: 4px solid var(--primary);
  padding-left: 20px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-muted);
  margin: 40px 0;
  line-height: 1.5;
}

.contact-form-section {
  max-width: 700px;
  margin: 80px auto 40px;
}
.contact-form-section h2 {
  font-family: var(--font-serif);
  color: var(--primary);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 500;
}

.contact-form {
  background: transparent;
}
.contact-form .form-group {
  margin-bottom: 40px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 10px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  font-size: 1.1rem;
  font-family: var(--font-sans);
  color: var(--text-main);
  outline: none;
  transition: border-color 0.3s;
}
.contact-form input[type="text"]::placeholder,
.contact-form input[type="email"]::placeholder,
.contact-form textarea::placeholder {
  color: #888;
}
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--primary);
}
.contact-form textarea {
  resize: vertical;
  min-height: 50px;
}
.recaptcha-text {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.5;
}
.recaptcha-text a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.btn-dark {
  background-color: #1a1a1a;
  color: #fff;
  border: none;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  font-family: var(--font-sans);
  display: inline-block;
}
.btn-dark:hover {
  background-color: #000;
}

.alert {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  font-weight: 500;
  text-align: center;
}
.alert-success {
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

/* --- Stránka O nás --- */
.about-hero {
  padding: 80px 0 20px;
}

.about-hero .page-title {
  color: var(--primary);
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.about-hero .lead-text {
  font-size: 1.2rem;
  color: var(--text-light);
  font-family: var(--font-serif);
  font-style: italic;
}

.about-content {
  padding: 60px 0;
  background-color: var(--bg);
}

.about-content .text-block {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}

.about-content .text-block p {
  margin-bottom: 25px;
}

.offices-section {
  padding: 80px 0;
  background-color: var(--surface);
}

.section-title {
  color: var(--primary);
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 50px;
}

.offices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.office-card {
  background: var(--bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.office-card:hover {
  transform: translateY(-5px);
}

.office-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.office-info {
  padding: 30px;
}

.office-info h3 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.office-info .office-address {
  font-weight: normal;
  color: var(--text-light);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.office-info .office-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}
.alert-error {
  background-color: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

/* --- Důležité informace --- */
.page-hero {
  padding: 80px 0 20px;
}

.content-section {
  padding: 40px 0 80px;
}

.info-block {
  max-width: 900px;
  margin: 0 auto;
}

/* Accordion */
.accordion {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
  margin-top: 30px;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

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

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 20px 25px;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.accordion-header:hover {
  background-color: var(--bg);
}

.accordion-header[aria-expanded="true"] {
  color: var(--primary);
  background-color: var(--bg);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  position: relative;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background-color: currentColor;
  transition: transform 0.3s ease;
}

.accordion-icon::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

.accordion-icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

.accordion-header[aria-expanded="true"] .accordion-icon::after {
  transform: rotate(90deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: var(--surface);
}

.accordion-content > p {
  padding: 0 25px 25px;
  margin: 0;
}

.accordion-content > ol {
  padding: 0 25px 25px 45px;
  margin: 0;
}

.accordion-content > p:first-child {
  padding-top: 5px;
}

/* --- Služby --- */
.services-content {
  padding: 40px 0 80px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-icon {
  width: 50px;
  height: 50px;
  color: var(--primary);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--text);
  line-height: 1.5;
}

.service-list li::before {
  content: '•';
  color: var(--primary);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

/* --- Galerie / Sortiment --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.gallery-item {
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  background-color: #ffffff;
  display: block;
  border-bottom: 1px solid var(--border);
}

#urny .gallery-item img {
  aspect-ratio: 1/1;
}

#kvetiny .gallery-item img {
  aspect-ratio: 1/1;
  object-fit: contain;
  background-color: #747371; /* přesná barva pozadí fotek s květinami */
}

.gallery-caption {
  padding: 20px;
}

.gallery-caption h4 {
  margin: 0 0 10px 0;
  color: var(--primary);
  font-size: 1.2rem;
}

.gallery-caption p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Lightbox Styles */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.85);
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.lightbox-close:hover {
  color: #bbb;
}

/* Info Grids & Lists */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.info-card {
  background: var(--surface);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.info-card h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.3rem;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border);
}

.info-list, .info-list-numbered {
  padding-left: 20px;
  color: var(--text);
  line-height: 1.6;
}

.info-list li, .info-list-numbered li {
  margin-bottom: 10px;
}

.info-list {
  list-style-type: disc;
}

.info-list li::marker {
  color: var(--primary);
}
/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 280px; /* Offset for sidebar on desktop */
  right: 0;
  background-color: rgba(23, 50, 11, 0.95);
  color: var(--surface);
  padding: 20px;
  z-index: 1000;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  text-align: center;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 768px) {
  .cookie-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (max-width: 900px) {
  .cookie-banner {
    left: 0; /* Full width on mobile */
  }
  .contact-info-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .contact-info-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .contact-map-col, .contact-info-col {
    min-width: 100%;
  }
}

@media (max-width: 900px) {
  .cookie-banner {
    left: 0; /* Full width on mobile */
    bottom: 60px; /* Posunutí nad tlačítko volání */
  }
}

/* Sticky Mobile Call Button */
.sticky-mobile-call {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: var(--accent);
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.2);
  display: none;
}

.btn-sticky-call {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 16px 10px;
  color: var(--accent-hover) !important;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  text-align: center;
  transition: background-color 0.2s ease;
}

.btn-sticky-call:hover, .btn-sticky-call:active {
  background-color: var(--accent-hover);
  color: var(--accent) !important;
}

@media (max-width: 900px) {
  .sticky-mobile-call {
    display: block;
  }
  
  /* Skrytí tlačítka volání při otevřeném bočním menu */
  .site-header.is-open ~ .sticky-mobile-call {
    display: none !important;
  }
  
  .site-footer {
    padding-bottom: 70px;
  }
}
