/* Kwiaciarnia Rakowice — somber funeral florist palette */
:root {
  --bg: #f5f3f0;
  --bg-alt: #ebe7e1;
  --text: #2a2a2e;
  --text-muted: #5a5a60;
  --accent: #6b1f2a;
  --accent-light: #8b3744;
  --header-bg: #1f1f23;
  --header-text: #f0ece6;
  --border: #d8d3cc;
  --card-bg: #ffffff;
  --shadow: 0 2px 14px rgba(20, 18, 16, 0.08);
  --shadow-strong: 0 6px 28px rgba(20, 18, 16, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Libre Baskerville', Georgia, serif;
  color: var(--text);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

h1 { font-size: 2.4rem; margin: 0 0 1rem; }
h2 { font-size: 1.8rem; margin: 2.5rem 0 1rem; }
h3 { font-size: 1.35rem; margin: 2rem 0 0.7rem; color: var(--accent); }
h4 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }

p { margin: 0 0 1.1rem; color: var(--text); }

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(107, 31, 42, 0.3);
  transition: border-color .2s, color .2s;
}
a:hover { color: var(--accent-light); border-bottom-color: var(--accent-light); }

img { max-width: 100%; height: auto; display: block; }

/* === HEADER === */
.site-header {
  background: var(--header-bg);
  color: var(--header-text);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-logo {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--header-text);
  border: none;
  letter-spacing: 0.01em;
}
.site-logo:hover { color: #fff; border: none; }
.site-logo .logo-sub {
  display: block;
  font-size: 0.7rem;
  font-family: 'Roboto', sans-serif;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #a8a39a;
  margin-top: 2px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.3rem;
  flex-wrap: wrap;
}
.main-nav a {
  display: block;
  padding: 0.5rem 0.95rem;
  color: var(--header-text);
  font-size: 0.92rem;
  border: none;
  border-radius: 2px;
  transition: background .2s, color .2s;
}
.main-nav a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: none;
}
.main-nav a.current {
  color: #fff;
  border-bottom: 2px solid var(--accent-light);
  border-radius: 0;
}

/* === HERO === */
.hero {
  position: relative;
  height: 480px;
  overflow: hidden;
  background: #1a1815;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  filter: saturate(0.8);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,18,16,0.35) 0%, rgba(20,18,16,0.65) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.hero-content {
  max-width: 760px;
  color: #f5f3f0;
}
.hero-content h1 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero-content .hero-tag {
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d6cfc3;
  margin-bottom: 1.2rem;
}
.hero-content p {
  color: #ebe7e1;
  font-size: 1.15rem;
  font-style: italic;
  font-family: 'Libre Baskerville', Georgia, serif;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* === PAGE HEADER (subpages) === */
.page-header {
  background: linear-gradient(180deg, #2a2a2e 0%, #3a3530 100%);
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
  color: #f0ece6;
  border-bottom: 3px solid var(--accent);
}
.page-header h1 {
  color: #fff;
  margin: 0;
  font-size: 2.3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.page-header .breadcrumb {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b0a89c;
  margin-bottom: 0.6rem;
}

/* === MAIN === */
.site-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.content-card {
  background: var(--card-bg);
  border-radius: 4px;
  padding: 2.5rem 2.8rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.content-card h2:first-child,
.content-card h3:first-child {
  margin-top: 0;
}

/* === FIGURES === */
figure {
  margin: 2rem 0;
  text-align: center;
}
figure img {
  margin: 0 auto;
  border-radius: 3px;
  box-shadow: var(--shadow);
  max-height: 540px;
  object-fit: cover;
}
figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.7rem;
}

/* Two-column figure layout */
.figure-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}
.figure-pair figure { margin: 0; }
@media (max-width: 700px) {
  .figure-pair { grid-template-columns: 1fr; }
}

/* === HOMEPAGE SECTIONS === */
.intro-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
  text-align: center;
}
.intro-section .intro-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.intro-section h2 {
  font-size: 2.1rem;
  margin: 0 0 1.5rem;
}
.intro-section p { font-size: 1.05rem; }

.divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 2rem auto;
  border: none;
}

.offer-grid {
  max-width: 1180px;
  margin: 3rem auto 1rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
@media (max-width: 900px) {
  .offer-grid { grid-template-columns: 1fr; }
}

.offer-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.offer-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}
.offer-card a {
  display: block;
  color: inherit;
  border: none;
}
.offer-card a:hover { border: none; }
.offer-card .offer-img {
  height: 220px;
  overflow: hidden;
  background: #1a1815;
}
.offer-card .offer-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
  transition: transform .35s;
}
.offer-card:hover .offer-img img { transform: scale(1.04); }
.offer-card .offer-body {
  padding: 1.4rem 1.6rem 1.6rem;
}
.offer-card h3 {
  font-family: 'Libre Baskerville', Georgia, serif;
  color: var(--text);
  font-size: 1.2rem;
  margin: 0 0 0.6rem;
}
.offer-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}
.offer-card .offer-link {
  display: inline-block;
  margin-top: 0.9rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* === FOOTER === */
.site-footer {
  background: #1f1f23;
  color: #b0a89c;
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 4rem;
  border-top: 3px solid var(--accent);
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 800px) {
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}
.footer-inner h4 {
  font-family: 'Libre Baskerville', Georgia, serif;
  color: #f0ece6;
  font-size: 1.05rem;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}
.footer-inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-inner li { margin-bottom: 0.5rem; font-size: 0.9rem; }
.footer-inner a {
  color: #b0a89c;
  border: none;
  font-size: 0.9rem;
}
.footer-inner a:hover { color: #fff; border: none; }
.footer-inner p { color: #8a847a; font-size: 0.9rem; margin: 0 0 0.5rem; }

.footer-bottom {
  max-width: 1180px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #36322d;
  text-align: center;
  font-size: 0.82rem;
  color: #6a6358;
  letter-spacing: 0.04em;
}

/* === MISC === */
.entry-content ul, .entry-content ol {
  padding-left: 1.4rem;
  margin: 1rem 0 1.4rem;
}
.entry-content li { margin-bottom: 0.4rem; }

.entry-content blockquote {
  margin: 2rem 0;
  padding: 1.4rem 1.8rem;
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  font-style: italic;
  font-family: 'Libre Baskerville', Georgia, serif;
  color: var(--text);
}

.photo-credit {
  display: block;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0.4rem 0 1.5rem;
}
.photo-credit a {
  color: var(--text-muted);
  border-bottom: 1px dotted var(--text-muted);
}
.photo-credit a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* === CALL CTA BUTTON === */
.cta-call {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1.6rem 0 0.5rem;
  padding: 0.95rem 1.8rem;
  background: var(--accent);
  color: #fff !important;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 3px;
  text-decoration: none;
  box-shadow: 0 3px 12px rgba(107, 31, 42, 0.3);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.cta-call:hover {
  background: var(--accent-light);
  border: none;
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(107, 31, 42, 0.4);
  color: #fff;
}
.cta-call::before {
  content: "\260E";
  font-size: 1.15rem;
}

.header-phone {
  font-size: 0.92rem;
  color: #d6cfc3 !important;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.header-phone::before {
  content: "\260E";
  font-size: 1rem;
  color: var(--accent-light);
}
.header-phone:hover { color: #fff !important; border: none; }

/* === CONTACT BLOCK === */
.contact-block {
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 1.4rem 1.7rem;
  margin: 2rem 0;
  border-radius: 3px;
}
.contact-block h3 {
  margin: 0 0 0.7rem;
  color: var(--text);
  font-size: 1.1rem;
}
.contact-block p {
  margin: 0.3rem 0;
  font-size: 1rem;
}
.contact-block a {
  border: none;
  color: var(--accent);
}
.contact-block a:hover { color: var(--accent-light); border: none; }

.map-embed {
  margin: 2rem 0 0;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: none;
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .hero { height: 360px; }
  .hero-content h1 { font-size: 2rem; }
  .content-card { padding: 1.6rem 1.4rem; }
  .page-header { padding: 2.5rem 1rem 2rem; }
  .page-header h1 { font-size: 1.6rem; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .main-nav ul { gap: 0.1rem; }
  .main-nav a { padding: 0.4rem 0.7rem; font-size: 0.85rem; }
}
