/**
 * Eventy — obsługa techniczna imprez
 * CSS for page-eventy.php template
 * Version: 1.0
 */

/* ===== HERO ===== */
.eventy-hero {
  background-image: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,.55)),
    url('https://sprzetmultimedialny.pl/wp-content/themes/eidotech/assets/img/hero-eventy.jpg?v=2');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 120px 0 100px;
  color: #fff;
  min-height: 480px;
  display: flex;
  align-items: center;
}
.eventy-breadcrumbs {
  font-size: .7rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  margin-bottom: 16px;
}
.eventy-breadcrumbs a { color: rgba(255,255,255,.7); }
.eventy-breadcrumbs a:hover { color: #fff; }
.eventy-breadcrumbs span { color: #fff; }
.eventy-hero h1 { color: #fff; margin-bottom: 20px; font-size: 3.2rem; font-weight: 700; line-height: 1.15; }
.eventy-hero p {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.eventy-hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== BUTTONS (eventy-specific overrides) ===== */
.eventy-btn--yellow {
  background: #f5c518 !important;
  color: #1e1e1e !important;
  border-color: #f5c518 !important;
}
.eventy-btn--yellow:hover {
  background: #e0b300 !important;
  border-color: #e0b300 !important;
}
.eventy-btn--white {
  background: #fff !important;
  color: #1e1e1e !important;
  border-color: #fff !important;
}
.eventy-btn--white:hover {
  background: #f5f5f5 !important;
}
.eventy-btn--purple {
  background: #951b81 !important;
  color: #fff !important;
  border-color: #951b81 !important;
}
.eventy-btn--purple:hover {
  background: #7a1569 !important;
  border-color: #7a1569 !important;
}

/* ===== TRUST BADGES ===== */
.eventy-badges {
  padding: 60px 0;
  text-align: center;
}
.eventy-badges__row {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.eventy-badges__item {
  text-align: center;
}
.eventy-badges__number {
  font-size: 2.4rem;
  font-weight: 700;
  color: #951b81;
  display: block;
}
.eventy-badges__label {
  font-size: .7rem;
  font-weight: 500;
  color: #727272;
  display: block;
  margin-top: 4px;
}

/* ===== SECTION GENERAL ===== */
.eventy-section {
  padding: 80px 0;
}
.eventy-section--gray {
  background: #f5f5f5;
}
.eventy-section__title {
  text-align: center;
  margin-bottom: 48px;
}
.eventy-section__title h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.eventy-section__title p {
  max-width: 100%;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #727272;
  text-align: justify;
}

/* ===== SERVICE CARDS (scope) ===== */
.eventy-service-card {
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  margin-bottom: 30px;
  transition: box-shadow .3s, transform .3s;
  height: 100%;
}
.eventy-service-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  transform: translateY(-4px);
}
.eventy-service-card__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #951b81, #d65fc5);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.eventy-service-card__icon svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}
.eventy-service-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  color: #2e2e2e;
}
.eventy-service-card p {
  font-size: .85rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 0;
}

/* gray bg cards need white background */
.eventy-section--gray .eventy-service-card {
  background: #fff;
}

/* ===== CTA BAR ===== */
.eventy-cta-bar {
  background: #951b81;
  padding: 40px 0;
  text-align: center;
}
.eventy-cta-bar h2 {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.eventy-cta-bar .button {
  display: inline-block;
  width: auto;
}
.eventy-cta-bar p {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ===== EQUIPMENT GRID ===== */
.eventy-equipment {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  margin-bottom: 30px;
  transition: box-shadow .3s;
}
.eventy-equipment:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.eventy-equipment__img {
  width: 100%;
  height: 200px;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  color: #999;
  overflow: hidden;
}
.eventy-equipment__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.eventy-equipment__body {
  padding: 20px;
}
.eventy-equipment h4 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; color: #2e2e2e; margin-bottom: 8px; }
.eventy-equipment p { font-size: .85rem; line-height: 1.6; color: #727272; margin-bottom: 12px; }
.eventy-tag {
  display: inline-block;
  background: #f5f5f5;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: .65rem;
  font-weight: 500;
  color: #727272;
  margin-right: 6px;
  margin-bottom: 6px;
}

/* ===== CASE STUDIES SLIDER ===== */
#eventy-cases-slider { margin-top: 10px; }
#eventy-cases-slider .splide__track { overflow: hidden; }
#eventy-cases-slider .splide__arrows { position: absolute; top: 50%; left: -16px; width: calc(100% + 32px); display: flex; justify-content: space-between; z-index: 5; pointer-events: none; transform: translateY(-50%); }
#eventy-cases-slider .splide__arrow { pointer-events: auto; display: flex; margin: 0; padding: 0; position: relative; }
#eventy-cases-slider .splide__arrow:not(:disabled) { transition: opacity .3s; }
#eventy-cases-slider .splide__arrow:not(:disabled):hover { opacity: .7; }
#eventy-cases-slider .splide__arrow:disabled { opacity: .3; }
#eventy-cases-slider .splide__arrow::before { content: ''; width: calc(100% - 4px); height: calc(100% - 4px); background-color: #fff; border-radius: 50%; left: 2px; top: 2px; position: absolute; z-index: 0; }
#eventy-cases-slider .splide__arrow--next { transform: rotate(180deg); }
#eventy-cases-slider .splide__arrows svg { width: 36px; height: 36px; fill: transparent; position: relative; z-index: 1; }
#eventy-cases-slider .splide__arrows svg path { fill-rule: evenodd; clip-rule: evenodd; fill: #1e1e1e; }
@media screen and (max-width: 767px) {
  #eventy-cases-slider .splide__arrows { display: none; }
}

a.eventy-case, .eventy-case {
  display: block;
  text-decoration: none;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: box-shadow .3s, transform .3s;
  height: 100%;
}
a.eventy-case:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
  transform: translateY(-2px);
}
.eventy-case__img {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #2e2e2e 0%, #555 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: .7rem;
  overflow: hidden;
}
.eventy-case__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.eventy-case__body { padding: 24px; }
.eventy-case__body h4 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; color: #2e2e2e; margin-bottom: 8px; }
.eventy-case__body p { font-size: .85rem; line-height: 1.6; color: #727272; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.eventy-case__link {
  font-size: .75rem;
  font-weight: 600;
  color: #951b81;
  transition: text-decoration .2s;
}
a.eventy-case:hover .eventy-case__link { text-decoration: underline; }

/* ===== SEO CONTENT ===== */
.eventy-seo {
  padding: 80px 0;
  background: #f5f5f5;
}
.eventy-seo h2 { font-size: 2.4rem; font-weight: 700; margin-bottom: 24px; text-align: center; }
.eventy-seo h3 { font-size: 1.4rem; margin: 32px 0 16px; }
.eventy-seo p { max-width: 100%; font-size: 1.05rem; color: #727272; line-height: 1.7; text-align: justify; }
.eventy-seo ul {
  max-width: 860px;
  margin: 16px 0 24px;
  padding-left: 24px;
}
.eventy-seo li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #727272;
  list-style: none;
}
.eventy-seo li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: #951b81;
  border-radius: 50%;
}

/* ===== SERVICE DETAIL SECTIONS ===== */
.eventy-svc {
  padding: 80px 0;
}
.eventy-svc--alt {
  background: #f8f8f8;
}
.eventy-svc__header {
  margin-bottom: 48px;
}
.eventy-svc__header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}
.eventy-svc__header p {
  max-width: 100%;
  font-size: 1.05rem;
  color: #727272;
  line-height: 1.7;
  text-align: justify;
}
.eventy-svc__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}
.eventy-svc__box {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 28px;
}
.eventy-svc--alt .eventy-svc__box {
  background: #fff;
}
.eventy-svc__box h4 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  color: #2e2e2e;
  margin-bottom: 8px;
}
.eventy-svc__box p {
  font-size: .85rem;
  line-height: 1.6;
  color: #727272;
  margin-bottom: 0;
}
.eventy-svc__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.eventy-equip-tag {
  background: #f0e6ee;
  color: #951b81;
  font-size: .7rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
}
.eventy-svc__cta {
  margin-top: 40px;
}
.eventy-svc__cta .button {
  display: inline-block;
  width: auto;
}

/* ===== FAQ ===== */
.eventy-faq {
  padding: 80px 0;
}
.eventy-faq__item {
  border-bottom: 1px solid #e8e8e8;
}
.eventy-faq__item:first-of-type {
  border-top: 1px solid #e8e8e8;
}
.eventy-faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 600;
  color: #2e2e2e;
  font-weight: 600;
}
.eventy-faq__question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: #951b81;
  transition: transform .2s;
}
.eventy-faq__item.open .eventy-faq__question::after {
  content: '\2212'; /* minus sign */
}
.eventy-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.eventy-faq__answer p {
  padding-bottom: 20px;
  font-size: .85rem;
  line-height: 1.6;
  color: #727272;
}
.eventy-faq__item.open .eventy-faq__answer {
  max-height: 400px;
}

/* FAQ scroll container — height cuts through 6th item to hint scrollability */
.eventy-faq__scroll {
  max-height: 370px;
  overflow-y: auto;
  max-width: 860px;
  margin: 0 auto;
  padding-right: 20px;
  scrollbar-width: thin;
  scrollbar-color: #c4c4c4 transparent;
}
.eventy-faq__scroll::-webkit-scrollbar {
  width: 5px;
}
.eventy-faq__scroll::-webkit-scrollbar-track {
  background: transparent;
}
.eventy-faq__scroll::-webkit-scrollbar-thumb {
  background: #c4c4c4;
  border-radius: 3px;
}
.eventy-faq__scroll::-webkit-scrollbar-thumb:hover {
  background: #999;
}
/* Scroll hint arrow */
.eventy-faq__scroll-wrap {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}
.eventy-faq__hint {
  text-align: center;
  padding: 8px 0 0;
  color: #999;
  font-size: .75rem;
  transition: opacity .3s;
}
.eventy-faq__hint svg {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  animation: faqBounce 1.5s ease infinite;
}
.eventy-faq__scroll-wrap.scrolled-bottom .eventy-faq__hint {
  opacity: 0;
}
@keyframes faqBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ===== QUOTE FORM ===== */
.eventy-form {
  background: #f5f5f5;
  padding: 80px 0;
}
.eventy-form p { line-height: 1.7; text-align: center; }
.eventy-form__wrap {
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  max-width: 680px;
  margin: 0 auto;
}
.eventy-form__group {
  margin-bottom: 20px;
}
.eventy-form__group label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  color: #2e2e2e;
  margin-bottom: 8px;
}
.eventy-form__inner input,
.eventy-form__inner textarea,
.eventy-form__inner select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem;
  color: #2e2e2e;
  background: #fff;
  transition: border-color .2s;
}
.eventy-form__inner input:focus,
.eventy-form__inner textarea:focus,
.eventy-form__inner select:focus {
  outline: none;
  border-color: #951b81;
}
.eventy-form__inner textarea {
  resize: vertical;
  min-height: 120px;
}
.eventy-form .button {
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eventy-form__row {
  display: flex;
  gap: 16px;
}
.eventy-form__row .eventy-form__group {
  flex: 1;
}

/* ===== RELATED SERVICES NAV ===== */
.eventy-related {
  padding: 80px 0;
}
.eventy-related__card {
  display: block;
  background: #f5f5f5;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 30px;
  transition: background .2s, box-shadow .2s;
  text-decoration: none;
  color: inherit;
}
.eventy-related__card:hover {
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.eventy-related__card h4 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; color: #2e2e2e; margin-bottom: 8px; }
.eventy-related__card p { font-size: .85rem; line-height: 1.6; color: #727272; margin-bottom: 12px; }
.eventy-related__arrow {
  font-size: .75rem;
  font-weight: 600;
  color: #951b81;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .eventy-svc__features {
    grid-template-columns: 1fr;
  }
  .eventy-hero { padding: 80px 0 60px; min-height: auto; }
  .eventy-hero h1 { font-size: 2.4rem; }
}

@media (max-width: 767px) {
  .eventy-hero { padding: 60px 0 40px; }
  .eventy-section,
  .eventy-svc,
  .eventy-faq,
  .eventy-form,
  .eventy-seo,
  .eventy-related { padding: 50px 0; }
  .eventy-form .button {
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eventy-form__row { flex-direction: column; gap: 0; }
  .eventy-badges__row { gap: 30px; }
  .eventy-cta-bar h2 { font-size: 1.8rem; }
}
