/* =========================================================
   196 Kalyves Home Hero
   Clean version for Hello Elementor child theme
========================================================= */

html,
body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  background: #000000;
}

body.kalyves-template-active {
  margin: 0 !important;
  padding: 0 !important;
  background: #000000 !important;
}

/* Remove Hello Elementor header/footer only on this template */
body.kalyves-template-active .site-header,
body.kalyves-template-active .site-footer,
body.kalyves-template-active header,
body.kalyves-template-active footer {
  display: none !important;
}

/* Remove theme/page wrapper spacing */
body.kalyves-template-active #page,
body.kalyves-template-active .site,
body.kalyves-template-active .site-main,
body.kalyves-template-active .page-content,
body.kalyves-template-active .entry-content,
body.kalyves-template-active .elementor,
body.kalyves-template-active .elementor-section,
body.kalyves-template-active .elementor-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Main page wrapper */
.kalyves-site {
  width: 100%;
  min-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
  background: #000000;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
}

/* Full-screen hero */
.kalyves-hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Full-screen background video */
.kalyves-hero__video {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100svh;
  object-fit: cover;
  object-position: center center;
}

/* Dark cinematic overlay above video */
.kalyves-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(
      circle at center,
      rgba(0, 0, 0, 0.08) 0%,
      rgba(0, 0, 0, 0.34) 48%,
      rgba(0, 0, 0, 0.78) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.42) 0%,
      rgba(0, 0, 0, 0.18) 42%,
      rgba(0, 0, 0, 0.72) 100%
    );
}

/* Center content */
.kalyves-hero__content {
  position: relative;
  z-index: 3;
  width: min(420px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 16px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.kalyves-hero__logo {
  display: block;
  width: 100%;
  max-width: 130px;
  height: auto;
  margin: 0 auto;
}

.kalyves-hero__gold-line {
  width: 1px;
  height: 40px;
  margin-top: 34px;
  margin-bottom: 24px;
  background-color: #c9a96e99;
}

.kalyves-hero__text {
  margin: 0;
  padding: 0;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.kalyves-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 136px;
  min-height: 42px;
  margin-top: 28px;
  padding: 11px 30px 10px;
  border: 1px solid #c9a96e;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: none;
  transition:
    color 300ms ease,
    background-color 300ms ease,
    border-color 300ms ease,
    transform 150ms ease;
}

.kalyves-hero__button:hover {
  background: #c9a96e;
  color: #000000;
  border-color: #c9a96e;
}

.kalyves-hero__button:focus,
.kalyves-hero__button:focus-visible {
  outline: 2px solid #c9a96e;
  outline-offset: 4px;
}

.kalyves-hero__button:active {
  transform: translateY(1px);
}

/* Bottom scroll indicator */
.kalyves-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 32px;
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

.kalyves-hero__scroll span {
  color: rgba(255, 255, 255, 0.4);
  font-family: "Montserrat", sans-serif;
  font-size: 9px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.kalyves-hero__scroll div {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  animation: kalyvesPulse 1.8s ease-in-out infinite;
}

/* After hero content */
.kalyves-after-hero {
  background: #000000;
  color: #ffffff;
}

.kalyves-after-hero__inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 96px 0;
}

@keyframes kalyvesPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.88);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}


/* =========================================================
   Project Section
   Full-screen 50/50 section with closable left panel
========================================================= */

.kalyves-project {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: #000000;
  color: #2a2a22;
}

.kalyves-project__image {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: var(--project-bg-image);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: transform 900ms ease, filter 900ms ease;
}

.kalyves-project__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.kalyves-project__right {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 50%;
  pointer-events: none;
}

.kalyves-project__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 10;
  width: 50%;
  min-width: 50%;
  background: rgba(245, 240, 235, 0.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  padding: 128px 40px;
  transition:
    transform 850ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 500ms ease,
    visibility 500ms ease;
}

.kalyves-project__close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #5a5a4a;
  cursor: pointer;
  transition: color 300ms ease;
}

.kalyves-project__close span {
  color: currentColor;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.kalyves-project__close svg {
  width: 27px;
  height: 27px;
}

.kalyves-project__close:hover {
  color: #2a2a22;
}

.kalyves-project__close:focus-visible,
.kalyves-project__open:focus-visible {
  outline: 2px solid #2a2a22;
  outline-offset: 4px;
}

.kalyves-project__content {
  width: 100%;
  max-width: 672px;
}

.kalyves-project__logo-wrap {
  margin-bottom: 16px;
}

.kalyves-project__logo {
  display: block;
  width: auto;
  height: 192px;
  max-width: 100%;
  object-fit: contain;
}

.kalyves-project__kicker {
  margin: 0 0 16px;
  color: #c9a96e;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0.5em;
  text-transform: uppercase;
}

.kalyves-project__title {
  margin: 0 0 12px;
  color: #2a2a22;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(44px, 4.15vw, 60px);
  line-height: 1.18;
  font-weight: 300;
  letter-spacing: -0.04em;
  text-transform: lowercase;
}

.kalyves-project__subtitle {
  margin: 0 0 32px;
  color: rgba(90, 90, 74, 0.6);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  line-height: 1.35;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.kalyves-project__body {
  margin: 0;
  color: #5a5a4a;
}

.kalyves-project__body p {
  margin: 0 0 16px;
  color: #5a5a4a;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 1.72;
  font-weight: 400;
}

.kalyves-project__body p:last-child {
  margin-bottom: 0;
}

.kalyves-project__open {
  position: absolute;
  top: 50%;
  left: 24px;
  z-index: 20;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: #f5f0eb;
  color: #2a2a22;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
              0 2px 4px -2px rgba(0, 0, 0, 0.1);
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 16px 24px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 350ms ease,
    visibility 350ms ease,
    background-color 300ms ease;
}

.kalyves-project__open:hover {
  background: #e8e3de;
}

/* Closed state */
.kalyves-project.is-panel-closed .kalyves-project__panel {
  transform: translateX(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.kalyves-project.is-panel-closed .kalyves-project__open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.kalyves-project.is-panel-closed .kalyves-project__image {
  transform: scale(1.02);
}

/* Mobile behavior */
@media (max-width: 767px) {

  .kalyves-hero {
    min-height: 620px;
  }

  .kalyves-hero__content {
    width: min(340px, calc(100% - 32px));
    padding-bottom: 92px;
  }

  .kalyves-hero__logo {
    width: clamp(210px, 68vw, 300px);
  }

  .kalyves-hero__gold-line {
    margin-top: 30px;
    margin-bottom: 22px;
  }

  .kalyves-hero__text {
    font-size: 9px;
    letter-spacing: 0.24em;
  }

  .kalyves-hero__button {
    min-width: 128px;
    min-height: 40px;
    margin-top: 24px;
    font-size: 9px;
  }
	
/* section 2 */
	
  .kalyves-project {
    height: auto;
    min-height: 100svh;
    background: #f5f0eb;
  }

  .kalyves-project__image {
    position: relative;
    width: 100%;
    height: 42svh;
    min-height: 300px;
  }

  .kalyves-project__right {
    display: none;
  }

  .kalyves-project__panel {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 58svh;
    padding: 40px 24px;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    background: #f5f0eb;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .kalyves-project__close,
  .kalyves-project__open {
    display: none;
  }

  .kalyves-project__logo {
    height: 112px;
  }

  .kalyves-project__kicker {
    margin-bottom: 12px;
  }

  .kalyves-project__title {
    margin-bottom: 8px;
    font-size: 32px;
    line-height: 1.25;
  }

  .kalyves-project__subtitle {
    margin-bottom: 24px;
    font-size: 17.6px;
  }

  .kalyves-project__body p {
    font-size: 14px;
    line-height: 1.72;
  }
	
	
}

@media (prefers-reduced-motion: reduce) {
  .kalyves-hero__scroll div {
    animation: none;
  }

  .kalyves-hero__button {
    transition: none;
  }
}