/* ===== FAZA Art Studio — fazadancestudio.com ===== */
:root {
  --bg: #ECEAE6;
  --bg-light: #F7F6F3;
  --orange: #ED5730;
  --black: #000000;
  --white: #FFFFFF;
  --muted: rgba(20, 20, 20, 0.62);
  --radius: 18px;
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Google Sans Flex", Arial, sans-serif;
  font-weight: 300;
  color: var(--black);
  background:
    radial-gradient(720px 620px at 88% -6%, rgba(237, 87, 48, 0.42), transparent 68%),
    radial-gradient(640px 640px at -8% 34%, rgba(237, 87, 48, 0.30), transparent 66%),
    radial-gradient(560px 560px at 72% 86%, rgba(237, 87, 48, 0.22), transparent 64%),
    var(--bg);
  background-attachment: fixed;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
b, strong { font-weight: 500; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; letter-spacing: 0; line-height: 1.1; }
h2.section-title { font-size: clamp(28px, 4vw, 44px); margin-bottom: 8px; }
.section-sub { color: var(--orange); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; font-size: 14px; margin-bottom: 32px; }
section { padding: 72px 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(236, 234, 230, 0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(237, 87, 48, 0.65);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo img { height: 40px; width: auto; }
.logo-img-light { display: none; }

/* transparent header over hero (index) */
.header-transparent { position: fixed; left: 0; right: 0; top: 0; }
.header-transparent:not(.scrolled) { background: transparent; backdrop-filter: none; border-bottom-color: transparent; }
.header-transparent:not(.scrolled) .nav a:not(.btn) { color: var(--white); }
.header-transparent:not(.scrolled) .nav a:not(.btn):hover { color: var(--orange); }
.header-transparent:not(.scrolled) .burger { color: var(--white); }
.header-transparent:not(.scrolled) .logo-img-dark { display: none; }
.header-transparent:not(.scrolled) .logo-img-light { display: block; height: 40px; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { text-decoration: none; font-weight: 400; font-size: 15px; }
.nav a:hover, .nav a.active { color: var(--orange); }
.nav .btn { padding: 10px 18px; }
.burger { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-weight: 500; font-size: 16px; border-radius: 999px;
  padding: 14px 30px; border: 2px solid transparent; transition: 0.2s;
}
.btn-primary {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E") repeat,
    linear-gradient(135deg, rgba(246, 110, 66, 0.62) 0%, rgba(237, 87, 48, 0.52) 55%, rgba(214, 58, 22, 0.6) 100%);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: var(--white);
}
.btn-primary:hover {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E") repeat,
    linear-gradient(135deg, rgba(246, 110, 66, 0.8) 0%, rgba(237, 87, 48, 0.72) 55%, rgba(214, 58, 22, 0.78) 100%);
}
.btn-ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.15); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { opacity: 0.85; }
.btn-outline { background: transparent; color: var(--black); border: 1px solid rgba(0, 0, 0, 0.4); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100dvh; min-height: 600px; display: flex; align-items: flex-end; justify-content: center; text-align: center; overflow: hidden; padding: 0; }
.hero video, .hero .video-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .video-placeholder { background: linear-gradient(160deg, #2a2118 0%, #4a3423 55%, #1c1c1c 100%); }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(15, 12, 8, 0.8); }
.hero-content { position: relative; z-index: 2; color: var(--white); padding: 0 24px 72px; }
.hero-content img.hero-logo { height: clamp(180px, 30vw, 320px); margin: 0 auto 28px; width: auto; }
.hero-content h1 { font-size: clamp(28px, 4.5vw, 52px); margin-bottom: 12px; }
.hero-content p { font-size: clamp(16px, 2vw, 20px); opacity: 0.9; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- o faza ---------- */
.about-box {
  background: rgba(255, 255, 255, 0.55); border-radius: var(--radius); padding: 48px;
  border: 2px dashed rgba(20, 20, 20, 0.25); text-align: center; color: var(--muted); font-size: 18px;
}
.about-text { max-width: 820px; }
.about-text p { font-size: 17px; line-height: 1.7; margin-bottom: 18px; }
.legal-text { max-width: 820px; }
.legal-text h3 { font-size: 22px; margin: 32px 0 10px; }
.legal-text p { font-size: 16px; line-height: 1.7; margin-bottom: 14px; }
.legal-text a { color: var(--orange); }

/* ---------- karty grup ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; margin-bottom: 48px; }
.category-title { font-size: clamp(20px, 2.6vw, 28px); margin: 8px 0 20px; }
.category-title span { color: var(--orange); }
.card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px); border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; gap: 6px;
  box-shadow: 0 2px 10px rgba(20, 20, 20, 0.06); transition: transform 0.15s;
}
.card:hover { transform: translateY(-3px); }
.card .styl { color: var(--orange); font-weight: 500; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.card h3 { font-size: 22px; margin-bottom: 4px; }
.card ul { list-style: none; font-size: 14.5px; color: var(--muted); display: grid; gap: 3px; margin-bottom: 12px; }
.card ul b { color: var(--black); font-weight: 400; }
.card .prices { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.card .price { background: var(--bg); border-radius: 10px; padding: 8px 12px; font-size: 13px; }
.card .price b { display: block; font-size: 16px; }
.card .btn { margin-top: auto; text-align: center; padding: 12px 20px; font-size: 15px; }

/* ---------- CTA zadzwoń ---------- */
.cta-call {
  position: relative;
  background: url("../assets/contact-us.jpg") center / cover no-repeat;
  padding: 110px 0;
}
.cta-call::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(236, 234, 230, 0.92) 0%, rgba(236, 234, 230, 0.75) 45%, rgba(236, 234, 230, 0.35) 100%);
}
.cta-call-inner { position: relative; z-index: 2; text-align: left; color: var(--black); }
.cta-call h2 { font-size: clamp(24px, 3.4vw, 40px); margin-bottom: 14px; line-height: 1.2; max-width: 720px; }
.cta-call p { font-size: clamp(15px, 1.8vw, 19px); color: var(--muted); margin-bottom: 30px; max-width: 560px; }
.btn-call { font-size: 18px; padding: 16px 36px; }

/* ---------- kalendarz ---------- */
.calendar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cal-day { background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(6px); border-radius: var(--radius); padding: 18px; }
.cal-day.today { outline: 3px solid var(--orange); position: relative; }
.cal-day.today::before {
  content: "DZIŚ"; position: absolute; top: -12px; left: 16px;
  background: var(--orange); color: var(--white); font-size: 11px; font-weight: 400;
  letter-spacing: 0.1em; padding: 3px 10px; border-radius: 999px;
}
.cal-day h4 { text-transform: uppercase; font-size: 15px; margin-bottom: 12px; letter-spacing: 0.05em; }
.cal-item { font-size: 13.5px; padding: 7px 0; border-top: 1px dotted rgba(20, 20, 20, 0.2); }
.cal-item .t { color: var(--orange); font-weight: 500; }
.today-banner { background: var(--black); color: var(--white); border-radius: var(--radius); padding: 18px 26px; margin-bottom: 26px; font-size: 16px; }
.today-banner b { color: #ffb29c; font-weight: 500; }

/* ---------- formularz ---------- */
.form-wrap { background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(6px); border-radius: var(--radius); padding: 40px; max-width: 720px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-size: 13px; font-weight: 500; display: block; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.05em; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 10px; font: inherit; background: rgba(255, 255, 255, 0.8); font-weight: 300;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--orange); border-color: transparent; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-status { margin-top: 14px; font-weight: 500; color: var(--orange); }

/* ---------- kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: stretch; }
.contact-info { display: grid; gap: 14px; align-content: start; font-size: 17px; }
.contact-info-row { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 24px; margin-bottom: 48px; }
.contact-info b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.map-frame { border: 0; width: 100%; min-height: 340px; border-radius: var(--radius); }
.contact-split { display: flex; align-items: stretch; }
.map-half { border: 0; border-radius: 0; display: block; width: 50%; min-height: 620px; }
.contact-left { width: 50%; padding: 72px 56px 72px max(24px, calc((100vw - 1180px) / 2 + 24px)); display: flex; align-items: center; }
.contact-left .contact-info { margin-top: 8px; }

/* ---------- footer ---------- */
.site-footer { background: var(--black); color: rgba(255, 255, 255, 0.85); padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.site-footer img { height: 44px; width: auto; margin-bottom: 14px; }
.site-footer h5 { color: var(--white); text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; margin-bottom: 12px; }
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; display: block; margin-bottom: 8px; font-size: 14.5px; }
.site-footer a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 18px; font-size: 13px; color: rgba(255, 255, 255, 0.5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- podstrony (zaglušky) ---------- */
.page-hero { padding: 90px 0 40px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); }
.stub {
  background: rgba(255, 255, 255, 0.55); border: 2px dashed rgba(20, 20, 20, 0.25);
  border-radius: var(--radius); padding: 70px 40px; text-align: center; color: var(--muted); font-size: 18px;
}
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.masonry { columns: 3 300px; column-gap: 18px; }
.masonry a { display: block; margin-bottom: 18px; break-inside: avoid; cursor: zoom-in; }
.masonry img {
  width: 100%; border-radius: 14px; display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none;
}
.masonry a:hover img { transform: scale(1.015); box-shadow: 0 8px 26px rgba(0, 0, 0, 0.18); }

.gallery-video { width: 100%; border-radius: 14px; display: block; margin-bottom: 56px; background: #000; }

/* ---------- blog ---------- */
.blog-post {
  display: flex; gap: 40px; align-items: flex-start;
  background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(6px);
  border-radius: var(--radius); padding: 32px; margin-bottom: 32px;
}
.blog-post-img { flex: 0 0 340px; }
.blog-post-img img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; display: block; }
.blog-post-body { flex: 1; min-width: 0; }
.blog-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.blog-tags span {
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--orange); border: 1px solid rgba(237, 87, 48, 0.5);
  border-radius: 999px; padding: 4px 12px;
}
.blog-post-body h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; }
.blog-post-body .blog-lead { font-size: 18px; margin-bottom: 14px; }
.blog-post-body p { font-size: 15.5px; line-height: 1.7; margin-bottom: 14px; color: rgba(0, 0, 0, 0.8); }
.blog-post-body a:not(.btn) { color: var(--orange); }
@media (max-width: 900px) {
  .blog-post { flex-direction: column; padding: 20px; }
  .blog-post-img { flex: none; width: 100%; max-width: 420px; margin: 0 auto; }
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 0, 0, 0.93);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw; max-height: 86vh; border-radius: 8px;
  user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none;
  pointer-events: none;
}
.lb-btn {
  position: absolute; background: rgba(255, 255, 255, 0.12); color: #fff;
  border: 0; border-radius: 999px; width: 48px; height: 48px;
  font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.28); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.gallery-item { aspect-ratio: 1; background: rgba(255, 255, 255, 0.55); border-radius: 14px; border: 2px dashed rgba(20, 20, 20, 0.2); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; }

/* ---------- scroll reveal (blur in/out) ---------- */
.reveal {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(18px);
  transition: opacity 0.7s ease, filter 0.7s ease, transform 0.7s ease;
  will-change: opacity, filter, transform;
}
.reveal.in { opacity: 1; filter: blur(0); transform: none; }
.card.reveal { transform: translateY(34px); }
.card.reveal.in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; filter: none; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .calendar { grid-template-columns: 1fr; }
  .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .contact-split { flex-direction: column; }
  .map-half, .contact-left { width: 100%; }
  .contact-left { padding: 0 24px 40px; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 20px; gap: 18px; border-bottom: 1px solid rgba(20, 20, 20, 0.15); }
  .nav.open { display: flex; }
  .burger { display: block; }
  .form-grid { grid-template-columns: 1fr; }
}
