/*
Theme Name: Furora
Theme URI: https://furora.pl
Author: Worfordis.pl
Author URI: https://worfordis.pl
Description: Motyw firmowy Furora — lokalnego operatora telekomunikacyjnego (internet światłowodowy, telewizja cyfrowa 4K, telefonia). Wierne odwzorowanie makiety strony głównej. Współpracuje z wtyczkami: Furora Core, Furora Lokalizacje (wyszukiwarka dostępności) oraz Furora Konfigurator. Treści powtarzalne edytujesz w pliku inc/theme-data.php, a dane kontaktowe w Wygląd → Dostosuj → "Furora – Dane kontaktowe".
Version: 1.2.30
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: furora
*/

/* =============================================================================
   BAZA / RESET  (przeniesione z makiety)
   ========================================================================== */
html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #F6F6F6;
  color: #1A1A1A;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: #CC2026; color: #fff; }
input::placeholder { color: #9AA0A6; }

/* Wrapper strony (odpowiednik root diva makiety) */
.furora-site { color: #1A1A1A; background: #fff; min-height: 100vh; overflow-x: clip; }

/* Utility: ukrycie paska przewijania w karuzelach */
.scrollbar-none::-webkit-scrollbar { display: none; }
.scrollbar-none { -ms-overflow-style: none; scrollbar-width: none; }

/* =============================================================================
   ANIMACJE
   ========================================================================== */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.45); }
  70%  { box-shadow: 0 0 0 14px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
@keyframes pulseCard {
  0%   { box-shadow: 0 0 0 0 rgba(204,32,38,.35); }
  70%  { box-shadow: 0 0 0 12px rgba(204,32,38,0); }
  100% { box-shadow: 0 0 0 0 rgba(204,32,38,0); }
}

/* =============================================================================
   HOVERY / INTERAKCJE
   ========================================================================== */
.pricing-cta-btn:hover { background: #CC2026 !important; color: #fff !important; }

.avail-hover:hover {
  box-shadow: 0 12px 40px -8px rgba(204,32,38,.18), 0 4px 16px -4px rgba(204,32,38,.10) !important;
}

.footer-link { transition: color .2s ease; }
.footer-link:hover { color: #CC2026 !important; }
.footer-social { transition: transform .2s ease, box-shadow .2s ease, color .2s ease; }
.footer-social:hover { color: #CC2026 !important; transform: translateY(-2px); box-shadow: 0 8px 18px -10px rgba(0,0,0,.25); }

/* Karta pakietu internetu — hover */
.pricing-card { transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease; }
.pricing-card:hover { box-shadow: 0 18px 40px -18px rgba(0,0,0,.28) !important; border-color: #a51117 !important; }

/* Kanał wyszarzony (dostępny w wyższym pakiecie) */
.tv-channel-card.is-dimmed { opacity: .35; filter: grayscale(1); }

/* Karta hero "Super oferta" — puls */
.hero-tile--pulse { animation: pulseCard 2.4s infinite; }

/* =============================================================================
   RESPONSIVE / MOBILE  (przeniesione z makiety)
   ========================================================================== */
@media (max-width: 768px) {
  /* Nagłówek: pokaż hamburger + ikony mobilne, ukryj desktop */
  .hamburger-btn { display: flex !important; }
  .desktop-nav { display: none !important; }
  .header-desktop-only { display: none !important; }
  .header-mobile-only { display: flex !important; }

  /* Górny pasek: tylko telefon na środku */
  .topbar-inner { justify-content: center !important; }
  .topbar-left { display: none !important; }
  .topbar-social { display: none !important; }
  .topbar-label { display: none !important; }

  /* Hero: stackowanie, slider kwadratowy */
  .hero-grid { grid-template-columns: 1fr !important; }
  .hero-main { min-height: auto !important; aspect-ratio: 1/1; }
  .hero-slide-desktop { display: none !important; }
  .hero-slide-mobile { display: block !important; }
  .hero-tile { min-height: auto !important; }

  /* Szybkie odnośniki: 2 kolumny */
  .quick-links-grid { grid-template-columns: 1fr 1fr !important; }
  .quick-links-grid a { border-right: none !important; border-bottom: 1px solid #EAEAEA; }

  /* Canal+: stackowanie kolumn */
  .canal-grid { grid-template-columns: 1fr !important; }

  /* Multiroom: stackowanie tekst + obraz */
  .multiroom-card { grid-template-columns: 1fr !important; }
  .multiroom-img { min-height: 240px !important; order: -1; }
  .multiroom-features { grid-template-columns: 1fr 1fr !important; gap: 20px 0 !important; }
  .multiroom-features > div:nth-child(3) { border-left: none !important; }

  /* SEO: jedna kolumna */
  .seo-columns { columns: 1 !important; }

  /* Stopka: stackowanie */
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
  .footer-grid > *:first-child { grid-column: span 2 !important; }
  .footer-bottom { flex-direction: column !important; align-items: flex-start !important; }
  .footer-contact-band { grid-template-columns: 1fr !important; }
  .footer-contact-cell { border-left: none !important; }
  .footer-contact-band .footer-contact-cell:last-child { border-top: 1px solid rgba(255,255,255,.12) !important; }

  /* Opinie: jedna kolumna */
  .reviews-grid { grid-template-columns: 1fr !important; }

  /* Pozostała oferta */
  .offer-grid { grid-template-columns: 1fr !important; }

  /* Pakiety TV: mniejsze przyciski */
  .tv-pkg-tabs button { padding: 9px 14px !important; font-size: 12.5px !important; }
  .tv-filter-tabs button { padding: 6px 12px !important; font-size: 11.5px !important; }

  /* Ticker: strzałki zawsze widoczne na mobile */
  .ticker-arrow { opacity: 1 !important; pointer-events: auto !important; }
}

/* Opinie: 2 kolumny na tablecie */
@media (min-width: 769px) and (max-width: 1024px) {
  .reviews-grid { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 480px) {
  .quick-links-grid { grid-template-columns: 1fr !important; }
  .quick-links-grid a { border-right: none !important; border-bottom: 1px solid #EAEAEA; }
}

/* =============================================================================
   NAWIGACJA DESKTOP – rozwijane menu (hover)
   ========================================================================== */
.nav-dropdown { display: none; }
.nav-item.has-children:hover .nav-dropdown { display: block; }
.nav-dropdown a:hover { background: #F6F6F6; }
.desktop-nav .nav-item > a:hover { color: #CC2026; }

/* =============================================================================
   SZABLON: Dokumenty do pobrania (page-dokumenty.php)
   ========================================================================== */
.furora-docs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.furora-doc {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: #f7f7f7;
  border: 2px solid #EAEAEA;
  border-radius: 8px;
  padding: clamp(20px, 2.4vw, 28px);
  transition: border-color .18s ease, box-shadow .18s ease;
}

/* Ramka przyciemnia sie po najechaniu (jak na stronie glownej) */
.furora-doc:hover {
  border-color: #a51117;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .28);
}

.furora-doc__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #FFF5F5;
  color: #CC2026;
  flex-shrink: 0;
}

.furora-doc__badge {
  position: absolute;
  bottom: -6px;
  right: -8px;
  background: #CC2026;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: .04em;
  line-height: 1;
  padding: 3px 5px;
  border-radius: 5px;
  border: 2px solid #f7f7f7;
}

.furora-doc__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  color: #1A1A1A;
  margin: 0;
  flex: 1;
}

.furora-doc__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #CC2026;
  color: #fff;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 8px;
  transition: background .18s ease;
  margin-top: auto;
}

.furora-doc__btn:hover { background: #a51117; }
.furora-doc__btn[aria-disabled="true"] { background: #C7CCCF; cursor: not-allowed; pointer-events: none; }

/* Tablet: 2 kolumny */
@media (min-width: 769px) and (max-width: 1024px) {
  .furora-docs__grid { grid-template-columns: 1fr 1fr; }
}

/* Telefon: jeden pod drugim */
@media (max-width: 768px) {
  .furora-docs__grid { grid-template-columns: 1fr !important; }
}
