:root {
  --red: #c6040e;
  --red-dark: #a00009;
  --black: #050505;
  --white: #ffffff;
  --bg: var(--red);
  --site-max-width: 834px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--white);
}

main {
  width: 100%;
  max-width: var(--site-max-width);
  margin: 0 auto;
}

.container {
  width: min(var(--site-max-width), 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(198, 4, 14, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.header-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

.hero {
  min-height: auto;
}

.section-image {
  position: relative;
}

.section-image img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-section {
  position: relative;
  overflow: hidden;
}

.gallery-slider {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--red);
}

.gallery-slider--light {
  background: var(--white);
}

.gallery-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.gallery-slider img.active {
  opacity: 1;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(160, 0, 9, 0.75);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.gallery-btn.prev {
  left: 0.8rem;
}

.gallery-btn.next {
  right: 0.8rem;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.18) 60%, rgba(0, 0, 0, 0.08) 100%);
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: #ffe7e7;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

h1 {
  margin: 0;
  max-width: 660px;
  font-family: 'Anton', sans-serif;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 0.98;
}

.btn {
  margin-top: 1.2rem;
  display: inline-block;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  text-decoration: none;
  font-weight: 800;
}

.ig-embed-wrap {
  background: var(--red);
  padding: 4rem 1.5rem;
}

.ig-embed-wrap--light {
  background: var(--white);
}

.ig-holder {
  display: flex;
  justify-content: center;
  /* padding wrapper sudah menangani jarak kiri/kanan; 92vw dari .container
     akan melewati sisi kanan kalau dibiarkan */
  width: 100%;
  max-width: 100%;
}

.youtube-short {
  width: min(100%, 560px);
  aspect-ratio: 9 / 16;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.youtube-short--wide {
  width: min(100%, 960px);
  aspect-ratio: 16 / 9;
}

.contact {
  background: var(--red);
}

.contact-cta {
  padding: 3rem 2.25rem;
  background: var(--white);
  color: #1a1a1a;
}

.contact-kicker {
  margin: 0 0 0.5rem;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact-cta h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.contact-sub {
  margin: 0.75rem 0 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e5e5;
  color: #555555;
  font-size: 0.95rem;
  line-height: 1.6;
}

[hidden] {
  display: none !important;
}

.wa-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.wa-field--full {
  grid-column: 1 / -1;
}

.wa-field {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #333333;
}

.wa-field em {
  font-style: normal;
  font-weight: 400;
  color: #888888;
}

.wa-field select,
.wa-field textarea,
.wa-field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-weight: 400;
  font-size: 0.95rem;
  color: #111111;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wa-field select:focus,
.wa-field textarea:focus,
.wa-field input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(198, 4, 14, 0.12);
}

.wa-field textarea {
  min-height: 110px;
  resize: vertical;
}

.wa-field select:disabled {
  cursor: not-allowed;
  background: #f4f4f4;
  color: #787878;
}

.wa-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  margin-top: 0.25rem;
  border: 0;
  border-radius: 4px;
  background: var(--red);
  color: #ffffff;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease;
}

.wa-submit:hover:not(:disabled) {
  background: var(--red-dark);
}

.wa-submit:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.wa-submit i {
  font-size: 1.1rem;
}

.contact-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e5e5;
  font-size: 0.9rem;
  color: #555555;
}

.btn-ig {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  color: #1a1a1a;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.btn-ig i {
  font-size: 1.1rem;
  color: #e1306c;
}

.btn-ig:hover {
  border-color: var(--red);
  color: var(--red);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--red-dark);
    padding: 1rem 4vw;
    flex-direction: column;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    gap: 0.75rem;
  }

  .site-nav.open {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.25) 55%, rgba(0, 0, 0, 0.08) 100%);
  }

  .hero-content {
    top: auto;
    bottom: 6%;
    transform: none;
  }

  .contact-cta {
    padding: 1.75rem 1.25rem;
  }
}

@media (max-width: 560px) {
  .wa-form {
    grid-template-columns: 1fr;
  }
}
