/*
Theme Name: Smyrna Massage
Theme URI: https://example.com/
Author: MeineBuchhaltung24
Description: Block-Theme für Smyrna Massage – Wellness-Massage & Head Spa in Mörlenbach. Design im Stil des Studio-Flyers (Olivgrün, Gold, Creme). Legt bei der Aktivierung alle Seiten mit SEO-Texten und Preisen an, liefert Schriften lokal aus (DSGVO) und gibt LocalBusiness-Daten (Schema.org) aus.
Version: 1.1.0
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smyrna-massage
*/

:root {
  --sm-radius: 18px;
  --sm-line: rgba(138, 106, 38, .22);
  --sm-gold-grad: linear-gradient(135deg, #8A6A26 0%, #C9A45C 35%, #E6CC8E 50%, #B8913F 70%, #8A6A26 100%);
  --sm-gold-soft: linear-gradient(135deg, #D9B96E, #F1DCA6 45%, #C49A48);
}

/* Icon mapping */
.ic-massage { --ic: url(assets/img/ic-massage.svg); }
.ic-feet    { --ic: url(assets/img/ic-feet.svg); }
.ic-head    { --ic: url(assets/img/ic-head.svg); }
.ic-oil     { --ic: url(assets/img/ic-oil.svg); }
.ic-stones  { --ic: url(assets/img/ic-stones.svg); }
.ic-gift    { --ic: url(assets/img/ic-gift.svg); }
.ic-pin     { --ic: url(assets/img/ic-pin.svg); }
.ic-clock   { --ic: url(assets/img/ic-clock.svg); }
.ic-phone   { --ic: url(assets/img/ic-phone.svg); }

/* Layout resets */
.wp-block-post-content > * { margin-block-start: 0 !important; margin-block-end: 0; }
main.wp-block-group { margin-block-start: 0 !important; }
.wp-site-blocks > * + * { margin-block-start: 0; }

/* Readable line length while staying left-aligned in the wide container */
.section > p, .section > .wp-block-heading, .pagehead > *, .legal > * {
  box-sizing: border-box; padding-right: max(0px, calc(min(100%, var(--wp--style--global--content-size)) - 46rem));
}
.section.faq > * { box-sizing: border-box; padding-right: max(0px, calc(min(100%, var(--wp--style--global--content-size)) - 52rem)); }
.section.centered, .centered-heading { text-align: center; }
.section.centered > p, .section.centered > .wp-block-heading, .wp-block-heading.centered-heading { padding-right: 0; max-width: 46rem !important; margin-left: auto !important; margin-right: auto !important; }
.section.faq > .centered-heading { max-width: 52rem !important; text-align: left; }

/* ── Typography helpers ─────────────────── */
.script-eyebrow { font-family: var(--wp--preset--font-family--script); font-size: clamp(1.7rem, 3vw, 2.3rem) !important; line-height: 1.1; color: var(--wp--preset--color--gold-dark); margin-bottom: .2rem !important; }
.eyebrow { font-family: var(--wp--preset--font-family--caps); font-size: .78rem !important; letter-spacing: .22em; text-transform: uppercase; color: var(--wp--preset--color--gold-dark); }
.tagline { font-family: var(--wp--preset--font-family--caps); font-size: .82rem !important; letter-spacing: .26em; text-transform: uppercase; color: var(--wp--preset--color--olive); margin-top: .6rem !important; }
.lead { font-size: 1.15rem; color: #54473a; }
.wp-block-heading.ornament::before { content: ""; display: block; width: 76px; height: 38px; margin: 0 0 .9rem; background: url(assets/img/lotus.svg) no-repeat left center / contain; }
.section.centered .wp-block-heading.ornament::before, .wp-block-heading.ornament.centered-heading::before { margin-inline: auto; background-position: center; }
.section.faq .wp-block-heading.ornament::before { margin-inline: 0; }

/* ── Header ─────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 246, 236, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--sm-line); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--sm-gold-grad); opacity: .55; }
.brand { gap: .8rem !important; }
.brand .wp-block-site-logo img { width: 62px; height: auto; display: block; }
.brand-words { gap: 0 !important; line-height: 1; }
.brand-name { margin: 0 !important; font-family: var(--wp--preset--font-family--caps); font-weight: 600; font-size: 1.55rem; letter-spacing: .08em; line-height: 1; }
.brand-name a { text-decoration: none; background: var(--sm-gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-script { margin: -.15rem 0 0 1.4rem !important; font-family: var(--wp--preset--font-family--script); font-size: 1.55rem; line-height: 1; color: var(--wp--preset--color--olive); }
.brand-script a { text-decoration: none; color: inherit; }
.site-header .wp-block-navigation { font-family: var(--wp--preset--font-family--caps); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.site-header .wp-block-navigation a { text-decoration: none; color: var(--wp--preset--color--olive-dark); }
.site-header .wp-block-navigation a:hover { color: var(--wp--preset--color--gold-dark); }
.header-call .wp-block-button__link { padding: .7em 1.4em; }
@media (max-width: 900px) { .header-call { display: none !important; } }

/* ── Sections ───────────────────────────── */
.section { padding-top: clamp(3rem, 7vw, 5.5rem) !important; padding-bottom: clamp(3rem, 7vw, 5.5rem) !important; }
.has-parchment-background-color { background-image: radial-gradient(900px 400px at 100% 0%, rgba(201, 164, 92, .14), transparent 60%), radial-gradient(800px 400px at 0% 100%, rgba(77, 91, 43, .08), transparent 60%); }

/* Hero – warm İzmir sunset, framed photo in an arch */
.hero, .pagehead { position: relative; overflow: hidden;
  background:
    radial-gradient(900px 520px at 78% 10%, rgba(240, 190, 130, .45), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(201, 164, 92, .12), transparent 65%),
    linear-gradient(180deg, #F8EBD6 0%, #FBF6EC 100%); }
.hero { padding-top: clamp(2.5rem, 7vw, 5rem) !important; padding-bottom: clamp(3rem, 7vw, 5.5rem) !important; }
.pagehead { padding-top: clamp(3rem, 8vw, 5.5rem) !important; padding-bottom: clamp(3rem, 7vw, 4.5rem) !important; border-bottom: 1px solid var(--sm-line); }
.pagehead::after { content: ""; position: absolute; right: clamp(-40px, 2vw, 60px); bottom: 18px; width: 180px; height: 90px; background: url(assets/img/lotus.svg) no-repeat center / contain; opacity: .35; pointer-events: none; }
.hero-cols { align-items: center !important; gap: clamp(2rem, 5vw, 4.5rem) !important; }
@media (min-width: 782px) { .hero-cols > .wp-block-column:first-child { flex: 0 1 56% !important; } .hero-cols > .wp-block-column:last-child { flex: 1 1 0 !important; } }
.hero h1 { margin-top: .2rem !important; }
.hero-visual, .split-visual { position: relative; border-radius: 999px 999px 26px 26px; background: url(assets/img/hero-smyrna.jpg) center 30% / cover no-repeat; box-shadow: 0 0 0 6px #FBF6EC, 0 0 0 8px #C9A45C, 0 30px 60px -25px rgba(47, 58, 30, .55); max-width: 400px; margin-inline: auto; }
.hero-visual .wp-block-spacer { height: clamp(380px, 46vw, 540px) !important; }
.split-visual { background-image: url(assets/img/spa-smyrna.jpg); background-position: center; border-radius: 26px; max-width: none; }
.split-visual .wp-block-spacer { height: clamp(260px, 30vw, 380px) !important; }
@media (max-width: 781px) {
  .hero-visual { max-width: 300px; }
  .hero-visual .wp-block-spacer { height: 380px !important; }
}

/* Buttons */
.is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--olive-dark); border-color: var(--wp--preset--color--olive); }
.is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--olive); color: #FBF6EC; }

/* Icon circles (shared) */
.has-icon { position: relative; padding-left: 88px; }
.has-icon::before, .card-icon {
  content: ""; width: 64px; height: 64px; border-radius: 50%;
  background: var(--ic) center / 58% no-repeat, radial-gradient(circle at 35% 30%, #5E6D37, #2F3A1E 75%);
  box-shadow: 0 0 0 2px #FBF6EC, 0 0 0 3.5px #C9A45C, 0 8px 18px -8px rgba(47, 58, 30, .6);
}
.has-icon::before { position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
.card-icon { display: block; margin: 0 0 1rem !important; }

/* Script banner – like "Unsere Massagen & Preise" on the flyer */
.script-banner { position: relative; width: fit-content; max-width: 90%; margin: 0 auto 2.5rem !important; padding: .15em 1.1em .3em !important; text-align: center;
  font-family: var(--wp--preset--font-family--script); font-size: clamp(2rem, 4.5vw, 2.9rem) !important; line-height: 1.15; color: #F3E6C8;
  background: radial-gradient(circle at 30% 30%, #5E6D37, #3A4823 70%); border-radius: 46% 54% 42% 58% / 58% 40% 60% 42%;
  box-shadow: 0 14px 30px -18px rgba(47, 58, 30, .8); }
.script-banner::before, .script-banner::after { content: ""; position: absolute; top: 50%; width: 76px; height: 30px; background: url(assets/img/leaves.svg) no-repeat center / contain; transform: translateY(-50%); }
.script-banner::before { right: 100%; margin-right: .5rem; transform: translateY(-50%) scaleX(-1); }
.script-banner::after { left: 100%; margin-left: .5rem; }
@media (max-width: 600px) { .script-banner::before, .script-banner::after { display: none; } .script-banner { font-size: 1.75rem !important; white-space: nowrap; } }

/* Price list */
.pricelist { max-width: 720px !important; margin-inline: auto !important; padding: 0 !important; }
.pricelist > * { max-width: none !important; }
.price-row { display: flex; flex-wrap: wrap; align-items: center; column-gap: 1rem; min-height: 78px; padding-top: 1.1rem; padding-bottom: 1.1rem; margin: 0 !important; border-bottom: 1px solid transparent; border-image: linear-gradient(90deg, transparent, #C9A45C 15%, #C9A45C 85%, transparent) 1; }
.price-row:last-child { border-bottom: 0; }
.price-row > * { margin: 0 !important; }
.price-row h3 { flex-basis: 100%; font-size: clamp(1.4rem, 2.6vw, 1.7rem); }
.price-row h3 a { color: var(--wp--preset--color--olive-dark); text-decoration: none; }
.price-row h3 a:hover { color: var(--wp--preset--color--gold-dark); }
.price-row:has(.price-badge) { flex-wrap: nowrap; justify-content: space-between; }
.price-row:has(.price-badge) h3 { flex-basis: auto; }
.price-meta, .service-meta { padding-left: 1.6rem; background: url(assets/img/clock.svg) no-repeat left center / 1.1rem; color: #54473a; font-size: 1.05rem; }
.price-meta strong, .service-meta { color: var(--wp--preset--color--olive-dark); }
.price-meta strong { font-family: var(--wp--preset--font-family--display); font-size: 1.35rem; font-weight: 600; color: var(--wp--preset--color--gold-dark); }
.price-meta .sep { color: #b9a77f; margin: 0 .3rem; }
.price-badge { flex: none; padding: .2em .9em !important; border-radius: 999px 14px 999px 14px; background: var(--sm-gold-soft); font-family: var(--wp--preset--font-family--display); font-style: italic; font-weight: 600; font-size: 1.7rem; line-height: 1.3; color: #3A2E22; box-shadow: 0 8px 18px -10px rgba(138, 106, 38, .8); }
.pricelist-after { text-align: center; margin-top: 2rem !important; font-size: .95rem; color: #6a5c49; }

/* Cards */
.cards { gap: 1.5rem !important; margin-top: 2rem !important; }
.card { background: #FFFDF8; border: 1px solid var(--sm-line); border-top: 3px solid #C9A45C; border-radius: 6px 6px var(--sm-radius) var(--sm-radius); padding: 1.8rem 1.6rem; height: 100%; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px -18px rgba(47, 58, 30, .35); }
.card h3 { margin-top: 0; }
.card-link a { text-decoration: none; font-weight: 500; }
.wp-block-column:has(> .card) { display: flex; }
.wp-block-column > .card { flex: 1; }

/* Checklist */
.checklist { list-style: none; padding-left: 0; }
.checklist li { position: relative; padding-left: 2rem; margin-bottom: .7rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .5em; width: 1rem; height: 1rem; background: url(assets/img/lotus.svg) no-repeat center / contain; }
.split { align-items: center !important; gap: clamp(1.5rem, 5vw, 4rem) !important; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding-left: 0; display: grid; gap: 1rem; margin: 1.5rem auto 0 !important; max-width: 52rem; }
.steps li { counter-increment: step; position: relative; background: #FFFDF8; border: 1px solid var(--sm-line); border-radius: var(--sm-radius); padding: 1.2rem 1.4rem 1.2rem 4.6rem; }
.steps li::before { content: counter(step); position: absolute; left: 1.2rem; top: 1rem; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #5E6D37, #2F3A1E 75%); box-shadow: 0 0 0 2px #FFFDF8, 0 0 0 3px #C9A45C; color: #F1DCA6; font-family: var(--wp--preset--font-family--caps); font-size: 1.05rem; display: grid; place-items: center; }

/* Services */
.service { padding-top: clamp(2rem, 4vw, 3rem) !important; padding-bottom: clamp(2rem, 4vw, 3rem) !important; }
.service-row { gap: clamp(1rem, 4vw, 3rem) !important; align-items: center !important; }
@media (min-width: 782px) { .service-row > .wp-block-column:first-child { flex: 0 1 36% !important; } .service-row > .wp-block-column:last-child { flex: 1 1 0 !important; } }
.service-head h3 { margin: 0 !important; }
.service-meta { margin-top: .3rem !important; font-weight: 500; }

/* FAQ */
.faq .wp-block-details { border-bottom: 1px solid var(--sm-line); padding: 1.1rem 0; }
.faq summary { cursor: pointer; font-family: var(--wp--preset--font-family--display); font-size: 1.35rem; font-weight: 600; color: var(--wp--preset--color--olive-dark); list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -.1rem; font-size: 1.6rem; color: var(--wp--preset--color--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }

.note { font-size: .92rem; color: #5d5246; border-left: 3px solid #C9A45C; padding-left: 1rem; }

/* CTA band */
.cta-band { padding-top: clamp(3rem, 7vw, 5rem) !important; padding-bottom: clamp(3rem, 7vw, 5rem) !important; text-align: center; background-image: radial-gradient(700px 300px at 50% 0%, rgba(201, 164, 92, .18), transparent 70%); }
.cta-band, .cta-band h2 { color: #FBF6EC !important; }
.cta-band .script-eyebrow { color: #D9B96E; }
.cta-band a:not(.wp-element-button) { color: #E6CC8E; }
.cta-band .wp-block-buttons { justify-content: center; }
.cta-band .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--sm-gold-soft); color: #2F3A1E; border-color: #D9B96E; }
.cta-band .is-style-outline .wp-block-button__link { color: #FBF6EC; border-color: rgba(251, 246, 236, .6); background: transparent; }
.cta-band .is-style-outline .wp-block-button__link:hover { background: #FBF6EC; color: var(--wp--preset--color--olive-dark); }

/* Footer */
.site-footer { color: rgba(251, 246, 236, .82); font-size: .95rem; position: relative; }
.footer-skyline { height: 70px; margin: 0 0 2.5rem !important; background: url(assets/img/skyline.svg) no-repeat center bottom / contain; opacity: .9; }
.site-footer h3 { font-family: var(--wp--preset--font-family--caps); font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: #D9B96E; }
.site-footer .footer-brand { font-family: var(--wp--preset--font-family--script); font-size: 2rem; color: #E6CC8E; line-height: 1; margin-bottom: .4rem !important; }
.site-footer a { color: rgba(251, 246, 236, .92); }
.site-footer a:hover { color: #E6CC8E; }
.footer-bottom { border-top: 1px solid rgba(201, 164, 92, .3); font-size: .82rem; opacity: .85; }
.footer-area { font-size: .82rem; opacity: .7; }

/* Mobile call button */
.wp-block-buttons.mobile-call { display: none !important; }
@media (max-width: 781px) {
  .wp-block-buttons.mobile-call { display: flex !important; position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60; justify-content: center; }
  .mobile-call .wp-block-button { width: 100%; }
  .mobile-call .wp-block-button__link { width: 100%; background: var(--sm-gold-soft); color: #2F3A1E; border-color: #C9A45C; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45); }
  .site-footer { padding-bottom: 5.5rem !important; }
  .brand .wp-block-site-logo img { width: 48px; }
  .brand-name { font-size: 1.25rem; }
  .brand-script { font-size: 1.3rem; }
  .has-icon { padding-left: 76px; }
  .has-icon::before { width: 56px; height: 56px; }
}

.legal { max-width: none; }
.price-meta strong, .price-badge, .steps li::before { font-variant-numeric: lining-nums; }
@media (max-width: 781px) { .pagehead::after { display: none; } }
.section.faq > .wp-block-heading.centered-heading { max-width: var(--wp--style--global--content-size) !important; padding-right: max(0px, calc(min(100%, var(--wp--style--global--content-size)) - 52rem)); }
