/*
Theme Name: simelie
Author: simelie
Description: Individuelles WordPress-Theme fuer simelie Fotografie.
Version: 0.1.0
Text Domain: simelie
*/

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "Waterfall";
  src: url("assets/fonts/waterfall.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #2d2925;
  --muted: #69625b;
  --paper: #fcfbf8;
  --soft: #f1ede7;
  --clay-soft: #ead8cf;
  --rose: #b97873;
  --rose-dark: #9a5847;
  --sage: #b9a58d;
  --ochre: #c39a52;
  --line: #d9d1c7;
  --content: 1180px;
  --narrow: 760px;
  --radius: 6px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0;
}

body.admin-bar .site-header { top: 32px; }

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

h1, h2, h3 {
  margin: 0 0 .6em;
  font-family: "Waterfall", "Segoe Script", cursive;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 { font-size: 7rem; }
h2 { font-size: 4.7rem; }
h3 { font-size: 2.35rem; }
p { margin: 0 0 1.25rem; }

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container { width: min(calc(100% - 40px), var(--content)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), var(--narrow)); margin-inline: auto; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.35);
}

.site-header.is-solid,
.page-template-default:not(.home) .site-header,
.blog:not(.home) .site-header,
.single .site-header,
.archive .site-header,
.search .site-header,
.error404 .site-header {
  position: relative;
  color: var(--ink);
  background: var(--paper);
  border-bottom-color: var(--line);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand { text-decoration: none; display: inline-flex; align-items: center; }
.brand img { width: auto; max-height: 62px; }
.brand-text { font: 500 2.05rem/1 "DM Sans", "Segoe UI", Arial, sans-serif; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  height: 1px;
  background: currentColor;
  margin: 5px 0;
}

.primary-menu { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.primary-menu a { text-decoration: none; font-size: .9rem; font-weight: 500; }
.primary-menu a:hover, .primary-menu .current-menu-item > a { text-decoration: underline; text-underline-offset: 7px; }

.hero {
  min-height: min(860px, 92vh);
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: transparent center/cover no-repeat;
}

.hero-slides { position: absolute; z-index: 0; inset: 0; overflow: hidden; background: #4f4a46; }
.hero-slide { position: absolute; inset: -4%; background: #4f4a46 center/cover no-repeat; filter: brightness(.62) saturate(.92); opacity: 0; transform: scale(1.025); transition: filter 1.1s ease, opacity 1.1s ease, transform 7s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide.is-active { transform: scale(1.075); }

.hero::after {
  content: none;
}

.hero-content { position: relative; z-index: 2; padding: 180px 0 76px; max-width: 850px; }
.hero h1 { text-shadow: 0 2px 14px rgba(20,18,17,.38); }
.eyebrow { margin-bottom: 18px; color: var(--rose-dark); font-size: .76rem; font-weight: 700; text-transform: uppercase; }
.hero .eyebrow { color: #fff; }
.hero p { max-width: 640px; font-size: 1.25rem; }
.hero-controls { position: absolute; z-index: 3; right: max(20px, calc((100vw - var(--content)) / 2)); bottom: 26px; display: flex; align-items: center; gap: 12px; }
.hero-arrow { width: 42px; height: 42px; padding: 0; color: #fff; background: rgba(20,18,17,.32); border: 1px solid rgba(255,255,255,.72); border-radius: 50%; cursor: pointer; font-size: 1.25rem; line-height: 1; }
.hero-arrow:hover, .hero-arrow:focus-visible { color: var(--ink); background: #fff; }
.hero-dots { display: flex; align-items: center; gap: 8px; }
.hero-dot { width: 10px; height: 10px; padding: 0; background: transparent; border: 1px solid #fff; border-radius: 50%; cursor: pointer; }
.hero-dot.is-active { background: #fff; }

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; transform: none; }
}

.button,
.wp-block-button__link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  color: #fff;
  background: var(--rose-dark);
  border: 1px solid var(--rose-dark);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}
.button:hover { color: var(--ink); background: var(--sage); border-color: var(--sage); }
.button-light { color: var(--ink); background: #fff; border-color: #fff; }

.intro, .portfolio, .studio, .process, .about-strip, .cta, .content-area { padding: 112px 0; }
.intro { border-bottom: 1px solid var(--line); }
.intro-grid, .about-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 90px; align-items: center; }
.lead { font-family: "Fraunces", Georgia, serif; font-size: 1.72rem; }
.home .lead,
.entry-content > .lead {
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
}

.portfolio { background: var(--soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.section-head p { max-width: 530px; color: var(--muted); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.portfolio-item { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--clay-soft); border-bottom: 4px solid var(--ochre); }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.portfolio-item:hover img { transform: scale(1.025); }
.portfolio-item span { position: absolute; inset: auto 18px 18px; color: #fff; font: 400 2.45rem/1.05 "Waterfall", "Segoe Script", cursive; text-shadow: 0 1px 14px rgba(0,0,0,.65); }

.studio { background: var(--paper); }
.studio-head { align-items: center; }
.studio-head > p { max-width: 590px; }
.studio-gallery { columns: 3; column-gap: 16px; }
.studio-image { margin: 0 0 16px; break-inside: avoid; overflow: hidden; background: var(--soft); }
.studio-image img { display: block; width: 100%; height: auto; transition: transform .45s ease; }
.studio-image:hover img { transform: scale(1.018); }
.studio-seal-card { width: 64%; max-width: 230px; margin-inline: auto; background: transparent; }
.studio-seal-card img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 50%; }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: process; }
.process-step { padding-top: 22px; border-top: 2px solid var(--rose); counter-increment: process; }
.process-step::before { content: "0" counter(process); display: block; margin-bottom: 35px; color: var(--ochre); font-weight: 700; }

.about-strip { background: var(--sage); color: var(--ink); }
.about-strip .eyebrow { color: var(--rose-dark); }
.about-photo-wrap { display: flex; justify-content: center; }
.about-photo { display: block; aspect-ratio: 3 / 4; width: 100%; max-width: 300px; object-fit: cover; background: #667061; }

.cta { text-align: center; background: var(--clay-soft); }
.cta p { max-width: 600px; margin-inline: auto; }

body.page-id-13 .contact-intro .lead { font-family: "DM Sans", "Segoe UI", Arial, sans-serif; }

body.page-id-15 .about-copy .lead { font-family: "DM Sans", "Segoe UI", Arial, sans-serif; }

.entry-header { padding: 76px 0 42px; background: var(--soft); border-bottom: 1px solid var(--line); }
.entry-header h1 { font-size: 5.8rem; }
.entry-content > * { max-width: var(--narrow); margin-left: auto; margin-right: auto; }
.entry-content > .alignwide { max-width: var(--content); }
.entry-content > .alignfull { max-width: none; }
.entry-content .wp-block-gallery { max-width: var(--content); }
.entry-content h1,
.entry-content h2 { margin-top: 1.4em; font-size: 3.55rem; }
.entry-content h3 { margin-top: 1.5em; font-size: 2.4rem; }
.entry-content h4 { margin: 1.6em 0 .55em; font-size: 1.08rem; }

.entry-content > .pricing-intro,
.entry-content > .pricing-grid,
.entry-content > .pricing-note { max-width: var(--content); }
.pricing-intro { max-width: 720px; margin-bottom: 48px; text-align: center; }
.pricing-intro p { color: var(--muted); font-size: 1.08rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.price-package { display: flex; min-width: 0; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-top: 4px solid var(--rose); background: var(--paper); }
.price-package:nth-child(even) { border-top-color: var(--sage); }
.price-package h2 { margin: 0; font-size: 3.35rem; }
.price-package .package-subtitle { margin: 6px 0 24px; color: var(--muted); font-weight: 600; }
.price-package ul { margin: 0 0 28px; padding-left: 1.2rem; }
.price-package li { margin-bottom: 9px; }
.package-price { margin: auto 0 4px; font: 500 3rem/1 "Fraunces", Georgia, serif; color: var(--rose-dark); }
.package-extras { margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .94rem; }
.package-extras strong { color: var(--ink); }
.pricing-note { margin-top: 42px; padding: 28px; background: var(--soft); text-align: center; }
.pricing-note p { margin: 0 0 18px; }

.entry-content > .about-layout,
.entry-content > .faq-list { max-width: var(--narrow); }
.entry-content > .about-layout { max-width: var(--content); }
.about-layout { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr); gap: 80px; align-items: start; }
.about-portrait { position: sticky; top: 110px; margin: 0; }
.about-portrait img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--soft); }
.about-copy .lead { margin-bottom: 1.4em; }
.about-copy p { margin-bottom: 1.2em; }
.faq-list > h2 { margin: 0 0 12px; }
.faq-list > p { margin-bottom: 34px; color: var(--muted); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-of-type { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 22px 44px 22px 0; cursor: pointer; list-style: none; font-family: "DM Sans", "Segoe UI", Arial, sans-serif; font-size: 1.2rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 20px; right: 4px; color: var(--rose-dark); font: 400 1.45rem/1 Arial, sans-serif; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 34px 24px 0; color: var(--muted); }

.entry-content > .simelie-gallery { max-width: var(--content); }
.simelie-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.simelie-gallery figure {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--soft);
}
.simelie-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.page-id-142 .simelie-gallery figure { aspect-ratio: 3 / 2; }
.page-id-142 .simelie-gallery img { object-fit: contain; }
.simelie-gallery a:hover img { transform: scale(1.025); }

.site-footer { padding: 64px 0 28px; color: #fff; background: #312d2a; border-top: 6px solid var(--ochre); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 50px; }
.footer-title { font: 500 1.8rem/1.2 "DM Sans", "Segoe UI", Arial, sans-serif; }
.footer-menu { margin: 0; padding: 0; list-style: none; }
.footer-menu a { color: #fff; text-decoration: none; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.72); font-size: .82rem; }

@media (max-width: 820px) {
  body.admin-bar .site-header { top: 46px; }
  .header-inner { min-height: 74px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; padding: 12px 20px 24px; color: var(--ink); background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: block; }
  .primary-menu { display: block; }
  .primary-menu a { display: block; padding: 11px 0; }
  .hero { min-height: 760px; }
  h1 { font-size: 5.4rem; }
  h2 { font-size: 4rem; }
  .entry-header h1 { font-size: 4.8rem; }
  .intro, .portfolio, .studio, .process, .about-strip, .cta, .content-area { padding: 82px 0; }
  .intro-grid, .about-grid { grid-template-columns: 1fr; }
  .intro-grid, .about-grid, .about-layout { gap: 48px; }
  .about-layout { grid-template-columns: 1fr; }
  .about-portrait { position: static; max-width: 440px; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .simelie-gallery { grid-template-columns: 1fr 1fr; }
  .studio-gallery { columns: 2; column-gap: 10px; }
  .studio-image { margin-bottom: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--content)); }
  .hero { min-height: 680px; }
  h1 { font-size: 4.2rem; }
  h2 { font-size: 3.5rem; }
  .entry-header h1 { font-size: 4rem; }
  .hero p { font-size: 1.08rem; }
  .lead { font-size: 1.45rem; }
  .entry-content h2 { font-size: 3.05rem; }
  .price-package h2 { font-size: 3rem; }
  .package-price { font-size: 2.6rem; }
  .hero-content { padding-bottom: 48px; }
  .section-head { display: block; }
  .studio-seal-card { width: 145px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .simelie-gallery { grid-template-columns: 1fr; }
  .studio-gallery { columns: 1; }
  .portfolio-item { aspect-ratio: 5 / 6; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* Google reviews section */
.google-reviews {
    padding: 5rem 1.5rem;
    background: #f3ece4;
    text-align: center;
}
.google-reviews-inner { max-width: 760px; margin: 0 auto; }
.google-stars {
    margin: .35rem 0 .8rem;
    color: #b38752;
    font-size: 1.55rem;
    letter-spacing: .28em;
    line-height: 1;
}
.google-reviews h2 { margin-bottom: 1rem; }
.google-reviews p:not(.eyebrow) { margin: 0 auto 1.7rem; max-width: 620px; }
