/*!
 * Wilddineren — Moesia layout base (static export)
 * Covers theme structure used in archived HTML.
 */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Bitter", Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.65;
  color: #2a2a2a;
  background: #faf8f5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: #c2503d; text-decoration: none; transition: color 0.2s ease; }
a:hover, a:focus { color: #ff5c56; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.clearfix::after { content: ""; display: table; clear: both; }

.col-md-4, .col-md-8, .col-md-12, .col-sm-4 {
  position: relative;
  min-height: 1px;
  padding: 0 15px;
}

@media (min-width: 768px) {
  .col-md-4 { width: 33.333%; float: left; }
  .col-md-8 { width: 66.666%; float: left; }
  .col-md-12 { width: 100%; float: left; }
  .col-sm-4 { width: 33.333%; float: left; }
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
}

/* Header / hero */
.site-header {
  position: relative;
  overflow: hidden;
}

.site-header.has-banner {
  min-height: 72vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.site-header .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,0,0,0.55) 0%, rgba(10,0,0,0.35) 45%, rgba(10,0,0,0.65) 100%);
  z-index: 1;
}

.welcome-info {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 720px;
}

.welcome-logo {
  margin: 0 auto 24px;
  max-width: 280px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.35));
}

.welcome-desc {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: #fff;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.welcome-button {
  display: inline-block;
  padding: 14px 36px;
  background: #ff5c56;
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px;
  box-shadow: 0 4px 0 #631e33;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.welcome-button:hover {
  background: #ff6b53;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #631e33;
}

.welcome-button:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #631e33;
}

@media (min-width: 1025px) {
  .has-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
  }
}

/* Top bar / nav */
.top-bar {
  background: #0a0000;
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.site-branding { padding: 12px 15px; }

.site-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
}

.site-title a { color: #fff !important; }
.site-title a:hover { color: #ff5c56 !important; }

.site-description { display: none; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.main-navigation { padding: 0 15px; }

.main-navigation .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
}

.main-navigation a {
  display: block;
  padding: 20px 18px;
  color: rgba(255,255,255,0.88);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a,
.main-navigation .current_page_item a {
  color: #ff5c56;
}

@media (max-width: 767px) {
  .menu-toggle { display: block; margin: 12px 15px; }
  .main-navigation { width: 100%; display: none; }
  .main-navigation.toggled { display: block; }
  .main-navigation .menu { flex-direction: column; }
  .main-navigation a { padding: 12px 18px; border-top: 1px solid rgba(255,255,255,0.08); }
}

/* Content */
.site-content { padding: 48px 0; }

.fp-content-area .site-main,
.content-area .site-main {
  max-width: 900px;
  margin: 0 auto;
}

.entry-header { margin-bottom: 24px; }

.entry-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: #0a0000;
  margin: 0 0 16px;
  font-weight: 700;
}

.entry-content { font-size: 1.05rem; }
.entry-content p { margin: 0 0 1.2em; }

/* Blockquote section */
.blockquote-area {
  padding: 64px 0;
  background: #fff;
}

.blockquote-area .widget-title {
  text-align: center;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: #0a0000;
  margin: 0 0 32px;
  font-weight: 700;
}

.blockquote-area blockquote {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 1.1rem;
  line-height: 1.75;
  color: #444;
  font-style: italic;
}

.blockquote-area cite {
  display: block;
  margin-top: 24px;
  text-align: right;
  font-style: normal;
  font-weight: 700;
  color: #c2503d;
  text-transform: lowercase;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  padding: 32px 0;
}

.gallery-item { margin: 0; }

.gallery-icon {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(10,0,0,0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-icon:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10,0,0,0.15);
}

.gallery-icon img { width: 100%; height: 220px; object-fit: cover; }

/* Widgets / footer */
.footer-widget-area {
  background: #0a0000;
  color: rgba(255,255,255,0.85);
  padding: 56px 0 40px;
}

.footer-widget-area .widget-title {
  color: #fff;
  font-size: 1.1rem;
  margin: 0 0 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-widget-area a { color: #ff6b53; }
.footer-widget-area a:hover { color: #ff5c56; }

.footer-widget-area .contact-address,
.footer-widget-area .contact-phone,
.footer-widget-area .contact-email {
  margin-bottom: 8px;
}

.site-footer {
  background: #050000;
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

.site-footer a { color: rgba(255,255,255,0.55); }
.site-footer .sep { margin: 0 8px; opacity: 0.4; }

/* Panel grid (SiteOrigin) */
.panel-grid { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.panel-grid-cell { flex: 1 1 100%; padding: 0 15px; min-width: 0; }

.so-panel .widget-title {
  font-size: 1.5rem;
  color: #0a0000;
  margin: 0 0 20px;
}

.typeform-widget {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(10,0,0,0.08);
}

/* Partners page logos etc. */
.clients-area, .employees-area, .services-area {
  padding: 48px 0;
  background: #fff;
}

/* Accessibility focus */
a:focus-visible, button:focus-visible {
  outline: 2px solid #ff5c56;
  outline-offset: 2px;
}
