/*
Theme Name: Aloix
Description: Кастомная тема для Aloix, соответствующая дизайну главной страницы
Version: 1.0
Author: Aloix Team
*/

/* Font faces для Gilroy */
@font-face {
  font-family: 'Gilroy';
  src: url('fonts/Gilroy-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Gilroy';
  src: url('fonts/Gilroy-Extrabold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

/* Импорт Google Fonts - Inter как запасной */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

/* Основные стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Gilroy", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: #ffffff;
}

/* Цветовая схема Aloix */
:root {
  --primary-color: #FF4106;
  --secondary-color: #FFD100;
  --accent-color: #00B81A;
  --blue-color: #005DF6;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --background: #ffffff;
  --background-secondary: #f9fafb;
}

/* Контейнер */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Кнопки */
.btn-primary {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #e63900;
  color: white;
  text-decoration: none;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* Основной контент */
.site-main {
  min-height: calc(100vh - 200px);
  padding: 2rem 0;
}

/* Посты */
.post {
  margin-bottom: 3rem;
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.post-title {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.post-meta {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.post-content {
  line-height: 1.7;
}

.post-content p {
  margin-bottom: 1rem;
}

/* Адаптивность */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .site-main {
    padding: 1rem 0;
  }
  
  .post {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
}

/* Футер стили для белого цвета заголовков */
footer {
  background-color: #000000 !important;
  color: white !important;
}

footer h4,
footer .text-lg,
footer .font-semibold {
  color: white !important;
}

footer .bg-black {
  background-color: #000000 !important;
}

footer .text-white {
  color: white !important;
}



/* Дополнительные селекторы для футера */
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6 {
  color: white !important;
}

footer .wp-block-heading {
  color: white !important;
}

/* Пункты меню футера должны быть серыми */
footer a {
  color: #9ca3af !important; /* gray-400 */
}

footer a:hover {
  color: #FF4106 !important; /* primary color */
}

footer .menu-item a {
  color: #9ca3af !important; /* gray-400 */
}

/* Логотип Aloix должен быть красным */
footer h3 {
  color: #FF4106 !important; /* primary color для логотипа */
}

/* Но заголовки блоков остаются белыми */
footer h4 {
  color: white !important;
}

/* Дополнительные Tailwind стили для надежности */
.text-primary {
  color: #FF4106 !important;
}

.text-gray-400 {
  color: #9ca3af !important;
}

.hover\:text-primary:hover {
  color: #FF4106 !important;
}

.bg-primary {
  background-color: #FF4106 !important;
}

/* Специфические стили для логотипа в header */
header .text-primary {
  color: #FF4106 !important;
}
