/*
Theme Name: Weissprod Clean Frame
Theme URI: https://weissprod.com
Author: Joshua Weiss Photography
Author URI: https://weissprod.com
Description: A lightweight WordPress frame theme that only provides a clean white texture, professional header menu, customizable logo, and footer while leaving all page and plugin content untouched.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: weissprod-clean-frame
Tags: custom-logo, custom-menu, custom-colors, one-column, full-width-template
*/

:root {
  --wcf-bg: #f7f3ed;
  --wcf-surface: #ffffff;
  --wcf-ink: #111111;
  --wcf-muted: #666666;
  --wcf-line: rgba(17,17,17,.10);
  --wcf-accent: #e43d2f;
  --wcf-header-height: 82px;
  --wcf-max: 1240px;
  --wcf-grain-opacity: .16;
  --wcf-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wcf-display: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--wcf-ink);
  background:
    radial-gradient(circle at top left, rgba(228,61,47,.08), transparent 27%),
    radial-gradient(circle at bottom right, rgba(17,17,17,.035), transparent 28%),
    var(--wcf-bg);
  font-family: var(--wcf-font);
  line-height: 1.55;
  overflow-x: hidden;
}
body:not(.wcf-grain-off)::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--wcf-grain-opacity);
  background:
    radial-gradient(circle at 18% 24%, rgba(0,0,0,.22) 0 1px, transparent 1px 100%),
    radial-gradient(circle at 72% 64%, rgba(255,255,255,.7) 0 1px, transparent 1px 100%),
    repeating-linear-gradient(94deg, rgba(0,0,0,.035) 0 1px, transparent 1px 8px);
  background-size: 38px 38px, 52px 52px, 100% 100%;
  mix-blend-mode: multiply;
}
body.wcf-doodles-on::after {
  content: "";
  position: fixed;
  right: clamp(18px, 4vw, 54px);
  top: 165px;
  width: 62px;
  height: 62px;
  z-index: 0;
  pointer-events: none;
  opacity: .45;
  border: 1px solid rgba(228,61,47,.32);
  border-radius: 999px;
  box-shadow: -46px 52px 0 -30px rgba(228,61,47,.35), 30px 155px 0 -28px rgba(17,17,17,.18);
}
body.admin-bar .site-header { top: 32px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.screen-reader-text {
  border: 0;
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.site-shell { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  min-height: var(--wcf-header-height);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--wcf-line);
}
.site-header__inner {
  width: min(var(--wcf-max), calc(100vw - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 22px;
}
.site-branding { display: flex; align-items: center; min-width: 120px; }
.site-branding .custom-logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.site-branding img { width: auto; max-width: 172px; max-height: 54px; object-fit: contain; }
.site-title-fallback {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.04em;
  line-height: .9;
  font-size: 1.55rem;
  text-decoration: none;
}

.primary-navigation { justify-self: center; }
.primary-navigation ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-navigation li { position: relative; }
.primary-navigation a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 0;
  color: var(--wcf-ink);
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .18s ease;
}
.primary-navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--wcf-accent);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .2s ease;
}
.primary-navigation a:hover,
.primary-navigation a:focus,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a { color: var(--wcf-accent); }
.primary-navigation a:hover::after,
.primary-navigation a:focus::after,
.primary-navigation .current-menu-item > a::after,
.primary-navigation .current_page_item > a::after {
  transform: scaleX(1);
  transform-origin: left center;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  background: var(--wcf-ink);
  color: #fff;
  border: 1px solid var(--wcf-ink);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.header-cta:hover { background: var(--wcf-accent); border-color: var(--wcf-accent); transform: translateY(-1px); }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  background: #fff;
  color: var(--wcf-ink);
  border: 1px solid var(--wcf-line);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-main {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  width: 100%;
}
/* Intentional: no max-width wrapper, no forced hero, no page boxes. Plugins and blocks control the content area. */
.site-main > article,
.site-main > .page,
.site-main > .post {
  margin: 0;
}
.site-main .entry-content > *:first-child { margin-top: 0; }
.site-main .entry-content > *:last-child { margin-bottom: 0; }

.site-footer {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  color: rgba(255,255,255,.88);
  background:
    radial-gradient(circle at 12% 0%, rgba(228,61,47,.20), transparent 32%),
    linear-gradient(145deg, #080808 0%, #121212 55%, #050505 100%);
  border-top: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 -18px 50px rgba(0,0,0,.16);
}
.site-footer__inner {
  width: min(var(--wcf-max), calc(100vw - 36px));
  margin: 0 auto;
  padding: clamp(38px, 5vw, 58px) 0 24px;
}
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .8fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: start;
}
.footer-brand { display: grid; gap: 12px; }
.footer-logo img { width: auto; max-width: 142px; max-height: 46px; object-fit: contain; }
.footer-brand__name {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.footer-brand__text {
  max-width: 520px;
  margin: 0;
  color: rgba(255,255,255,.66);
  font-size: .96rem;
}
.footer-heading {
  margin: 0 0 12px;
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-booking {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 20px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.footer-booking p {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: .95rem;
}
.footer-button {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 6px;
  padding: 10px 17px;
  background: #fff;
  color: #111;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.footer-button:hover,
.footer-button:focus {
  background: var(--wcf-accent);
  border-color: var(--wcf-accent);
  color: #fff;
  transform: translateY(-1px);
}
.site-footer__bottom {
  margin-top: clamp(28px, 4vw, 42px);
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.56);
  font-size: .84rem;
}
.footer-copyright { max-width: 680px; }
.footer-link-groups {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-legal-navigation,
.footer-navigation ul {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-legal-navigation a,
.footer-navigation a {
  color: rgba(255,255,255,.70);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .04em;
}
.footer-legal-navigation a:hover,
.footer-legal-navigation a:focus,
.footer-navigation a:hover,
.footer-navigation a:focus { color: #fff; }

.wcf-legal-page {
  width: min(980px, calc(100vw - 32px));
  margin: clamp(42px, 6vw, 78px) auto;
  padding: clamp(26px, 5vw, 58px);
  background: rgba(255,255,255,.94);
  border: 1px solid var(--wcf-line);
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(17,17,17,.10);
}
.wcf-legal-page section + section { margin-top: clamp(26px, 4vw, 42px); }
.wcf-legal-hero {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--wcf-line);
}
.wcf-kicker {
  margin: 0 0 8px;
  color: var(--wcf-accent);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.wcf-legal-page h1 {
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 5rem);
  line-height: .92;
  letter-spacing: -.07em;
  text-transform: uppercase;
}
.wcf-legal-page h2 {
  margin: 0 0 10px;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.12;
  letter-spacing: -.03em;
}
.wcf-legal-page p,
.wcf-legal-page li {
  color: #333;
  font-size: 1rem;
}
.wcf-legal-page p { margin: 0 0 14px; }
.wcf-legal-page p:last-child { margin-bottom: 0; }
.wcf-legal-page ul {
  margin: 0;
  padding-left: 1.2rem;
}
.wcf-legal-page li + li { margin-top: 8px; }
.wcf-legal-page a {
  color: var(--wcf-accent);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.wcf-legal-updated {
  margin-top: 12px !important;
  color: var(--wcf-muted) !important;
  font-size: .95rem !important;
}
.wcf-legal-contact { margin-top: 18px !important; }
.wcf-legal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  background: var(--wcf-ink);
  color: #fff !important;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none !important;
}
.wcf-legal-button:hover,
.wcf-legal-button:focus { background: var(--wcf-accent); }

@media (max-width: 920px) {
  .site-header__inner { grid-template-columns: auto 1fr auto; gap: 14px; }
  .menu-toggle { display: inline-flex; justify-self: end; }
  .header-cta { display: none; }
  .primary-navigation {
    position: absolute;
    top: calc(100% + 10px);
    left: 18px;
    right: 18px;
    justify-self: stretch;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--wcf-line);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0,0,0,.12);
    padding: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }
  .primary-navigation.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .primary-navigation ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .primary-navigation a { justify-content: center; width: 100%; }
  .site-footer__top { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 700px) {
  body.admin-bar .site-header { top: 46px; }
  .site-header__inner,
  .site-footer__inner { width: calc(100vw - 24px); }
  .site-branding img { max-width: 138px; max-height: 48px; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; }
  .footer-link-groups { justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-booking { padding: 18px; }
  .wcf-legal-page { width: calc(100vw - 24px); border-radius: 22px; }
}
