/* Mike Kitchen Ltd — Wok & Tea (rebuilt from beginorder template) */

@font-face {
  font-family: "Tangerine";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src:
    url("../fonts/Tangerine-Regular.ttf") format("truetype"),
    url("/assets/mike-kitchen/fonts/Tangerine-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Tangerine";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src:
    url("../fonts/Tangerine-Bold.ttf") format("truetype"),
    url("/assets/mike-kitchen/fonts/Tangerine-Bold.ttf") format("truetype");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  background-color: #eeeeee;
  color: #333;
  font-size: 15px;
  line-height: 24px;
}

/* beginorder template — Open Sans on text elements (exclude script subtitle) */
a,
ul,
li,
td,
tr,
p,
span:not(.mu-subtitle),
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Open Sans", sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

/* —— Header —— */
.site-header {
  width: 100%;
  background-color: #000;
}

.site-header__inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 90px;
  padding: 8px 20px;
  background-color: #000;
}

.site-logo {
  flex-shrink: 0;
}

.site-logo img {
  width: 210px;
  height: 115px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 50%;
  max-width: 420px;
}

.site-nav a {
  color: #fff;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: 18px;
  padding: 8px 12px;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: #f1f3f6;
}

/* —— Hero slider —— */
.hero {
  position: relative;
  overflow: hidden;
  background: #111;
}

.hero__track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  min-height: 420px;
  max-height: 85vh;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: absolute;
  left: 20px;
  top: 15%;
  right: 20px;
  z-index: 2;
  max-width: 520px;
  padding: 16px 20px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.45);
}

/* Wide desktop — sit just right of header logo */
@media (min-width: 1200px) {
  .hero__content {
    left: calc(20px + 210px + 24px);
    right: 5%;
    max-width: 520px;
  }
}

.hero__title {
  margin: 0 0 24px;
  color: #000;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: 35px;
  font-weight: 700;
  line-height: 1.25;
}

.hero__title .hero__subtitle {
  display: block;
  margin-top: 0.15em;
  color: #000;
  font-family: inherit;
  font-size: 1em;
  font-weight: 700;
}

/* Dark hero photo (slide 1) — light text */
.hero__slide--dark .hero__content {
  background: transparent;
  padding: 0;
}

.hero__slide--dark .hero__title,
.hero__slide--dark .hero__title .hero__subtitle {
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.hero__slide--dark .hero__title .hero__subtitle {
  color: #e0e0e0;
}

/* Light hero photos (slides 2 & 3) — black text like live site */
.hero__slide--light .hero__content {
  background: transparent;
  padding: 0;
}

.hero__slide--light .hero__title,
.hero__slide--light .hero__title .hero__subtitle {
  color: #000000;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.85);
}

.btn-order {
  display: inline-block;
  background-color: #f15f2a;
  color: #fff;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 15px 35px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #f15f2a;
  transition: background-color 0.3s;
}

.btn-order:hover {
  background-color: #e05524;
  color: #fff;
}

.hero__dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
}

.hero__dot.is-active {
  background: #f15f2a;
}

/* —— Section titles (live site: span.mu-subtitle) —— */
.mu-title {
  margin-bottom: 20px;
  text-align: left;
  position: relative;
}

.mu-title--center {
  text-align: center;
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.mu-title span.mu-subtitle {
  display: block;
  font-size: 58px;
  font-family: "Tangerine", cursive;
  line-height: 1.2;
  color: #f15f2a;
  font-weight: 400;
}

.mu-title h2 {
  margin: 0 0 5px;
  font-family: "Open Sans", sans-serif;
  font-size: 35px;
  font-weight: 700;
  line-height: 40px;
  text-transform: uppercase;
  color: #000;
}

.mu-title h2::before {
  content: "— ";
  color: #f15f2a;
  font-weight: 400;
}

.mu-title--left h2 {
  text-transform: none;
}

/* —— About —— */
.about {
  padding: 70px 0;
  background: #eeeeee;
}

.about__grid {
  display: grid;
  grid-template-columns: 5fr 3fr 3fr;
  gap: 24px;
  align-items: start;
}

.about__text p {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.9;
  color: #333;
}

.about__images-main img {
  width: 100%;
  border-radius: 2px;
}

.about__images-stack img {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 2px;
}

.about__images-stack img:last-child {
  margin-bottom: 0;
}

/* —— Menu / Gallery —— */
.menu-section {
  padding: 60px 0 70px;
  background: #eeeeee;
}

.gallery-heading {
  text-align: center;
  font-family: "Open Sans", sans-serif;
  font-size: 36px;
  font-weight: 500;
  color: #333;
  margin: 20px 0 10px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 30px;
  margin-top: 3rem;
}

.gallery-grid__item {
  background: #fff;
  padding: 12px;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-grid__item img {
  width: 100%;
  height: 220px;
  object-fit: contain;
}

/* —— Map —— */
.map-section {
  padding: 20px 15px;
  background: #eeeeee;
}

.map-section iframe {
  width: 100%;
  height: 60vh;
  min-height: 400px;
  border: 0;
  display: block;
}

/* —— Footer —— */
.site-footer {
  background: #000;
  color: #fff;
  padding: 40px 0 24px;
}

.site-footer h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.site-footer__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 10px;
  font-size: 15px;
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer .address-line i,
.site-footer .contact-line i {
  margin-right: 10px;
  width: 18px;
  text-align: center;
}

.site-footer .address-line {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.payment-cards {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.payment-cards img {
  height: 28px;
  width: auto;
}

.site-footer hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin: 24px 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 14px;
  color: #c2b7b7;
}

.footer-legal a {
  color: #fff;
  cursor: pointer;
}

.footer-legal a:hover {
  text-decoration: underline;
}

.footer-legal .privacy-link {
  margin-left: 37px;
}

.footer-legal .powered a {
  color: #007bff;
}

/* —— PDF modal —— */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.is-open {
  display: flex;
}

.modal-panel {
  background: #fff;
  width: 100%;
  max-width: 960px;
  max-height: 92vh;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-panel h3 {
  text-align: center;
  margin: 20px 16px 12px;
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
}

.modal-panel iframe {
  flex: 1;
  width: 100%;
  min-height: 520px;
  border: none;
}

.modal-close {
  display: block;
  width: calc(100% - 32px);
  margin: 16px auto 20px;
  padding: 14px;
  background: #e5534b;
  color: #fff;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
}

.modal-close:hover {
  background: #d0453e;
}

.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: #f15f2a;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 22px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
  z-index: 999;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
}

/* —— Responsive —— */
@media (max-width: 1199px) {
  .hero__content {
    max-width: min(520px, calc(100% - 40px));
  }
}

@media (max-width: 991px) {
  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__images-main,
  .about__images-stack {
    max-width: 480px;
    margin: 0 auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .site-header__inner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 16px;
  }

  .site-logo img {
    width: 160px;
    height: 60px;
  }

  .site-nav {
    flex-direction: column;
    align-items: flex-end;
    width: auto;
    gap: 4px;
  }

  .site-nav a {
    font-size: 14px;
    font-family: "Open Sans", sans-serif;
  }

  .hero__track {
    min-height: 100vh;
    max-height: none;
    aspect-ratio: auto;
  }

  .hero__content {
    left: 16px;
    right: 16px;
    top: 12%;
    max-width: none;
  }

  .hero__title {
    font-size: 28px;
  }

  .mu-title h2 {
    font-size: 28px;
    line-height: 34px;
  }

  .gallery-heading {
    font-size: 30px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-legal .privacy-link {
    margin-left: 0;
  }
}
