
/* ZÁKLADNÍ STYLY */
.faq {
  font-family: 'Segoe UI', Arial, sans-serif;
  width: 95%;
  margin: 0;
  padding: 0;
  background: #ffffff;
  box-sizing: border-box;
}

.faq * {
  box-sizing: border-box;
}

.faq-header {
  margin-bottom: 30px;
  padding: 0 0 20px 0;
  border-bottom: 2px solid #e0d6c2;
}

.faq-header h2 {
  color: #8b4513;
  margin: 0 0 10px 0;
  font-size: 28px;
  font-weight: 600;
}

.faq-subtitle {
  color: #666;
  font-size: 16px;
  margin: 0;
}

/* FAQ KONTEJNER */
.faq-container {
  margin: 0 0 30px 0;
}

/* FAQ POLOŽKY */
.faq-item {
  margin: 0 0 10px 0;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 25px;
  background: #f9f7f2;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s;
  font-family: inherit;
  font-size: 18px;
  color: #333;
  font-weight: 500;
}

.faq-question:hover {
  background: #f5f0e6;
}

.faq-question[aria-expanded="true"] {
  background: #f5f0e6 !important;
}

.question-text {
  flex: 1;
  margin-right: 15px;
  color: #8b4513;
}

/* TOGGLE TLAČÍTKO */
.faq-toggle {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background: #8b4513;
  transition: transform 0.3s;
}

.faq-toggle::before {
  width: 2px;
  height: 12px;
  left: 9px;
  top: 4px;
}

.faq-toggle::after {
  width: 12px;
  height: 2px;
  left: 4px;
  top: 9px;
}

.faq-question[aria-expanded="true"] .faq-toggle::before {
  transform: rotate(90deg);
}

.faq-question[aria-expanded="true"] .faq-toggle::after {
  transform: rotate(180deg);
}

/* FAQ ODPOVĚDI */
.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background: #ffffff;
}

.faq-answer.open {
  padding: 25px;
  max-height: none;
}

.faq-answer p {
  margin: 0 0 15px 0;
  line-height: 1.6;
  color: #444;
}

.faq-answer ul,
.faq-answer ol {
  margin: 15px 0 15px 20px;
  padding: 0;
}

.faq-answer li {
  margin: 0 0 8px 0;
  line-height: 1.5;
  color: #444;
}

.faq-answer strong {
  color: #8b4513;
  font-weight: 600;
}

/* SPECIÁLNÍ ELEMENTY */
.faq-note {
  background: #f8f8f8;
  padding: 15px;
  margin: 20px 0 0 0;
  border-left: 4px solid #8b4513;
}

.faq-note strong {
  color: #8b4513;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.comparison-table th,
.comparison-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.comparison-table th {
  background: #f9f7f2;
  font-weight: 600;
  color: #8b4513;
}

.comparison-table tr:hover {
  background: #f9f9f9;
}

/* FAQ FOOTER */
.faq-footer {
  padding: 20px 0 0 0;
  border-top: 2px solid #e0d6c2;
  text-align: center;
  color: #666;
}

.contact-link {
  color: #8b4513;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.contact-link:hover {
  color: #672D41;
  border-bottom-color: #672D41;
}

/* RESPONZIVNÍ ÚPRAVY */
@media (max-width: 768px) {
  .prosecco-faq {
    padding: 0;
  }
  
  .faq-header h2 {
    font-size: 24px;
  }
  
  .faq-question {
    padding: 18px 20px;
    font-size: 16px;
  }
  
  .faq-answer.open {
    padding: 20px;
  }
  
  .comparison-table {
    font-size: 13px;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 8px 10px;
  }
}

/* PŘÍSTUPNOST */
.faq-question:focus {
  outline: 2px solid #8b4513;
  outline-offset: 2px;
}

.faq-question:focus:not(:focus-visible) {
  outline: none;
}

/* ANIMACE PRO ROZŠÍŘENÍ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.faq-answer.open p,
.faq-answer.open ul,
.faq-answer.open ol,
.faq-answer.open table {
  animation: fadeIn 0.3s ease-out;
}
