/*
Theme Name: Blutige Seegurke
Theme URI: https://blutige-seegurke.de
Author: Blutige Seegurke Crew
Author URI: https://blutige-seegurke.de
Description: A pirate-themed Block Theme for the Blutige Seegurke LARP group.
Version: 1.0.5
Requires at least: 6.4
Tested up to: 6.7
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: blutige-seegurke
Tags: block-patterns, block-styles, custom-colors, custom-logo, editor-style, full-site-editing, wide-blocks, translation-ready
*/

/* ==========================================================================
   BASE & OVERRIDES
   WordPress Block Themes generate layout CSS with high specificity.
   We use !important where needed to ensure our pirate styles win.
   ========================================================================== */
body {
  overflow-x: hidden;
}

/* Kill WordPress's default content width constraints on our custom sections */
.hero-section.wp-block-group,
.wood-section.wp-block-group,
.site-footer.wp-block-group {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ==========================================================================
   ATMOSPHERE — Ocean background, fog, lanterns
   ========================================================================== */
.ocean-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(19, 39, 68, 0.8) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(26, 58, 92, 0.6) 0%, transparent 50%),
    linear-gradient(180deg, #050d1a 0%, #0a1628 30%, #0d1f38 70%, #050d1a 100%);
  pointer-events: none;
}

.fog-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.15;
}
.fog-layer::before,
.fog-layer::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 100%;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 30%, rgba(255,255,255,0.05) 0%, transparent 40%);
  animation: fogDrift 25s ease-in-out infinite alternate;
}
.fog-layer::after {
  animation: fogDrift 35s ease-in-out infinite alternate-reverse;
  opacity: 0.7;
}
@keyframes fogDrift {
  0% { transform: translateX(-10%); }
  100% { transform: translateX(5%); }
}

.lantern-glow {
  position: fixed;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
}
.lantern-glow--left {
  top: 30%; left: 2%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255, 180, 50, 0.06) 0%, transparent 70%);
  animation: lanternFlicker 4s ease-in-out infinite;
}
.lantern-glow--right {
  top: 60%; right: 2%;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(255, 180, 50, 0.04) 0%, transparent 70%);
  animation: lanternFlicker 5s ease-in-out infinite reverse;
}
@keyframes lanternFlicker {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  30% { opacity: 1; transform: scale(1.05); }
  60% { opacity: 0.6; transform: scale(0.97); }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  z-index: 100;
  padding: 0.8rem 2rem !important;
  background: linear-gradient(180deg, rgba(10, 6, 2, 0.95) 0%, rgba(10, 6, 2, 0.7) 70%, transparent 100%) !important;
  backdrop-filter: blur(4px);
  transition: padding 0.4s ease, background 0.4s ease;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 2rem !important;
  flex-wrap: nowrap !important;
}
.site-header.scrolled {
  padding: 0.4rem 2rem !important;
  background: linear-gradient(180deg, rgba(10, 6, 2, 0.98) 0%, rgba(10, 6, 2, 0.9) 80%, transparent 100%) !important;
}

.site-header .custom-logo,
.site-header .wp-block-site-logo img {
  height: 45px !important;
  width: auto !important;
  filter: drop-shadow(0 0 8px rgba(201, 168, 76, 0.3));
  transition: transform 0.3s ease;
}
.site-header .custom-logo:hover,
.site-header .wp-block-site-logo img:hover {
  transform: scale(1.05);
}

/* Nav link hover underline */
.site-header .wp-block-navigation-item a {
  position: relative;
  transition: color 0.3s ease;
}
.site-header .wp-block-navigation-item a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%;
  width: 0; height: 1px;
  background: #c9a84c;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.site-header .wp-block-navigation-item a:hover::after {
  width: 80%;
}
.site-header .wp-block-navigation-item.current-menu-item a {
  color: #c9a84c !important;
}

/* Dropdown submenus */
.site-header .wp-block-navigation__submenu-container {
  background: rgba(26, 15, 7, 0.95) !important;
  border: 1px solid rgba(201, 168, 76, 0.15) !important;
  backdrop-filter: blur(8px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section,
section.hero-section,
section.wp-block-group.hero-section {
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  position: relative !important;
  padding: 2rem !important;
  overflow: hidden !important;
  max-width: none !important;
}

/* WordPress block layout generates child containers — center them too */
.hero-section > * {
  text-align: center;
}

/* Site logo in hero */
.hero-section .wp-block-site-logo {
  margin-bottom: 1.5rem;
}
.hero-section .wp-block-site-logo img,
.hero-logo {
  width: 180px !important;
  height: 180px !important;
  filter: drop-shadow(0 0 30px rgba(201, 168, 76, 0.3));
  animation: logoFloat 6s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

.hero-title,
h1.wp-block-heading.hero-title {
  font-family: 'Pirata One', cursive !important;
  font-size: clamp(3rem, 8vw, 6.5rem) !important;
  color: #c9a84c !important;
  text-shadow:
    0 0 40px rgba(201, 168, 76, 0.3),
    0 4px 8px rgba(0,0,0,0.8),
    2px 2px 0 #8a6f2f;
  line-height: 1.1 !important;
  margin-bottom: 0.5rem !important;
  animation: titleReveal 1.5s ease-out forwards;
  opacity: 0;
  max-width: none !important;
}
@keyframes titleReveal {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-subtitle,
p.hero-subtitle {
  font-family: 'Cinzel', serif !important;
  font-size: clamp(0.9rem, 2.5vw, 1.3rem) !important;
  color: #b8976a !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  margin-bottom: 2.5rem !important;
  animation: titleReveal 1.5s ease-out 0.3s forwards;
  opacity: 0;
}

.hero-tagline,
p.hero-tagline {
  font-style: italic !important;
  font-size: clamp(1rem, 2vw, 1.3rem) !important;
  color: #d4b896 !important;
  opacity: 0;
  animation: titleReveal 1.5s ease-out 0.6s forwards;
  max-width: 600px !important;
  line-height: 1.6 !important;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  opacity: 0;
  animation: bounce 2s ease-in-out infinite, titleReveal 1.5s ease-out 1.2s forwards;
  z-index: 2;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Compass roses — injected via JS */
.compass-rose {
  position: absolute !important;
  width: 300px !important;
  height: 300px !important;
  max-width: 300px !important;
  max-height: 300px !important;
  opacity: 0.04;
  animation: compassSpin 120s linear infinite;
  pointer-events: none;
  z-index: 0;
}
.compass-rose--left { top: 20%; left: -50px; }
.compass-rose--right { bottom: 20%; right: -50px; animation-direction: reverse; }
@keyframes compassSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Hero waves — injected via JS */
.hero-waves {
  position: absolute !important;
  bottom: -2px; left: 0; right: 0;
  height: 120px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.hero-waves .wave {
  position: absolute;
  bottom: 0; left: -5%;
  width: 110%; height: 100%;
}
.hero-waves .wave svg { width: 100%; height: 100%; }
.hero-waves .wave:nth-child(1) { animation: waveSway 8s ease-in-out infinite; opacity: 0.15; }
.hero-waves .wave:nth-child(2) { animation: waveSway 6s ease-in-out infinite reverse; opacity: 0.1; bottom: -10px; }
@keyframes waveSway {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(2%); }
}

/* ==========================================================================
   PARCHMENT CARD
   ========================================================================== */
.parchment-card,
.wp-block-group.parchment-card,
div.wp-block-group.parchment-card {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(232, 213, 183, 0.95) 0%, rgba(212, 184, 150, 0.92) 50%, rgba(184, 151, 106, 0.9) 100%) !important;
  padding: 3rem 3.5rem !important;
  position: relative !important;
  color: #1a1208 !important;
  box-shadow:
    0 4px 30px rgba(0,0,0,0.5),
    inset 0 0 80px rgba(139, 26, 26, 0.05),
    inset 0 0 30px rgba(160, 128, 80, 0.15) !important;
  transform: rotate(-0.5deg);
  margin-bottom: 3rem !important;
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  clip-path: polygon(
    2% 0%, 5% 0.5%, 10% 0%, 15% 0.3%, 25% 0%, 35% 0.5%,
    45% 0%, 55% 0.3%, 65% 0%, 75% 0.5%, 85% 0%, 90% 0.3%, 95% 0%, 98% 0.5%, 100% 0%,
    100% 2%, 99.5% 10%, 100% 20%, 99.7% 30%, 100% 40%, 99.5% 50%,
    100% 60%, 99.7% 70%, 100% 80%, 99.5% 90%, 100% 98%,
    98% 100%, 90% 99.5%, 80% 100%, 70% 99.7%, 60% 100%, 50% 99.5%,
    40% 100%, 30% 99.7%, 20% 100%, 10% 99.5%, 5% 100%, 2% 99.5%, 0% 100%,
    0% 98%, 0.5% 90%, 0% 80%, 0.3% 70%, 0% 60%, 0.5% 50%,
    0% 40%, 0.3% 30%, 0% 20%, 0.5% 10%, 0% 2%
  );
}

/* All text inside parchment must be dark */
.parchment-card,
.parchment-card p,
.parchment-card li,
.parchment-card span {
  color: #2a1a0a !important;
}

.parchment-card h1,
.parchment-card h2,
.parchment-card .wp-block-heading {
  color: #8b1a1a !important;
  text-shadow: 1px 1px 0 rgba(139, 26, 26, 0.15);
  font-family: 'Pirata One', cursive !important;
}
.parchment-card h1 { font-size: 2.5rem !important; margin-bottom: 1.2rem !important; }
.parchment-card h2 { font-size: 2rem !important; margin-bottom: 1rem !important; }
.parchment-card h3 {
  font-family: 'Cinzel', serif !important;
  color: #8b1a1a !important;
  font-size: 1.3rem !important;
}

.parchment-card a {
  color: #8b1a1a !important;
  text-decoration: underline;
  text-decoration-color: #8a6f2f;
  text-underline-offset: 3px;
}
.parchment-card a:hover { color: #b82020 !important; }

/* Drop cap */
.parchment-card p:first-of-type::first-letter {
  font-family: 'Cinzel Decorative', cursive !important;
  font-size: 3.5rem !important;
  float: left;
  line-height: 1;
  margin-right: 0.3rem;
  margin-top: 0.1rem;
  color: #8b1a1a !important;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.15);
}

/* Wax seal */
.wax-seal {
  position: absolute;
  width: 70px; height: 70px;
  background: radial-gradient(circle at 35% 35%, #c03030, #8b1a1a 50%, #6b1010 100%);
  border-radius: 50%;
  top: -15px; right: 30px;
  box-shadow:
    0 3px 10px rgba(0,0,0,0.5),
    inset 0 -2px 4px rgba(0,0,0,0.3),
    inset 0 2px 4px rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(12deg);
  z-index: 2;
}
.wax-seal::after {
  content: '⚓';
  font-size: 1.8rem;
  color: rgba(0,0,0,0.3);
}

/* ==========================================================================
   DARK WOOD SECTION
   ========================================================================== */
.wood-section,
.wp-block-group.wood-section,
div.wp-block-group.wood-section {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(44, 26, 14, 0.15) 0px, rgba(44, 26, 14, 0.15) 2px,
      transparent 2px, transparent 80px
    ),
    linear-gradient(180deg, #1a0f07, #2c1a0e, #1a0f07) !important;
  border-top: 3px solid #3d2415 !important;
  border-bottom: 3px solid #3d2415 !important;
  box-shadow:
    inset 0 5px 20px rgba(0,0,0,0.5),
    inset 0 -5px 20px rgba(0,0,0,0.5) !important;
  padding: 5rem 2rem !important;
  max-width: none !important;
}

.wood-section h2,
.wood-section .wp-block-heading {
  font-family: 'Pirata One', cursive !important;
  font-size: 2.8rem !important;
  color: #c9a84c !important;
  text-align: center !important;
  margin-bottom: 0.5rem !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.section-sub,
p.section-sub {
  font-family: 'Cinzel', serif !important;
  text-align: center !important;
  color: #b8976a !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.15em !important;
  margin-bottom: 3rem !important;
}

/* Nailed card grid — override WP block layout */
.nailed-grid,
.wp-block-group.nailed-grid,
div.wp-block-group.nailed-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
  gap: 2.5rem !important;
  max-width: 1000px !important;
  margin: 0 auto !important;
}

.nailed-card,
.wp-block-group.nailed-card,
div.wp-block-group.nailed-card {
  background: linear-gradient(145deg, rgba(212, 184, 150, 0.12) 0%, rgba(184, 151, 106, 0.08) 100%) !important;
  border: 1px solid rgba(201, 168, 76, 0.15) !important;
  padding: 2rem 1.8rem !important;
  position: relative !important;
  text-align: center !important;
  transition: all 0.4s ease;
  transform: rotate(var(--tilt, 0deg));
}
.nailed-card:nth-child(odd),
.wp-block-group.nailed-card:nth-child(odd) { --tilt: -1deg; }
.nailed-card:nth-child(even),
.wp-block-group.nailed-card:nth-child(even) { --tilt: 0.7deg; }

/* Nail */
.nailed-card::before,
.wp-block-group.nailed-card::before {
  content: '' !important;
  position: absolute !important;
  top: -6px !important; left: 50% !important;
  width: 12px !important; height: 12px !important;
  background: radial-gradient(circle, #888 30%, #555 100%) !important;
  border-radius: 50% !important;
  transform: translateX(-50%) !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5) !important;
}

.nailed-card:hover,
.wp-block-group.nailed-card:hover {
  border-color: #8a6f2f !important;
  background: linear-gradient(145deg, rgba(212, 184, 150, 0.18) 0%, rgba(184, 151, 106, 0.12) 100%) !important;
  transform: rotate(0deg) translateY(-4px) !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3) !important;
}

.nailed-card .icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.nailed-card h3,
.nailed-card .wp-block-heading {
  font-family: 'Cinzel', serif !important;
  font-size: 1.1rem !important;
  color: #c9a84c !important;
  margin-bottom: 0.8rem !important;
  letter-spacing: 0.1em;
}
.nailed-card p {
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  color: #b8976a !important;
}

/* ==========================================================================
   CAPTAIN'S LOG (Blog posts)
   ========================================================================== */
.captains-log .log-entry,
.captains-log .wp-block-group.log-entry {
  position: relative !important;
  padding-left: 3rem !important;
  margin-bottom: 2.5rem !important;
  border-left: 2px solid #8a6f2f !important;
  padding-bottom: 1rem !important;
}
.captains-log .log-entry::before,
.captains-log .wp-block-group.log-entry::before {
  content: '⚓' !important;
  position: absolute !important;
  left: -13px !important; top: 0 !important;
  font-size: 1.3rem !important;
  background: #0a1628 !important;
  padding: 0.2rem 0 !important;
}

/* Post date in log */
.captains-log .log-date,
.captains-log .wp-block-post-date.log-date {
  font-family: 'Cinzel', serif !important;
  font-size: 0.8rem !important;
  color: #8a6f2f !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  margin-bottom: 0.3rem !important;
}

/* Post title in log */
.captains-log .log-title,
.captains-log .wp-block-post-title.log-title {
  font-family: 'Pirata One', cursive !important;
  font-size: 1.5rem !important;
  color: #c9a84c !important;
  margin-bottom: 0.5rem !important;
}
.captains-log .log-title a,
.captains-log .wp-block-post-title.log-title a {
  color: #c9a84c !important;
  text-decoration: none !important;
}
.captains-log .log-title a:hover,
.captains-log .wp-block-post-title.log-title a:hover {
  color: #e8c84c !important;
}

/* Post excerpt in log */
.captains-log .log-excerpt,
.captains-log .wp-block-post-excerpt {
  font-size: 1rem !important;
  line-height: 1.7 !important;
  color: #b8976a !important;
}
.captains-log .wp-block-post-excerpt__more-link {
  font-family: 'Cinzel', serif !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #8a6f2f !important;
  display: inline-block !important;
  margin-top: 0.5rem !important;
}
.captains-log .wp-block-post-excerpt__more-link:hover {
  color: #c9a84c !important;
}

/* ==========================================================================
   MAP FRAME
   ========================================================================== */
.map-frame,
.wp-block-group.map-frame {
  max-width: 750px !important;
  margin: 2rem auto !important;
  position: relative !important;
  padding: 1.5rem !important;
  background: #2c1a0e !important;
  border: 3px solid #3d2415 !important;
  box-shadow:
    0 8px 40px rgba(0,0,0,0.6),
    inset 0 0 20px rgba(0,0,0,0.4) !important;
  transform: rotate(0.5deg);
}
.map-frame .corner-nail {
  position: absolute;
  width: 14px; height: 14px;
  background: radial-gradient(circle at 40% 40%, #aaa, #555);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.6);
}
.map-frame .corner-nail:nth-child(1) { top: 8px; left: 8px; }
.map-frame .corner-nail:nth-child(2) { top: 8px; right: 8px; }
.map-frame .corner-nail:nth-child(3) { bottom: 8px; left: 8px; }
.map-frame .corner-nail:nth-child(4) { bottom: 8px; right: 8px; }
.map-inner,
.wp-block-group.map-inner {
  background: radial-gradient(ellipse at center, #d4b896 0%, #b8976a 100%) !important;
  padding: 2rem !important;
}
.map-inner img { width: 100%; height: auto; display: block; }

/* ==========================================================================
   ROPE DIVIDER
   ========================================================================== */
.rope-divider {
  width: 100%;
  max-width: 700px;
  margin: 3rem auto;
  height: 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rope-divider::before {
  content: '';
  position: absolute;
  width: 80%; height: 3px;
  background: repeating-linear-gradient(90deg, #a08050 0px, #a08050 8px, #8a6f2f 8px, #8a6f2f 10px);
  border-radius: 2px;
  opacity: 0.5;
}
.rope-divider .knot {
  width: 16px; height: 16px;
  border: 2px solid #a08050;
  border-radius: 50%;
  background: #1a0f07;
  z-index: 1;
  opacity: 0.6;
}

/* ==========================================================================
   CTA BUTTON
   ========================================================================== */
.pirate-button,
.wp-block-button.is-style-pirate .wp-block-button__link {
  display: inline-block !important;
  font-family: 'Cinzel', serif !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: #1a1208 !important;
  background: linear-gradient(135deg, #e8c84c, #c9a84c, #8a6f2f) !important;
  padding: 1rem 3rem !important;
  text-decoration: none !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow:
    0 4px 15px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.2);
  clip-path: polygon(3% 0%, 97% 0%, 100% 3%, 100% 97%, 97% 100%, 3% 100%, 0% 97%, 0% 3%);
}
.pirate-button:hover,
.wp-block-button.is-style-pirate .wp-block-button__link:hover {
  transform: translateY(-2px);
  color: #1a1208 !important;
  box-shadow:
    0 6px 25px rgba(201, 168, 76, 0.3),
    inset 0 1px 0 rgba(255,255,255,0.3);
}

/* ==========================================================================
   GALLERY — Pinboard style
   ========================================================================== */
.wp-block-gallery.is-style-pinboard .wp-block-image {
  position: relative;
  transition: transform 0.3s ease;
}
.wp-block-gallery.is-style-pinboard .wp-block-image:nth-child(3n+1) { transform: rotate(-2deg); }
.wp-block-gallery.is-style-pinboard .wp-block-image:nth-child(3n+2) { transform: rotate(1deg); }
.wp-block-gallery.is-style-pinboard .wp-block-image:nth-child(3n)   { transform: rotate(-1deg); }
.wp-block-gallery.is-style-pinboard .wp-block-image:hover {
  transform: rotate(0deg) scale(1.05);
  z-index: 2;
}
.wp-block-gallery.is-style-pinboard .wp-block-image img {
  border: 4px solid #b8976a !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* ==========================================================================
   FORMS
   ========================================================================== */
.parchment-card input[type="text"],
.parchment-card input[type="email"],
.parchment-card input[type="password"],
.parchment-card input[type="url"],
.parchment-card textarea,
.parchment-card select {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: 'IM Fell English', serif;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid #b8976a;
  color: #1a1208;
  margin-bottom: 1rem;
  transition: border-color 0.3s;
}
.parchment-card input:focus,
.parchment-card textarea:focus {
  outline: none;
  border-color: #c9a84c;
  box-shadow: 0 0 8px rgba(201, 168, 76, 0.2);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer,
footer.wp-block-group.site-footer {
  background: linear-gradient(180deg, transparent, rgba(10, 6, 2, 0.9)) !important;
  border-top: 1px solid rgba(201, 168, 76, 0.1) !important;
  padding: 3rem 2rem 2rem !important;
  text-align: center !important;
  max-width: none !important;
}
.site-footer a {
  color: #b8976a !important;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}
.site-footer a:hover { color: #c9a84c !important; }

.footer-copy,
p.footer-copy {
  font-size: 0.85rem !important;
  color: #b8976a !important;
  opacity: 0.5;
  margin-top: 1.5rem !important;
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
  .site-header { padding: 0.6rem 1rem !important; }
  .parchment-card,
  .wp-block-group.parchment-card {
    padding: 2rem 1.5rem !important;
    transform: rotate(0);
  }
  .wood-section { padding: 3rem 1.5rem !important; }
  .nailed-grid,
  .wp-block-group.nailed-grid {
    grid-template-columns: 1fr !important;
  }
  .hero-section .wp-block-site-logo img,
  .hero-logo {
    width: 120px !important;
    height: 120px !important;
  }
  .map-frame { padding: 1rem !important; }
}
