/* ── Ross Painting Group — Theme CSS ─────────────────────────────── */

/* Brandbook fonts — self-hosted */
@font-face {
  font-family: 'Brittany Signature';
  src: url('../fonts/BrittanySignature.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Логотип — Brittany Signature (брендбук) */
.font-signature { font-family: 'Brittany Signature', cursive; }

/* Заголовки страниц — Great Vibes (толще, лучше читается) */
.font-script { font-family: 'Great Vibes', cursive; }

/* Hero text shadow — guarantees readability over photo backgrounds */
.hero-text-shadow,
section.relative h1,
section.relative h1 span {
  text-shadow: 0 2px 14px rgba(15, 28, 44, 0.65), 0 1px 4px rgba(15, 28, 44, 0.4);
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; }
}

/* Mobile header */
@media (max-width: 639px) {
  .logo-text { font-size: 0.95rem; letter-spacing: -0.02em; white-space: nowrap; }
}

/* Reviews */
.review-text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.review-text.expanded { display: block; overflow: visible; }
.read-more-btn { color: #638BAD; font-weight: 600; font-size: 0.8rem; cursor: pointer; margin-top: 6px; display: inline-block; }

/* Before/After tabs */
.ba-tab { cursor: pointer; padding: 10px 20px; border-radius: 12px; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.03em; transition: all 0.2s; border: 2px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.65); }
.ba-tab:hover:not(.active) { border-color: #B3D682; color: #B3D682; background: rgba(179,214,130,0.08); }
.ba-tab.active { background: #B3D682; color: #1a3a00; border-color: #B3D682; box-shadow: 0 4px 12px rgba(179,214,130,0.25); }
.ba-panel { display: none; }
.ba-panel.active { display: block; }

/* Marquee */
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-track { animation: marquee 28s linear infinite; }

/* WP alignment classes */
.alignwide  { margin-left: auto; margin-right: auto; max-width: 1280px; }
.alignfull  { width: 100%; }
.wp-block-image img { max-width: 100%; height: auto; }
