/*
Theme Name: Baby Spa (Little Spa Birthday)
Theme URI: https://littlespa.pl/
Description: Motyw potomny (Child Theme) dla Astra, stworzony specjalnie dla Little Spa Birthday. W pełni zoptymalizowany pod kątem edytora blokowego Gutenberg, szablonów Astra Starter Templates (kategoria Spa & Beauty), platformy WooCommerce oraz wtyczki Booking Activities.
Author: Antigravity & Little Spa Team
Author URI: https://littlespa.pl/
Template: astra
Version: 1.0.0
Text Domain: babyspa
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: spa, birthday, kids, beauty, e-commerce, woocommerce, booking-activities, astra, gutenberg, block-patterns, child-theme
*/

/* ==========================================================================
   KOLORYSTYKA MARKI LITTLE SPA BIRTHDAY (CSS Custom Properties)
   Zgodna w 100% ze specyfikacją palety projektu
   ========================================================================== */
:root {
  /* --- PODSTAWA --- */
  --bg-primary: #FFF6F2;
  --bg-secondary: #FCEEE9;
  --bg-surface: #FFFFFF;

  /* --- AKCENTY --- */
  --accent-coral: #DF8A7E;
  --accent-dark: #4A3B39;
  --accent-sand: #D8B4A6;

  /* --- KONTRAST & TYPOGRAFIA --- */
  --text-primary: #423432;
  --text-secondary: #635350;
  --text-muted: #8C7A77;
  --border-subtle: #EADCD7;

  /* --- POWIADOMIENIA --- */
  --notif-success: #4A8561;
  --notif-info: #4F7F9E;
  --notif-error: #B34436;
  --notif-warning: #DF7E37;
  --notif-alert: #DE9F41;

  /* --- WARIANTY TRANSPARENTNE & CIENIE --- */
  --coral-soft: rgba(223, 138, 126, 0.14);
  --coral-hover: #cb7468;
  --dark-hover: #372a29;
  --sand-soft: rgba(216, 180, 166, 0.25);
  
  --shadow-sm: 0 4px 12px rgba(66, 52, 50, 0.04);
  --shadow-md: 0 10px 28px -4px rgba(66, 52, 50, 0.08);
  --shadow-lg: 0 20px 45px -8px rgba(66, 52, 50, 0.12);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;
}

/* ==========================================================================
   PRZECIĄŻENIA DLA MOTYWU ASTRA
   ========================================================================== */
body, .ast-separate-container {
  background-color: var(--bg-primary) !important;
  color: var(--text-secondary);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

h1, h2, h3, h4, h5, h6,
.entry-title, .ast-site-title {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text-primary);
}

/* Przyciski motywu Astra & Gutenberg */
.ast-button,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.wp-block-button__link {
  background-color: var(--accent-coral) !important;
  color: #FFFFFF !important;
  border-radius: var(--radius-pill) !important;
  padding: 14px 28px !important;
  font-weight: 600 !important;
  border: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 6px 18px -4px rgba(223, 138, 126, 0.45) !important;
}

.ast-button:hover,
.button:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
  background-color: var(--coral-hover) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -4px rgba(223, 138, 126, 0.6) !important;
}

/* Przycisk obrysowany (outline) */
.wp-block-button.is-style-outline .wp-block-button__link,
.button.btn-outline {
  background-color: transparent !important;
  color: var(--accent-dark) !important;
  border: 1.5px solid var(--accent-dark) !important;
  box-shadow: none !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover,
.button.btn-outline:hover {
  background-color: var(--accent-dark) !important;
  color: #FFFFFF !important;
}

/* Karty i sekcje Gutenberga */
.babyspa-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.babyspa-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.babyspa-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--coral-soft);
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--border-subtle);
}

/* Wyróżniony tekst kursywą */
.cursive-accent {
  font-style: italic;
  font-weight: 500;
  color: var(--accent-coral);
}

/* ==========================================================================
   NAGŁÓWEK (HEADER) LITTLE SPA BIRTHDAY
   Wierne odwzorowanie paska informacyjnego i nawigacji z projektu
   ========================================================================== */
.babyspa-container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* 1. Górny pasek ogłoszeń (Top Announcement Bar) */
.babyspa-top-bar {
  background-color: var(--accent-dark);
  color: var(--bg-primary);
  font-size: 0.825rem;
  padding: 8px 0;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.babyspa-top-bar .top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.babyspa-top-bar .top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.babyspa-top-bar .top-bar-link {
  color: var(--border-subtle);
  text-decoration: none;
  transition: color 0.2s ease;
}

.babyspa-top-bar .top-bar-link:hover {
  color: var(--accent-coral);
}

/* Przełącznik języków w pasku górnym */
.babyspa-top-bar .lang-switcher {
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  padding: 2px 4px;
  gap: 2px;
}

.babyspa-top-bar .lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bg-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.babyspa-top-bar .lang-btn.active,
.babyspa-top-bar .lang-btn:hover {
  background-color: var(--accent-coral);
  color: #FFFFFF;
}

/* 2. Główny pasek nawigacji (Site Header Glassmorphism) */
.babyspa-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 246, 242, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.babyspa-site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

.babyspa-site-header .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Logo brand */
.babyspa-site-header .logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--accent-dark);
  text-decoration: none;
}

.babyspa-site-header .logo-brand span {
  color: var(--accent-coral);
  font-style: italic;
}

.babyspa-site-header .logo-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--accent-sand) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
  box-shadow: 0 4px 10px rgba(223, 138, 126, 0.2);
}

/* Menu linki */
.babyspa-site-header .nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.babyspa-site-header .nav-menu li {
  margin: 0;
}

.babyspa-site-header .nav-link,
.babyspa-site-header .nav-menu a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.babyspa-site-header .nav-link::after,
.babyspa-site-header .nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-coral);
  transition: width 0.2s ease;
  border-radius: 2px;
}

.babyspa-site-header .nav-link:hover,
.babyspa-site-header .nav-menu a:hover,
.babyspa-site-header .nav-menu .current-menu-item > a {
  color: var(--accent-coral);
}

.babyspa-site-header .nav-link:hover::after,
.babyspa-site-header .nav-menu a:hover::after,
.babyspa-site-header .nav-menu .current-menu-item > a::after {
  width: 100%;
}

.babyspa-site-header .nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.babyspa-site-header .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-coral);
  color: #FFFFFF !important;
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(223, 138, 126, 0.45);
  transition: all 0.25s ease;
}

.babyspa-site-header .btn-primary:hover {
  background-color: var(--coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(223, 138, 126, 0.6);
}

/* ==========================================================================
   STOPKA (FOOTER) LITTLE SPA BIRTHDAY
   Czekoladowa, 4-kolumnowa ekskluzywna stopka
   ========================================================================== */
.babyspa-site-footer {
  background-color: var(--accent-dark) !important;
  color: var(--border-subtle) !important;
  padding-top: 80px;
  padding-bottom: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.babyspa-site-footer a {
  color: var(--border-subtle);
  text-decoration: none;
  transition: color 0.2s ease;
}

.babyspa-site-footer a:hover {
  color: var(--accent-coral);
}

.babyspa-site-footer .footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.babyspa-site-footer .footer-brand h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.babyspa-site-footer .footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 24px;
  color: var(--border-subtle);
}

.babyspa-site-footer .social-links {
  display: flex;
  gap: 12px;
}

.babyspa-site-footer .social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: all 0.2s ease;
}

.babyspa-site-footer .social-icon-btn:hover {
  background-color: var(--accent-coral);
  transform: translateY(-2px);
}

.babyspa-site-footer .footer-col h5 {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.babyspa-site-footer .footer-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.babyspa-site-footer .footer-nav-links li {
  margin-bottom: 12px;
}

.babyspa-site-footer .newsletter-box p {
  font-size: 0.875rem;
  margin-bottom: 14px;
}

.babyspa-site-footer .newsletter-form {
  display: flex;
  gap: 8px;
}

.babyspa-site-footer .newsletter-input {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  flex-grow: 1;
}

.babyspa-site-footer .newsletter-input::placeholder {
  color: var(--text-muted);
}

.babyspa-site-footer .newsletter-btn {
  background-color: var(--accent-coral);
  color: #FFFFFF;
  border: none;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.babyspa-site-footer .newsletter-btn:hover {
  background-color: var(--coral-hover);
}

.babyspa-site-footer .footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.825rem;
  flex-wrap: wrap;
  gap: 16px;
}

.babyspa-site-footer .footer-bottom-links {
  display: flex;
  gap: 20px;
}

/* RWD dla nagłówka i stopki */
@media (max-width: 1024px) {
  .babyspa-site-footer .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .babyspa-site-header .nav-menu {
    display: none;
  }
  .babyspa-site-footer .footer-top-grid {
    grid-template-columns: 1fr;
  }
}

