/* ============================================================
   GLOBAL STYLES — Vladyslav Dovhan
   Shared styles: reset, tokens, header, footer, typography
   ============================================================ */

/* ============================
   DESIGN TOKENS
   ============================ */
:root {
  /* Colors */
  --c-dark:        #060606;
  --c-dark-alt:    #050505;
  --c-light:       #d8d8cc;
  --c-text-light:  #ededeb;
  --c-text-muted:  #a7afbb;
  --c-white:       #ffffff;
  --c-black:       #000000;
  --c-text-dim:    #4a5565;

  /* Gold gradient (matches design) */
  --gold: linear-gradient(90deg,
    #efd300 0%,
    #e8c000 30%,
    #d69000 91%,
    #d48900 100%
  );

  /* Typography */
  --font-primary:   'Avenir Next', 'Avenir', 'Nunito', system-ui, sans-serif;
  --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container-pad:  86px;
  --section-pad:    120px;

  /* Motion */
  --motion-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --motion-soft: 0.42s;
}

/* ============================
   RESET
   ============================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--c-dark);
  color: var(--c-text-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  animation: pageFadeIn 0.32s var(--motion-ease) both;
  transition: opacity 0.2s var(--motion-ease);
}

body.is-page-leaving {
  opacity: 0;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ============================
   CONTAINER
   ============================ */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* ============================
   TYPOGRAPHY UTILITIES
   ============================ */

/* 96px display heading — Avenir Next Demi Bold Italic */
.heading-display {
  font-family: var(--font-primary);
  font-size: 96px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: -2.4px;
  line-height: 96px;
  color: var(--c-dark);
}
header nav{
	margin-left: auto;
}
.heading-display--light {
  font-family: var(--font-primary);
  font-size: 96px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: -2.4px;
  line-height: 96px;
  color: rgba(216, 216, 204, 1);
}

/* Gold gradient text */
.text-gold {
  background: var(--gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Body text variants */
.body-text {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.3125px;
  line-height: 1.5;
}

/* ============================
   SITE HEADER
   ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-dark);
padding: 15px 0;
}

.header-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo img {
  height: 48px;
  width: auto;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav > li > a,
.nav-link {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 400;
  color: rgba(237, 237, 235, 0.55);
  letter-spacing: 0.2px;
  line-height: 1.43;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  transition: color 0.32s var(--motion-ease);
  white-space: nowrap;
}

.main-nav > li > a:hover,
.main-nav > li > a:focus-visible,
.nav-link:hover,
.nav-link:focus-visible {
  color: rgba(255, 255, 255, 0.86);
}

.main-nav > li > a::after,
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--c-white);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition: transform 0.36s var(--motion-ease), opacity 0.36s var(--motion-ease);
}

.main-nav > li > a:hover::after,
.main-nav > li > a:focus-visible::after,
.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link--active::after {
  transform: scaleX(1);
  opacity: 1;
}

.main-nav > li.current-menu-item > a,
.main-nav > li.current-menu-parent > a,
.main-nav > li.current-menu-ancestor > a,
.main-nav > li.current_page_item > a,
.main-nav > li.current_page_parent > a,
.main-nav > li > a.current-ref,
.nav-link--active {
  color: var(--c-white);
  font-weight: 700;
}

/* .main-nav > li.current-menu-item > a::after,
.main-nav > li.current-menu-parent > a::after,
.main-nav > li.current-menu-ancestor > a::after,
.main-nav > li.current_page_item > a::after,
.main-nav > li.current_page_parent > a::after,
.main-nav > li > a.current-ref::after,
.nav-link--active::after {
  transform: scaleX(1);
  opacity: 1;
} */

/* Hamburger */
.menu-toggle-box {
  display: none;
  margin-left: 16px;
}

.menu-toggle {
  display: none;
  position: relative;
  background: none;
  border: none;
  padding: 8px;
  width: 32px;
  height: 32px;
  -webkit-appearance: none;
  appearance: none;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--c-light);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
  position: absolute;
  left: 50%;
}

.menu-toggle span:nth-child(1) {
  transform: translate(-50%, -5px);
}

.menu-toggle span:nth-child(2) {
  transform: translate(-50%, 5px);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translate(-50%, 0) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  transform: translate(-50%, 0) rotate(-45deg);
}

/* ============================
   LANGUAGE SWITCHER (GTranslate)
   ============================ */
#gt_float_wrapper {
  z-index: 150 !important;
}

#gt_float_wrapper .gt_float_switcher {
  font-family: var(--font-primary) !important;
  background: rgba(6, 6, 6, 0.94) !important;
  border: 1px solid rgba(193, 168, 117, 0.45) !important;
  border-radius: 0 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.34) !important;
  min-width: 78px !important;
}

#gt_float_wrapper .gt_float_switcher .gt-selected {
  background: transparent !important;
}

#gt_float_wrapper .gt_float_switcher .gt-selected .gt-current-lang,
#gt_float_wrapper .gt_float_switcher .gt-selected a,
#gt_float_wrapper .gt_float_switcher .gt-selected span {
  color: var(--c-light) !important;
  letter-spacing: 0.4px !important;
  font-size: 14px !important;
  line-height: 1.1 !important;
}

#gt_float_wrapper .gt_float_switcher .gt-selected a {
  padding: 6px 10px !important;
  transition: color 0.28s var(--motion-ease), background-color 0.28s var(--motion-ease) !important;
}

#gt_float_wrapper .gt_float_switcher .gt-selected a:hover {
  color: #c1a875 !important;
  background: rgba(193, 168, 117, 0.08) !important;
}

#gt_float_wrapper .gt_float_switcher .gt_options {
  background: rgba(6, 6, 6, 0.98) !important;
  border-top: 1px solid rgba(193, 168, 117, 0.28) !important;
}

#gt_float_wrapper .gt_float_switcher .gt_options a {
  color: rgba(237, 237, 235, 0.82) !important;
  background: transparent !important;
  padding: 8px 10px !important;
  font-family: var(--font-primary) !important;
  font-size: 13px !important;
  transition: color 0.28s var(--motion-ease), background-color 0.28s var(--motion-ease) !important;
}

#gt_float_wrapper .gt_float_switcher .gt_options a:hover {
  color: #c1a875 !important;
  background: rgba(193, 168, 117, 0.1) !important;
}

#gt_float_wrapper .gt_float_switcher .gt-selected .gt_float_switcher-arrow,
#gt_float_wrapper .gt_float_switcher .gt-selected svg {
  color: #c1a875 !important;
  fill: #c1a875 !important;
  width: 10px !important;
  height: 10px !important;
}

#gt_float_wrapper .gt_float_switcher .gt-selected img,
#gt_float_wrapper .gt_float_switcher .gt-current-lang img,
#gt_float_wrapper .gt_float_switcher .gt_options img {
  width: 20px !important;
  height: 14px !important;
  min-width: 20px !important;
  border-radius: 2px !important;
  object-fit: cover !important;
}

/* ============================
   SITE FOOTER
   ============================ */
.site-footer {

  padding-top: var(--section-pad);
	background: linear-gradient(0deg, #060606, #060606),
linear-gradient(49.08deg, rgba(255, 255, 255, 0) 12.79%, rgba(0, 0, 0, 0.2) 26.79%),
linear-gradient(280.94deg, rgba(255, 255, 255, 0) 7.99%, rgba(0, 0, 0, 0.2) 41.9%);

}

.footer-inner {
  display: grid;
  grid-template-columns: 592fr 280fr 280fr;
  gap: 32px;
  align-items: start;
  padding-bottom: var(--section-pad);
}

/* Brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-logo img {
  height: 88px;
  width: auto;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--c-light);
 
  background-size: 240% 100%;
  background-position: 0% 50%;
  flex-shrink: 0;
  transition: transform 0.32s var(--motion-ease), border-color 0.32s var(--motion-ease), background-position 0.55s var(--motion-ease), box-shadow 0.32s var(--motion-ease);
}

.footer-social__btn:hover {
  transform: translate3d(0, -2px, 0);
  border-color: transparent;
  background-position: 100% 50%;
   border: 1px solid var(--c-light);
}

.footer-social__btn svg {
  display: block;
}

/* Footer columns */
.footer-col__title {
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: 0.55px;
  line-height: 1.43;
  margin-bottom: 16px;
}

.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col__list li,
.footer-col__list a {
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 400;
  color: var(--c-light);
  letter-spacing: -0.15px;
  line-height: 1.43;
  transition: opacity 0.2s ease;
}

.footer-col__list a:hover {
  opacity: 0.65;
}

/* Copyright bar */
.footer-bottom {
  border-top: 1px solid rgba(216, 216, 204, 0.3);
}

.footer-bottom .container {
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  justify-content: center;
}

.footer-bottom p {
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 400;
  color: var(--c-light);
  letter-spacing: -0.15px;
  line-height: 1.43;
  text-align: center;
}

/* ============================
   MOTION SYSTEM
   ============================ */
.scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.72s var(--motion-ease), transform 0.72s var(--motion-ease);
}

.scroll-reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.home-press-card,
.blog-posts .blog-card,
.article-related .blog-card,
.perf-type-card,
.perf-video-card,
.media-card,
.mc-card,
.achievement-card,
.charity-card,
.article-concert-card {
  position: relative;
  isolation: isolate;
  transition: transform var(--motion-soft) var(--motion-ease), box-shadow var(--motion-soft) var(--motion-ease);
}

.home-press-card,
.blog-posts .blog-card,
.article-related .blog-card {
  cursor: pointer;
}

.home-press-card__link::after,
.blog-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}

.home-press-card::after,
.blog-posts .blog-card::after,
.article-related .blog-card::after,
.perf-type-card::after,
.perf-video-card::after,
.media-card::after,
.mc-card::after,
.achievement-card::after,
.charity-card::after,
.article-concert-card::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(115deg, #6f5a2f 0%, #c1a875 20%, #f5e6c4 45%, #c1a875 62%, #8a6d3b 82%, #3f3218 100%);
  background-size: 220% 220%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity var(--motion-soft) var(--motion-ease);
}

.home-press-card:hover,
.blog-posts .blog-card:hover,
.article-related .blog-card:hover,
.perf-type-card:hover,
.perf-video-card:hover,
.media-card:hover,
.mc-card:hover,
.achievement-card:hover,
.charity-card:hover,
.article-concert-card:hover {
  transform: translateY(-6px);
		box-shadow: none;
}

.home-press-card:hover::after,
.blog-posts .blog-card:hover::after,
.article-related .blog-card:hover::after,
.perf-type-card:hover::after,
.perf-video-card:hover::after,
.media-card:hover::after,
.mc-card:hover::after,
.achievement-card:hover::after,
.charity-card:hover::after,
.article-concert-card:hover::after {
  opacity: 1;
  animation: cardStrokeShift 2.2s linear infinite;

}

@keyframes cardStrokeShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.home-hero__btn,
.btn-book,
.btn-watch,
.contact-success__btn,
.wpcf7-form input[type="submit"],
.error__btn-primary,
.error__btn-secondary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform: translate3d(0, 0, 0);
  transition: transform 0.32s var(--motion-ease), color 0.32s var(--motion-ease), border-color 0.32s var(--motion-ease), box-shadow 0.32s var(--motion-ease), background-position 0.55s var(--motion-ease), background-color 0.32s var(--motion-ease);
}

.home-hero__btn:hover,
.btn-book:hover,
.btn-watch:hover,
.contact-success__btn:hover,
.wpcf7-form input[type="submit"]:hover,
.error__btn-primary:hover,
.error__btn-secondary:hover {
  transform: translate3d(0, -2px, 0);
}

.home-hero__btn--book,
.btn-book,
.error__btn-primary {
  --btn-filled-base: var(--c-light);
  background-image: linear-gradient(112deg,
    var(--btn-filled-base) 0%,
    var(--btn-filled-base) 44%,
    #6f5a2f 56%,
    #c1a875 67%,
    #f5e6c4 76%,
    #c1a875 86%,
    #8a6d3b 94%,
    #3f3218 100%
  );
  background-size: 240% 100%;
  background-position: 0% 50%;
}

.contact-success__btn,
.wpcf7-form input[type="submit"] {
  background-image: none;
  background-color: var(--c-dark-alt);
}

.home-hero__btn--book:hover,
.btn-book:hover,
.error__btn-primary:hover {
  background-position: 100% 50%;
  color: var(--c-black);
  border-color: rgba(138, 109, 59, 0.75);
  box-shadow: 0 14px 28px rgba(5, 5, 5, 0.24);
}

.home-hero__btn--watch,
.btn-watch,
.error__btn-secondary {
  --btn-outline-base: var(--c-text-light);
  background: transparent;
  border-color: var(--btn-outline-base);
}

.btn-watch {
  --btn-outline-base: var(--c-white);
}

.home-hero__btn--watch:hover,
.btn-watch:hover,
.error__btn-secondary:hover {
  background: transparent;
  border-color: #c1a875;
  color: #c1a875;
}

@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .home-press-card,
  .blog-posts .blog-card,
  .article-related .blog-card,
  .perf-type-card,
  .perf-video-card,
  .media-card,
  .mc-card,
  .achievement-card,
  .charity-card,
  .article-concert-card,
  .home-hero__btn,
  .btn-book,
  .btn-watch,
  .contact-success__btn,
  .wpcf7-form input[type="submit"],
  .error__btn-primary,
  .error__btn-secondary,
  .footer-social__btn,
  .home-quote__read-btn,
  .article-share__btn {
    transition: none;
    animation: none;
  }
}

/* ============================
   RESPONSIVE — GLOBAL
   ============================ */
@media (max-width: 1280px) {
  :root {
    --container-pad: 60px;
  }
  .heading-display,
  .heading-display--light {
    font-size: 72px;
    line-height: 72px;
    letter-spacing: -1.8px;
  }
}

@media (max-width: 1024px) {
  :root {
    --container-pad: 40px;
    --section-pad: 80px;
  }
  .heading-display,
  .heading-display--light {
    font-size: 56px;
    line-height: 56px;
    letter-spacing: -1.4px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --container-pad: 24px;
    --section-pad: 60px;
  }
  .heading-display,
  .heading-display--light {
    font-size: 42px;
    line-height: 42px;
    letter-spacing: -1px;
  }

  /* Show hamburger, hide nav */
  .menu-toggle-box {
    display: flex;
    align-items: center;
  }
  .menu-toggle {
    display: flex;
  }
  header nav {
    margin-left: 0;
  }
  .header__right {
    display: none;
  }
  .main-nav {
    display: flex;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--c-dark);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 24px var(--container-pad) 36px;
    gap: 28px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, -8px, 0);
    transition: opacity 0.28s var(--motion-ease), transform 0.28s var(--motion-ease), visibility 0.28s var(--motion-ease);
    border-top: 1px solid rgba(216, 216, 204, 0.15);
    z-index: 120;
  }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
  }
  .main-nav > li > a {
    font-size: 14px;
    line-height: 1.2;
    padding-bottom: 10px;
  }
  .site-header {
    position: relative;
  }
  body.mobile-menu-open {
    overflow: hidden;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: auto;
  }
}

/* ============================
   MOBILE — 375px (з дизайну)
   ============================ */
@media (max-width: 480px) {
  :root {
    --container-pad: 16px;
  }

  /* Header: 8px top/bottom padding + 48px logo = 64px */
 
  .main-nav {
    top: 64px;
    min-height: calc(100vh - 64px);
  }

  .heading-display,
  .heading-display--light {
    font-size: 54px;
    line-height: 64px; /* 54 × 1.185 */
    letter-spacing: -2.4px;
  }
}

.f-it{
	font-style: italic;
	font-weight: 600!important;
}


/* Labels */
.wpcf7-form label,
.wpcf7-form .field-label {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: var(--c-dark-alt);
    letter-spacing: -0.15px;
    line-height: 1.4285714;
    display: block;
    margin-bottom: 8px;
}

/* Text / email / tel / textarea inputs */
.wpcf7-form input[type="text"],
 .wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    color: var(--c-dark-alt);
    letter-spacing: -0.3125px;
  backdrop-filter: blur(4px);
    background: rgba(216, 216, 204, 0.1);
    box-shadow: 0px 0px 0px 1px rgba(247, 247, 245, 1);
    padding: 12px 16px;
		border: none;
    height: 52px;
    outline: none;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.2s ease;
		margin-top: 4px;
}

.wpcf7-form textarea {
    height: auto;
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

 .wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: #71716a;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-color: rgba(5, 5, 5, 0.5);
}

/* Submit button */
.wpcf7-form input[type="submit"] {
    align-self: flex-start;

    height: auto;
    padding: 14px 34px;
    background-color: var(--c-dark-alt);
    border: 2px solid var(--c-dark-alt);
    color: var(--c-light);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.15px;
    line-height: 1.4285714;
    cursor: pointer;
}

.wpcf7-response-output{
	color:#000;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
	    border-color: #ffffff00;
			padding: 0;
			margin: 0;
}
