/*
Theme Name: Radaevich Clean
Author: Radaevich
Version: 1.0
*/
/*
Theme Name: Radaevich Clean & Modern
Author: Radaevich
Version: 1.1
*/

:root {
  /* Нова палітра з кота */
  --bg-main: rgba(18, 18, 20, 0.98); /* Майже чорний фон */
  --bg-card: #252220; /* Темно-коричневий, як на смугах, але темніший, для карток */
  --bg-card-hover: #3d3a36; /* Світліший темно-коричневий для ховера */
  --text-main: #eae5d3; /* Кремовий, м'який основний текст */
  --text-muted: #b2ac9f; /* Світло-сірий з відтінком, як метал окулярів */
  --accent: #534639; /* Шляхетний темно-коричневий для ховерів кнопок */
  --accent-hover: #eae5d3; /* Кремовий, для інверсії ховера */
  --border: #3d3a36; /* Тонкі лінії, майже як акцент */
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: 'Montserrat', sans-serif; /* Сучасний шрифт */
  margin: 0;
  line-height: 1.6;
}

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

.section {
  padding: 100px 0; /* Більше простору */
}

/* --- Модернізація кнопок (без рудого) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  letter-spacing: 0.05em;
}

.btn-primary { 
  background: transparent; 
  color: var(--text-main); 
  border: 2px solid var(--text-main); /* Кремова кнопка */
}
.btn-primary:hover { 
  background: var(--text-main); 
  color: var(--bg-main); 
}

.btn-secondary { 
  background: transparent; 
  color: var(--text-muted); 
  border: 1px solid var(--border); 
}
.btn-secondary:hover { 
  background: var(--bg-card-hover); 
  border-color: var(--text-muted);
}

/* --- Перший екран: Анімація --- */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  z-index: 10;
}

.hero-text {
  max-width: 700px;
}

.hero h1 {
  font-size: 3.5rem; /* Ще більше */
  line-height: 1.1;
  margin: 20px 0;
  font-weight: 800;
}

/* Елемент для JS-анімації силуету кота */
#hero-cat-animation {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: 50%;
  height: 80%;
  opacity: 0.15; /* Легка прозорість */
  pointer-events: none;
  z-index: 1;
}

/* Спрощений контур SVG для CSS анімації */
.cat-outline-animated {
  stroke: var(--text-main);
  stroke-width: 1.5;
  fill: none;
  animation: outline-pulse 4s infinite;
}

@keyframes outline-pulse {
  0%, 100% {
    stroke-opacity: 0.5;
    transform: scale(1);
  }
  50% {
    stroke-opacity: 1;
    transform: scale(1.02);
  }
}

/* --- Інші елементи (без рудого) --- */
.badge {
  background: rgba(83, 70, 57, 0.15); /* Прозорий акцент */
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.fact-card, .product-card, .contacts-wrapper, .order-form select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s;
}

.fact-card:hover, .product-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.fact-num { color: var(--text-muted); } /* Без рудого */
.service-item { border-left-color: var(--border); } /* Без рудого */

/* Форми: Модернізація */
.form-group input, .form-group textarea {
  background: rgba(18, 18, 20, 0.5); /* Ще темніше */
  color: var(--text-main);
  border-color: var(--border);
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--text-muted);
  outline: none;
}

/* --- Контейнер силуету кота --- */
#hero-cat-animation {
  position: absolute;
  top: 50%;
  right: -2%;
  transform: translateY(-50%);
  width: 48%;
  max-width: 550px;
  height: auto;
  opacity: 0.25; /* Легкий контур у фоні */
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Ефект реагування кота на рух миші по першому екрану */
.hero:hover #hero-cat-animation {
  opacity: 0.45;
  transform: translateY(-51%) scale(1.02);
}

/* Базові контури SVG */
.cat-stroke {
  stroke: #eae5d3;
  stroke-width: 2.5;
  fill: none;
  stroke-dasharray: 1000;
  stroke-dashoffset: 0;
  animation: drawLine 4s ease-in-out infinite alternate;
}

.cat-stroke-thin {
  stroke: #b2ac9f;
  stroke-width: 1.5;
  fill: none;
}

.cat-stroke-bold {
  stroke: #eae5d3;
  stroke-width: 4.5;
  fill: none;
  filter: drop-shadow(0 0 6px rgba(234, 229, 211, 0.2));
}

.cat-pupil {
  stroke: #534639;
  stroke-width: 2;
  fill: rgba(37, 34, 32, 0.8);
  animation: eyePulse 3s ease-in-out infinite alternate;
}

.cat-glare {
  fill: #eae5d3;
  opacity: 0.8;
}

.cat-whiskers {
  stroke: #b2ac9f;
  stroke-width: 1.2;
  stroke-dasharray: 5;
  opacity: 0.7;
}

/* --- Анімації --- */
@keyframes drawLine {
  0% {
    stroke-dashoffset: 50;
    opacity: 0.6;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

@keyframes eyePulse {
  0% {
    transform: scale(1);
    transform-origin: center;
  }
  100% {
    transform: scale(1.05);
    transform-origin: center;
  }
}

/* Адапти під мобілку */
@media (max-width: 992px) {
  #hero-cat-animation {
    width: 80%;
    right: 10%;
    top: 60%;
    opacity: 0.12; /* На мобілці робимо ще блідішим, щоб не заважав тексту */
  }
}