/* Header + hero + WhatsApp — Orchid colors, Master Kitchen layout */

.mk-page {
  position: relative;
  overflow-x: hidden;
}

.mk-utility {
  height: 49px;
  background: var(--color-charcoal);
  color: #f4efe6;
  font-size: 13px;
  position: relative;
  z-index: 100;
}

.mk-utility-inner {
  height: 100%;
  width: min(1400px, calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mk-utility a {
  color: #e8dfd2;
  text-decoration: none;
}

.mk-utility a:hover {
  color: var(--color-primary-light);
}

.mk-utility-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mk-utility-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mk-utility-social a {
  color: var(--color-primary-light);
}

.mk-header {
  height: 85px;
  background: var(--color-text-dark);
  color: #fff;
  position: relative;
  z-index: 100;
}

.mk-header-inner {
  height: 100%;
  width: min(1400px, calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mk-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.mk-logo img {
  height: 58px;
  width: auto;
  max-width: 64px;
}

.mk-logo-word {
  font-family: "Playfair Display", serif;
  letter-spacing: 0.16em;
  font-size: 22px;
  color: var(--color-primary-light);
}

.mk-logo-sub {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #cbb8a8;
  font-family: Inter, sans-serif;
}

.mk-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 400;
}

.mk-nav a {
  color: #fff;
  text-decoration: none;
}

.mk-nav a:hover,
.mk-nav a.is-current {
  color: var(--color-primary-light);
}

.mk-header-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}

.mk-icon-btn {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.mk-menu-orb {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mk-menu-orb span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: #fff;
  box-shadow: 0 -5px 0 #fff, 0 5px 0 #fff;
}

.mk-header-cta {
  display: none;
  align-items: center;
  padding: 10px 18px;
  background: var(--color-primary);
  color: var(--color-bg);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.mk-header-cta:hover {
  background: var(--color-primary-light);
}

@media (min-width: 640px) {
  .mk-header-cta {
    display: inline-flex;
  }
}

.mk-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--color-charcoal);
  color: #f4efe6;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mk-mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mk-mobile-nav-inner {
  width: min(1400px, calc(100% - 40px));
  margin: 28px auto 0;
  height: calc(100% - 56px);
  display: flex;
  flex-direction: column;
}

.mk-mobile-nav nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  font-size: 32px;
  font-family: "Playfair Display", serif;
}

.mk-mobile-nav a {
  color: inherit;
  text-decoration: none;
}

/* Hero */
.mk-hero {
  position: relative;
  height: calc(100vh - 134px);
  min-height: 650px;
  background: var(--color-charcoal);
  overflow: hidden;
}

.mk-hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.mk-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms ease, visibility 900ms ease;
  will-change: opacity;
}

.mk-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.mk-hero-slide img {
  position: absolute;
  top: 0;
  right: 0;
  width: 60.5%;
  height: 100%;
  object-fit: cover;
  object-position: var(--object-position, center center);
  transform: scale(1.02);
  transition: transform 6s ease;
}

.mk-hero-slide.is-active img {
  transform: scale(1);
}

.mk-hero-copy {
  position: absolute;
  z-index: 30;
  left: clamp(36px, 13.8vw, 245px);
  top: 50%;
  transform: translateY(-50%);
  width: min(520px, 80%);
  pointer-events: auto;
}

.mk-hero-eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary-light);
}

.mk-hero-copy h1 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.12;
  color: #f3eadc;
  letter-spacing: -0.02em;
}

.mk-hero-script {
  margin: 12px 0 0;
  font-family: Parisienne, cursive;
  font-size: 26px;
  color: #d4a0b4;
}

.mk-hero-copy .mk-hero-text {
  margin: 18px 0 0;
  max-width: 440px;
  font-size: 18px;
  line-height: 1.5;
  color: #cbb8a8;
}

.mk-hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mk-line-mask {
  display: block;
  overflow: hidden;
}

.mk-hero-line {
  display: block;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 400ms ease, transform 400ms ease;
  transition-delay: 0ms;
}

.mk-hero-slide.is-active .mk-hero-line {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1000ms ease, transform 1000ms ease;
  transition-delay: calc(500ms + var(--d, 0) * 220ms);
}

.mk-slider-controls {
  position: absolute;
  z-index: 40;
  right: clamp(20px, 4vw, 48px);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.mk-slider-index {
  font-variant-numeric: tabular-nums;
  opacity: 0.9;
}

.mk-slider-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(52, 33, 43, 0.45);
  color: #fff;
  cursor: pointer;
}

.mk-slider-controls button:hover {
  background: var(--color-primary);
}

.hero-hanging-lamp {
  position: absolute;
  z-index: 110;
  top: 0;
  left: clamp(54px, 6.9vw, 124px);
  width: clamp(72px, 5.5vw, 100px);
  height: auto;
  pointer-events: none;
  transform-origin: top center;
  animation: lamp-swing 5.6s ease-in-out infinite;
}

@keyframes lamp-swing {
  0%,
  100% {
    transform: rotate(-2.4deg) translateY(0);
  }
  50% {
    transform: rotate(2.4deg) translateY(8px);
  }
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 40px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #00c92c;
  z-index: 999;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.05);
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
}

.whatsapp-badge {
  position: absolute;
  top: -2px;
  right: -1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f30017;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
}

@media (max-width: 1023px) {
  .mk-nav {
    display: none;
  }

  .mk-hero {
    min-height: 560px;
  }

  .mk-hero-slide img {
    width: 55%;
  }

  .mk-hero-copy h1 {
    font-size: 48px;
  }

  .hero-hanging-lamp {
    width: 68px;
  }
}

@media (max-width: 767px) {
  .mk-utility {
    height: 42px;
  }

  .mk-header {
    height: 72px;
  }

  .mk-logo img {
    height: 46px;
  }

  .mk-hero {
    height: calc(100vh - 114px);
    min-height: 520px;
  }

  .mk-hero-slide img {
    width: 100%;
  }

  .mk-hero-copy {
    left: 20px;
    width: min(520px, calc(100% - 40px));
    padding: 22px 20px;
    background: rgba(52, 33, 43, 0.82);
    pointer-events: auto;
  }

  .mk-hero-copy h1 {
    font-size: 36px;
    color: #f3eadc;
  }

  .mk-hero-copy .mk-hero-text {
    color: #cbb8a8;
    font-size: 16px;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 22px;
    right: 16px;
  }
}

@media (max-width: 639px) {
  .hero-hanging-lamp {
    display: none;
  }

  .mk-utility-social {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mk-hero-slide,
  .mk-hero-slide img,
  .mk-mobile-nav {
    transition-duration: 1ms;
  }

  .mk-hero-slide img,
  .mk-hero-slide.is-active img {
    transform: none;
  }

  .hero-hanging-lamp {
    animation: none;
  }

  .mk-hero-line,
  .mk-hero-slide.is-active .mk-hero-line {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
