/*
Theme Name: Eventis Elementor Theme
Theme URI: https://eventis.kolobrzeg.pl/
Author: Eventis Kołobrzeg
Description: Elegancki motyw bazowy pod Elementor Pro dla Eventis Kołobrzeg. Zawiera menu, stopkę, typografię i style dopasowane do szablonów WXR.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: eventis-elementor-theme
*/

:root {
  --eventis-ink: #071436;
  --eventis-muted: #4f5b7a;
  --eventis-bg: #fbf8fc;
  --eventis-soft: #fff5fb;
  --eventis-blue: #173b8f;
  --eventis-violet: #5b2a86;
  --eventis-pink: #d42a86;
  --eventis-night: #071436;
  --eventis-line: rgba(7, 20, 54, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-top: 86px;
  background: var(--eventis-bg);
  color: var(--eventis-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; height: auto; }
.site-main { min-height: 70vh; }

.eventis-theme-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 80;
  background: rgba(255, 255, 255, 0.92);
  color: var(--eventis-ink);
  border-bottom: 1px solid rgba(7, 20, 54, 0.08);
  backdrop-filter: blur(18px);
}

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

.eventis-theme-header__inner {
  width: min(1180px, calc(100% - 36px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.eventis-theme-brand {
  display: inline-flex;
  align-items: center;
  width: 132px;
  min-width: 112px;
  min-height: 48px;
  text-decoration: none;
  color: var(--eventis-ink);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
}

.eventis-theme-brand img,
.eventis-theme-brand .custom-logo {
  display: block;
  width: auto;
  max-width: 132px;
  max-height: 52px;
  object-fit: contain;
  filter: none;
}

.eventis-theme-menu,
.eventis-theme-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.eventis-theme-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.eventis-theme-menu > li {
  position: relative;
}

.eventis-theme-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--eventis-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.eventis-theme-menu a:hover,
.eventis-theme-menu .current-menu-item > a {
  background: rgba(212, 42, 134, 0.08);
  color: var(--eventis-pink);
}

.eventis-theme-menu .sub-menu,
.eventis-theme-menu .children {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 286px;
  display: none;
  padding: 10px;
  border: 1px solid rgba(7, 20, 54, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(7, 20, 54, 0.12);
}

.eventis-theme-menu li:hover > .sub-menu,
.eventis-theme-menu li:hover > .children,
.eventis-theme-menu li:focus-within > .sub-menu,
.eventis-theme-menu li:focus-within > .children {
  display: block;
}

.eventis-theme-menu .sub-menu a,
.eventis-theme-menu .children a {
  width: 100%;
  justify-content: flex-start;
  font-weight: 750;
}

.eventis-theme-footer {
  background: #071436;
  color: rgba(248, 250, 255, 0.78);
  padding: 42px 18px;
}

.eventis-theme-footer__inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.eventis-theme-footer strong {
  display: block;
  color: #fff;
  font-family: Manrope, Inter, sans-serif;
  font-size: 20px;
  margin-bottom: 8px;
}

.eventis-template-hero .elementor-background-overlay {
  opacity: 1;
}

.eventis-template-hero {
  min-height: 680px;
  isolation: isolate;
}

.eventis-editorial-hero {
  min-height: 760px;
  overflow: hidden;
}

.eventis-editorial-hero::before,
.eventis-editorial-context::before,
.eventis-editorial-photobooth::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 42, 134, 0.62), transparent);
  pointer-events: none;
}

.eventis-editorial-hero-copy {
  max-width: 650px;
}

.eventis-editorial-service-row div {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 20px 0 8px;
}

.eventis-editorial-service-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(7, 20, 54, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--eventis-ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.eventis-editorial-reserve {
  align-self: center;
  max-width: 360px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.eventis-editorial-reservation h3 {
  margin: 10px 0 10px;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 2.2vw, 38px);
  line-height: 1.08;
}

.eventis-editorial-reservation p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
}

.eventis-editorial-reservation a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: #fff;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
}

.eventis-editorial-reservation__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
}

.eventis-editorial-card {
  min-height: 100%;
}

.eventis-editorial-card .elementor-icon {
  filter: drop-shadow(0 16px 28px rgba(212, 42, 134, 0.20));
}

.eventis-editorial-card .elementor-widget-button {
  width: 100%;
  margin-top: 10px;
  text-align: center;
}

.eventis-editorial-card .elementor-button-wrapper {
  display: flex;
  justify-content: center;
}

.eventis-editorial-stats {
  margin: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), inset 0 -1px 0 rgba(255,255,255,.08);
}

.eventis-editorial-stat {
  text-align: center;
}

.eventis-editorial-stat strong {
  display: block;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(42px, 4.4vw, 62px);
  font-weight: 700;
  line-height: .95;
}

.eventis-editorial-stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eventis-editorial-image img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.eventis-editorial-dj-photo img {
  aspect-ratio: 4 / 5;
  object-position: center center;
}

.eventis-editorial-offer-photo img {
  aspect-ratio: 4 / 5;
  object-position: center center;
}

.eventis-editorial-context,
.eventis-editorial-photobooth,
.eventis-editorial-offer-head,
.eventis-editorial-card-row {
  position: relative;
}

.eventis-editorial-photobooth .elementor-column:last-child,
.eventis-editorial-context .elementor-column:first-child {
  display: flex;
  align-items: center;
}

.eventis-editorial-section .elementor-heading-title,
.eventis-editorial-hero .elementor-heading-title {
  letter-spacing: 0;
}

.eventis-editorial-section .elementor-button,
.eventis-editorial-hero .elementor-button {
  min-height: 46px;
  border-radius: 6px;
  color: #ffffff !important;
  font-weight: 900 !important;
  box-shadow: 0 16px 34px rgba(212, 42, 134, 0.18);
}

.eventis-editorial-hero .elementor-heading-title,
.eventis-editorial-section .elementor-heading-title {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.54);
}

.eventis-editorial-hero .elementor-widget-text-editor,
.eventis-editorial-section .elementor-widget-text-editor {
  color: #233150;
}

.eventis-editorial-section .elementor-button:hover,
.eventis-editorial-hero .elementor-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(212, 42, 134, 0.24);
}

.eventis-template-hero .elementor-button,
.eventis-template-contact .elementor-button {
  border-radius: 6px;
  background: linear-gradient(135deg, #d42a86, #071436) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
}

.eventis-template-glass,
.eventis-template-card,
.eventis-template-form-card {
  border-radius: 8px;
  overflow: hidden;
}

.eventis-template-card {
  transform: translateY(0) rotateX(0);
  transform-style: preserve-3d;
  box-shadow: 0 18px 44px rgba(17, 25, 66, 0.1);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.eventis-template-card:hover {
  transform: translateY(-8px) rotateX(1.5deg);
  border-color: rgba(212, 42, 134, 0.34) !important;
  box-shadow: 0 28px 70px rgba(38, 50, 126, 0.18);
}

.eventis-template-post-card .elementor-widget-button {
  width: 100%;
  margin-top: 8px;
  text-align: center;
}

.eventis-template-post-card .elementor-button-wrapper {
  display: flex;
  justify-content: center;
}

.eventis-template-post-card .elementor-button {
  min-width: 164px;
  border-color: transparent !important;
  background: linear-gradient(135deg, #071436, #d42a86) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  box-shadow: 0 16px 34px rgba(212, 42, 134, 0.2);
}

.eventis-template-post-card .elementor-button:hover {
  background: linear-gradient(135deg, #d42a86, #071436) !important;
  color: #ffffff !important;
  box-shadow: 0 22px 44px rgba(7, 20, 54, 0.18);
}

.eventis-service-card .elementor-widget-button {
  width: 100%;
  margin-top: 10px;
  text-align: center;
}

.eventis-service-card .elementor-button-wrapper {
  display: flex;
  justify-content: center;
}

.eventis-service-card .elementor-button {
  min-width: 164px;
  border-color: transparent !important;
  background: linear-gradient(135deg, #d42a86, #071436) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  box-shadow: 0 16px 34px rgba(212, 42, 134, 0.2);
}

.eventis-service-card .elementor-button:hover {
  background: linear-gradient(135deg, #071436, #d42a86) !important;
  color: #ffffff !important;
  box-shadow: 0 22px 44px rgba(7, 20, 54, 0.18);
}

.eventis-depth-scene {
  perspective: 1200px;
}

.eventis-depth-card,
.eventis-template-glass,
.eventis-template-form-card {
  box-shadow: 0 24px 80px rgba(7, 11, 32, 0.22);
  transform-style: preserve-3d;
}

.eventis-template-glass {
  backdrop-filter: blur(18px);
}

.eventis-depth-media img {
  box-shadow: 0 26px 72px rgba(18, 30, 90, 0.16);
  transition: transform .35s ease, box-shadow .35s ease;
}

.eventis-depth-media img:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 34px 90px rgba(18, 30, 90, 0.22);
}

@keyframes eventisFadeLift {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.eventis-animate-in {
  animation: eventisFadeLift .72s ease both;
}

.eventis-animate-delay {
  animation-delay: .16s;
}

.eventis-template-image img,
.eventis-template-gallery img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.eventis-template-section .elementor-heading-title {
  letter-spacing: 0;
}

.eventis-template-form-card input,
.eventis-template-form-card textarea,
.eventis-template-form-card select {
  border-radius: 6px;
  border: 1px solid rgba(7, 20, 54, 0.24);
  background: #ffffff;
  color: #071436;
}

.eventis-template-form-card label,
.eventis-template-form-card .elementor-field-label {
  color: #071436 !important;
  font-weight: 800;
}

.eventis-template-form-card .elementor-button,
.eventis-template-form-card button[type="submit"] {
  background: linear-gradient(135deg, #d42a86, #071436) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
}

@media (max-width: 980px) {
  body {
    padding-top: 118px;
  }

  .eventis-theme-header__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 0;
  }
  .eventis-theme-menu {
    justify-content: flex-start;
  }
  .eventis-theme-menu .sub-menu,
  .eventis-theme-menu .children {
    position: static;
    width: 100%;
    margin-top: 4px;
    box-shadow: none;
  }
  .eventis-theme-footer__inner {
    grid-template-columns: 1fr;
  }
  .eventis-editorial-hero {
    min-height: auto;
    background-position: center right;
  }
  .eventis-editorial-reserve {
    max-width: none;
    margin: 24px 0 0;
  }
  .eventis-editorial-card,
  .eventis-editorial-stat {
    margin-bottom: 16px;
  }
}

@media (max-width: 782px) {
  body.admin-bar .eventis-theme-header {
    top: 46px;
  }
}

@media (max-width: 640px) {
  .eventis-theme-header__inner {
    width: min(100% - 24px, 1180px);
  }
  .eventis-theme-brand {
    width: 108px;
    min-height: 42px;
  }
  .eventis-theme-brand img,
  .eventis-theme-brand .custom-logo {
    max-width: 108px;
    max-height: 42px;
  }
  .eventis-theme-menu a {
    min-height: 36px;
    padding: 8px 9px;
    font-size: 13px;
  }
  .eventis-editorial-hero {
    background-position: 62% center;
  }
  .eventis-editorial-hero .elementor-background-overlay {
    background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.58)) !important;
  }
  .eventis-editorial-service-row div {
    gap: 7px;
  }
  .eventis-editorial-service-row span {
    min-height: 30px;
    padding: 6px 9px;
    font-size: 11px;
  }
  .eventis-editorial-reservation h3 {
    font-size: 28px;
  }
  .eventis-editorial-dj-photo img,
  .eventis-editorial-offer-photo img {
    aspect-ratio: 4 / 4.6;
  }
}
