/*
Theme Name: Oddychaj
Theme URI: https://oddychaj.edu
Author: Marta Pieróg-Pryk
Description: Motyw kampanii społecznej Oddychaj — edukacja oddechowa dla dzieci.
Version: 1.1
Requires at least: 6.0
Tested up to: 6.5
License: GNU General Public License v2 or later
Text Domain: oddychaj
*/

/* ── RESET & BASE ── */
:root {
  --burg:     #5e1e2c;
  --burg-dk:  #3d1018;
  --salmon:   #c8705c;
  --sal-mid:  #d49080;
  --cream:    #f0e89a;
  --cream-bg: #fdf9ee;
  --text:     #3a1015;
  --white:    #fff9f4;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Nunito", sans-serif;
  background: var(--cream-bg);
  color: var(--text);
  overflow-x: hidden;
}

/* ── Elementor canvas overrides ── */
body.elementor-page { background: var(--cream-bg); }
.elementor-section-wrap { overflow-x: hidden; }
.elementor-widget-container { line-height: inherit; }

/* ── NAVIGATION ── */
.oddychaj-nav {
  position: fixed; top: 0; left: 0; right: 0;
  background: var(--burg-dk); height: 64px; padding: 0 56px;
  display: flex; align-items: center; justify-content: space-between;
  z-index: 9999;
}
.oddychaj-nav .nav-logo {
  font-size: 1.5rem; font-weight: 900; color: var(--cream);
  text-decoration: none; letter-spacing: -.5px;
}
.oddychaj-nav .nav-links {
  display: flex; gap: 24px; list-style: none; align-items: center;
}
.oddychaj-nav .nav-links a {
  color: var(--cream); opacity: .75; font-weight: 600;
  font-size: .88rem; text-decoration: none; transition: opacity .2s;
}
.oddychaj-nav .nav-links a:hover { opacity: 1; }
.oddychaj-nav .nav-cta {
  background: var(--salmon) !important; color: #fff !important;
  opacity: 1 !important; padding: 8px 20px; border-radius: 100px;
}

/* ── BUTTONS ── */
.btn-fill {
  display: inline-block; text-decoration: none;
  background: var(--cream); color: var(--burg-dk);
  font-family: "Nunito", sans-serif; font-weight: 800; font-size: .95rem;
  padding: 13px 30px; border-radius: 100px; border: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.btn-fill:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.22); }

.btn-salmon {
  display: inline-block; text-decoration: none;
  background: var(--salmon); color: #fff;
  font-family: "Nunito", sans-serif; font-weight: 800; font-size: .95rem;
  padding: 13px 30px; border-radius: 100px; border: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.btn-salmon:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.22); }

.btn-outline {
  display: inline-block; text-decoration: none;
  background: transparent; color: var(--cream);
  font-family: "Nunito", sans-serif; font-weight: 700; font-size: .95rem;
  padding: 13px 30px; border-radius: 100px;
  border: 2px solid rgba(240,232,154,.32); cursor: pointer;
  transition: border-color .2s;
}
.btn-outline:hover { border-color: var(--cream); }

.btn-white {
  display: inline-block; text-decoration: none;
  background: #fff; color: var(--burg-dk);
  font-family: "Nunito", sans-serif; font-weight: 800; font-size: .9rem;
  padding: 12px 26px; border-radius: 100px; transition: transform .2s;
}
.btn-white:hover { transform: translateY(-2px); }

.btn-ghost {
  display: inline-block; text-decoration: none;
  background: transparent; color: #fff;
  font-family: "Nunito", sans-serif; font-weight: 700; font-size: .9rem;
  padding: 12px 26px; border-radius: 100px;
  border: 2px solid rgba(255,255,255,.4); transition: border-color .2s;
}
.btn-ghost:hover { border-color: #fff; }

/* ── HERO ── */
.o-hero {
  min-height: 100vh; background: var(--burg);
  display: flex; align-items: center; padding: 88px 80px 80px; gap: 72px;
  position: relative; overflow: hidden;
}
.o-hero::after {
  content: ""; position: absolute; bottom: -100px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,112,92,.2) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.o-hero-text { flex: 1; max-width: 520px; z-index: 1; }
.o-eyebrow {
  display: inline-block; background: rgba(240,232,154,.12); color: var(--cream);
  font-size: .72rem; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 22px;
}
.o-hero h1 {
  font-size: 4.4rem; font-weight: 900; line-height: 1.0;
  color: var(--cream); margin-bottom: 4px;
}
.o-hero h1 em { font-style: normal; color: var(--sal-mid); }
.o-hero-body {
  font-size: 1rem; font-weight: 500; line-height: 1.8;
  color: rgba(240,232,154,.76); margin: 18px 0 38px;
}
.o-btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── CLOUD MASCOT ── */
.o-hero-mascot {
  flex: 0 0 380px; display: flex; align-items: center;
  justify-content: center; z-index: 1;
}
.cloud-wrap {
  position: relative; width: 340px; height: 340px;
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.045); }
}
.cloud-glow {
  width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(circle at 50% 55%,
    #faf5d8 0%, #f0e8a8 20%, #d4b858 54%,
    rgba(160,90,40,.2) 74%, transparent 90%);
  filter: blur(9px);
}
.cloud-face {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -40%);
  width: 100px; height: 70px;
}

/* ── STATS BAR ── */
.o-stats { background: var(--salmon); display: flex; }
.o-stat {
  flex: 1; padding: 20px 12px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.22);
}
.o-stat:last-child { border-right: none; }
.o-stat-n { font-size: 1.9rem; font-weight: 900; color: var(--cream); line-height: 1.1; }
.o-stat-l { font-size: .74rem; font-weight: 700; color: rgba(255,249,240,.8); margin-top: 2px; }

/* ── ABOUT alternating ── */
.o-about { background: var(--white); padding: 0; }
.o-about-row { display: flex; align-items: stretch; min-height: 400px; }
.o-about-row.rev { flex-direction: row-reverse; }
.o-about-img { flex: 0 0 52%; overflow: hidden; }
.o-about-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.o-about-txt {
  flex: 1; padding: 60px 56px;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--cream-bg);
}
.o-about-row.rev .o-about-txt { background: var(--white); }
.o-about-num {
  font-size: 4.5rem; font-weight: 900;
  color: var(--salmon); opacity: .14; line-height: 1;
}

/* ── SECTION LABELS ── */
.o-stag {
  font-size: .7rem; font-weight: 800; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--salmon); margin-bottom: 10px;
  display: block;
}
.o-stitle {
  font-size: 2rem; font-weight: 900; line-height: 1.1;
  color: var(--burg-dk); margin-bottom: 14px;
}
.o-ssub {
  font-size: 1rem; line-height: 1.8; color: #6a3838; max-width: none;
}

/* ── SOCIAL MAIN ── */
.o-social-main { background: var(--burg); }

.o-platform-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(240,232,154,.18);
  border-radius: 20px; padding: 24px 28px;
  display: flex; align-items: center; gap: 18px;
  text-decoration: none; margin-bottom: 16px;
  transition: background .2s, transform .2s;
}
.o-platform-card:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.o-platform-icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.o-platform-icon svg { width: 26px; height: 26px; }
.o-platform-card.ig .o-platform-icon {
  background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
}
.o-platform-card.tt .o-platform-icon { background: #000; }
.o-platform-card.fb .o-platform-icon { background: #1877f2; }
.o-platform-info strong { display: block; font-size: 1.05rem; font-weight: 800; color: var(--cream); }
.o-platform-info span { font-size: .84rem; color: rgba(240,232,154,.65); }
.o-platform-arrow { color: rgba(240,232,154,.4); font-size: 1.2rem; margin-left: auto; }

.o-hash-pill {
  display: inline-block;
  background: rgba(240,232,154,.1); color: var(--cream);
  font-weight: 800; font-size: .9rem; letter-spacing: .5px;
  padding: 10px 24px; border-radius: 100px;
  border: 1px solid rgba(240,232,154,.2);
  margin-top: 24px;
}
.o-hash-sub { font-size: .8rem; color: rgba(240,232,154,.5); margin-top: 8px; }

/* ── MATERIAŁY ── */
.o-materials { background: var(--burg-dk); padding: 96px 80px; }
.o-mat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 48px; }
.o-mcard {
  background: rgba(255,255,255,.07); border: 1px solid rgba(240,232,154,.12);
  border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; transition: background .2s;
}
.o-mcard:hover { background: rgba(255,255,255,.12); }
.o-mcard-img { width: 100%; height: 180px; overflow: hidden; }
.o-mcard-img img { width: 100%; height: 100%; object-fit: cover; }
.o-mcard-img.book-cover {
  background: var(--burg);
  display: flex; align-items: center; justify-content: center;
}
.o-mcard-body { padding: 22px 20px; flex: 1; display: flex; flex-direction: column; }
.o-mnum { font-size: 2rem; font-weight: 900; color: var(--sal-mid); opacity: .35; }
.o-mcard h3 { font-size: .98rem; font-weight: 800; color: var(--cream); margin: 6px 0 8px; }
.o-mcard p { font-size: .82rem; line-height: 1.7; color: rgba(240,232,154,.62); flex: 1; }

/* ── TWÓRCZYNI ── */
.o-creator { background: var(--cream-bg); padding: 96px 80px; }
.o-creator-inner {
  display: grid; grid-template-columns: 360px 1fr;
  gap: 72px; align-items: center;
}
.o-creator-photo { position: relative; }
.o-creator-photo img {
  width: 100%; border-radius: 28px; display: block;
  box-shadow: 0 20px 60px rgba(94,30,44,.18);
}
.o-creator-photo::after {
  content: ""; position: absolute; bottom: -16px; right: -16px;
  width: 100%; height: 100%;
  border: 2px solid var(--salmon); border-radius: 28px; z-index: -1;
}
.o-creator-quote {
  margin-top: 28px; padding: 20px 24px;
  background: rgba(200,112,92,.08);
  border-left: 4px solid var(--salmon);
  border-radius: 0 12px 12px 0;
  font-size: 1rem; font-weight: 600;
  color: var(--burg); font-style: italic; line-height: 1.7;
}

/* ── WEBINARY ── */
.o-webinars { background: var(--white); padding: 96px 80px; }
.o-wlist { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.o-witem {
  background: var(--cream-bg); border: 1px solid rgba(200,112,92,.12);
  border-radius: 16px; padding: 20px 28px;
  display: flex; align-items: center; gap: 22px;
  transition: transform .15s, box-shadow .15s;
}
.o-witem:hover { transform: translateX(5px); box-shadow: 0 6px 20px rgba(94,30,44,.06); }
.o-wdate { flex: 0 0 58px; text-align: center; }
.o-wdate .day { font-size: 1.8rem; font-weight: 900; color: var(--burg); line-height: 1.1; }
.o-wdate .mo { font-size: .68rem; font-weight: 800; color: var(--salmon); text-transform: uppercase; }
.o-wdiv { width: 1px; height: 48px; background: rgba(200,112,92,.18); flex-shrink: 0; }
.o-winfo { flex: 1; }
.o-winfo h3 { font-size: .95rem; font-weight: 800; color: var(--burg-dk); margin-bottom: 3px; }
.o-winfo p { font-size: .82rem; color: #6a4040; }
.o-wtag {
  background: rgba(200,112,92,.1); color: var(--salmon);
  font-size: .68rem; font-weight: 800; letter-spacing: .5px;
  padding: 3px 10px; border-radius: 100px; white-space: nowrap;
}
.o-wbtn {
  display: inline-block; text-decoration: none;
  background: var(--burg); color: var(--cream);
  font-family: "Nunito", sans-serif; font-weight: 700; font-size: .82rem;
  padding: 9px 20px; border-radius: 100px; white-space: nowrap;
  transition: background .2s;
}
.o-wbtn:hover { background: var(--salmon); }

/* ── WESPRZYJ BAND ── */
.o-support-band {
  background: var(--salmon); padding: 48px 80px;
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
}
.o-support-band-text { flex: 1; }
.o-support-band-text h3 { font-size: 1.5rem; font-weight: 900; color: var(--cream); margin-bottom: 6px; }
.o-support-band-text p { font-size: .9rem; color: rgba(255,249,240,.82); line-height: 1.6; max-width: 540px; }
.o-support-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── FOOTER ── */
.o-footer {
  background: var(--burg-dk); border-top: 1px solid rgba(240,232,154,.08);
  padding: 26px 80px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.o-footer .flogo { font-size: 1.2rem; font-weight: 900; color: var(--cream); }
.o-footer p { font-size: .78rem; color: rgba(240,232,154,.4); }
.o-footer a { color: rgba(240,232,154,.6); text-decoration: none; font-size: .78rem; }
.o-footer-links { display: flex; gap: 20px; align-items: center; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .oddychaj-nav { padding: 0 20px; }
  .oddychaj-nav .nav-links { display: none; }
  .o-hero { flex-direction: column; padding: 100px 28px 60px; gap: 44px; }
  .o-hero h1 { font-size: 3rem; }
  .o-hero-mascot { flex: none; }
  .cloud-wrap { width: 240px; height: 240px; }
  .o-stats { flex-wrap: wrap; }
  .o-stat { flex: 0 0 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.18); }
  .o-about-row, .o-about-row.rev { flex-direction: column; }
  .o-about-img { flex: none; height: 240px; }
  .o-about-txt { padding: 36px 28px; }
  .o-materials { padding: 60px 28px; }
  .o-mat-grid { grid-template-columns: 1fr; }
  .o-creator { padding: 60px 28px; }
  .o-creator-inner { grid-template-columns: 1fr; }
  .o-creator-photo { max-width: 280px; }
  .o-webinars { padding: 60px 28px; }
  .o-witem { flex-wrap: wrap; gap: 12px; }
  .o-support-band { padding: 36px 28px; flex-direction: column; align-items: flex-start; }
  .o-footer { padding: 24px 28px; flex-direction: column; text-align: center; }
}
