/* Основні скидання та колірна палітра */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
  background-color: #0f1012;
  color: #e1e1e1;
  padding-bottom: 80px;
}

/* Кольори бренду */
:root {
  --gold-color: #d4af37;
  --gold-bg-btn: #e5b839;
  --dark-card-bg: #16181b;
  --border-gold: #3a331a;
  --whatsapp-green: #25d366;
}

/* Шапка сайту */
.site-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background-color: #0c0d0f;
  border-bottom: 1px solid #2a2415;
}

.logo img {
  height: 42px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  background-color: #1f2125;
  border-radius: 20px;
  padding: 3px 6px;
  display: flex;
  gap: 4px;
}

.lang {
  font-size: 11px;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 12px;
  color: #888;
  cursor: pointer;
}

.lang.active {
  background-color: var(--gold-color);
  color: #000;
}

.burger-btn {
  background: none;
  border: none;
  color: var(--gold-color);
  font-size: 22px;
  cursor: pointer;
}

/* Випадаюче меню */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 16px;
  width: 200px;
  background-color: #1a1c21;
  border: 1px solid #333;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.8);
  z-index: 100;
}

.dropdown-menu.open {
  display: block;
}

.dropdown-menu ul {
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 12px 16px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid #282a30;
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu li a.active,
.dropdown-menu li a:hover {
  color: var(--gold-color);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 24px 16px 32px 16px;
}

.hero-logo img {
  width: 80%;
  max-width: 320px;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 14px;
  line-height: 1.5;
  color: #b0b3b8;
  max-width: 450px;
  margin: 0 auto 24px auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #fff;
}

.btn-call {
  background-color: var(--gold-bg-btn);
  color: #000;
}

/* Загальні стилі секцій */
.section {
  padding: 20px 16px;
}

.section-title {
  text-align: center;
  color: var(--gold-color);
  font-size: 20px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  font-weight: 800;
}

/* Картки послуг та контактів */
.card {
  background-color: var(--dark-card-bg);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
}

.card-title {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 700;
}

.text-gold {
  color: var(--gold-color);
}

.card-subtitle {
  font-size: 13px;
  color: #a0a5aa;
  margin-bottom: 16px;
  line-height: 1.4;
}

.check-list {
  list-style: none;
  border-top: 1px solid #22252a;
  padding-top: 12px;
}

.check-list li {
  font-size: 13px;
  color: #cccccc;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-list li i {
  color: var(--gold-color);
  font-size: 12px;
}

/* Блок Przed / Po */
.before-after-container {
  display: flex;
  justify-content: center;
}

.ba-box {
  position: relative;
  width: 100%;
  height: 200px;
  background-color: #0a0b0d;
  border: 1px solid var(--gold-color);
  border-radius: 10px;
  overflow: hidden;
}

.ba-badge {
  position: absolute;
  top: 10px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--gold-color);
  color: #fff;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: bold;
}

.badge-left { left: 10px; }
.badge-right { right: 10px; }

.ba-slider-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--gold-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-slider-btn {
  width: 28px;
  height: 28px;
  background-color: var(--gold-color);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

/* Галерея */
.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-card {
  background-color: var(--dark-card-bg);
  border: 1px solid #22252a;
  border-radius: 10px;
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  max-height: 200px;
  object-fit: contain; /* <- Зображення повністю зменшиться і вміститься в блок */
  display: block;
  padding: 10px; /* Додасть невеликі акуратні відступи від країв */
}


.gallery-caption {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--gold-color);
  font-weight: 600;
}

/* Контакти */
.contact-group {
  margin-bottom: 14px;
}

.contact-group:last-child {
  margin-bottom: 0;
}

.contact-group label {
  display: block;
  font-size: 11px;
  color: #777c85;
  font-weight: bold;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.contact-value {
  font-size: 15px;
  color: #ffffff;
  font-weight: 600;
}

.contact-text {
  font-size: 13px;
  color: #cccccc;
  line-height: 1.4;
}

/* Плаваюча кнопка WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 16px;
  background-color: var(--whatsapp-green);
  color: #fff;
  padding: 10px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  z-index: 999;
}

/* Стилі для кнопок PL / UA */
.lang-switch {
  display: flex;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 4px 8px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-switch .lang {
  color: #ccc;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.lang-switch .lang:hover {
  color: #fff;
}

.lang-switch .lang.active {
  color: #000;
  background-color: #d4af37; /* Золотистий колір активної мови */
}

/* ==========================================
   Стилі для Блогу та Статей
   ========================================== */

/* Блок блогу на головній */
.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-card {
  padding: 0;
  overflow: hidden;
}

.blog-img-wrapper img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.blog-content {
  padding: 16px 20px;
}

.blog-date {
  font-size: 11px;
  color: #777c85;
  display: block;
  margin-bottom: 6px;
}

.btn-blog-read {
  color: var(--gold-color);
  text-decoration: none;
  font-weight: bold;
  font-size: 13px;
  display: inline-block;
  margin-top: 10px;
}

/* Окрема сторінка статті */
.article-container {
  padding-top: 20px;
  max-width: 650px;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.back-link {
  color: var(--gold-color);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.article-title {
  font-size: 22px;
  line-height: 1.35;
  margin-bottom: 20px;
}

.article-hero-img img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border-gold);
  margin-bottom: 20px;
}

.article-body p {
  font-size: 14px;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 16px;
}

.article-subtitle {
  font-size: 17px;
  margin: 25px 0 10px 0;
}

.article-quote {
  background: #191b20;
  border-left: 3px solid var(--gold-color);
  padding: 12px 16px;
  font-style: italic;
  font-size: 13px;
  color: #e1e1e1;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
}

.article-cta-box {
  margin-top: 35px;
  text-align: center;
}

.btn-back-home {
  color: var(--gold-color);
  font-size: 18px;
  text-decoration: none;
  padding: 4px;
}



