/* styles.css */

[v-cloak] { display: none; }

/* Основные кнопки */
.cta-button {
  display: inline-block;
  background-color: #D4AF37; /* Старое золото / латунь */
  color: #111827;
  padding: 0.9rem 2.2rem;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}
.cta-button:hover {
  background-color: #E0C56E;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1);
}
.cta-button-sm {
  padding: 0.6rem 1.5rem;
  font-size: 0.875rem;
}

/* Форма */
.form-input {
  flex-grow: 1;
  padding: 0.9rem 1.5rem;
  border-radius: 4px;
  border: 1px solid #4B5563; /* gray-600 */
  background-color: #1F2937; /* gray-800 */
  color: #D1D5DB; /* gray-300 */
  transition: all 0.3s ease;
}
.form-input:focus {
  outline: none;
  border-color: #D4AF37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

/* Табы материалов */
.tab-button {
  padding: 0.75rem 1.5rem;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px; /* Чтобы перекрыть родительский border */
  font-weight: 500;
  color: #9CA3AF; /* gray-400 */
  transition: all 0.3s ease;
}
.tab-button.active, .tab-button:hover {
  color: white;
}
.tab-button.active {
  border-bottom-color: #D4AF37;
}
.material-content { min-height: 120px; }
.fade-enter-active, .fade-leave-active { transition: opacity 0.3s ease; }
.fade-enter-from, .fade-leave-to { opacity: 0; }

/* Аккордеон */
.accordion-item {
  background-color: #1F2937; /* gray-800 */
  border-radius: 8px;
  border: 1px solid #374151; /* gray-700 */
  overflow: hidden;
  transition: background-color 0.2s ease;
}
.accordion-item:hover {
  background-color: #2b3a4f;
}
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.25rem;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
}
.accordion-icon {
  width: 1.5rem;
  height: 1.5rem;
  transition: transform 0.3s ease;
  color: #9CA3AF; /* gray-400 */
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  color: #9CA3AF; /* gray-400 */
}
.accordion-content p {
  padding: 0 1.25rem 1.25rem 1.25rem;
  margin: 0;
}
.accordion-content.open {
  max-height: 200px; /* Достаточная высота для контента */
}


/* Слайдер до/после */
.comparison-slider {
  position: relative;
  overflow: hidden;
  cursor: ew-resize;
  border-radius: 8px;
  border: 2px solid #374151;
  user-select: none; /* Предотвращает выделение текста при перетаскивании */
}
.comparison-slider.is-dragging {
  cursor: grabbing;
}
.comparison-image { display: block; width: 100%; height: auto; }
.comparison-resizer {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  border-right: 4px solid white; /* Заменяем handle линией */
}
.comparison-resizer img {
  width: 100%;
  height: auto;
  max-width: none;
  display: block;
}
.comparison-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border: 2px solid white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0,0,0,0.5);
  pointer-events: none; /* Ручка не должна ловить клики */
}


/* Модальные окна */
.info-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  z-index: 1000;
}
.info-modal-content {
  background-color: white;
  color: #374151; /* Для текста внутри модалки */
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  width: 100%;
  max-width: 600px;
  position: relative;
}
.modal-close-button {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 1.5rem;
  color: #9ca3af;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}
.modal-close-button:hover {
  color: #111827;
}