*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #f5f0e8;
  --cream-dark: #ede5d0;
  --blue: #1b2b4b;
  --blue-mid: #2a3f6b;
  --blue-light: #3d5a8a;
  --gold: #c9a96e;
  --gold-light: #e8c99a;
  --text-dark: #1a1a2e;
  --text-light: #f8f5f0;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

section,
div,
main,
header,
footer {
  max-width: 100%;
}

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 10px;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(27, 43, 75, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 50px;
}

.site-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--gold-light);
  letter-spacing: 0.05em;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.site-nav a {
  color: rgba(248, 245, 240, 0.8);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.3s;
}

.site-nav a:hover {
  color: var(--gold-light);
}

.btn-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold-light);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  background: var(--blue);
  padding: 1rem 2rem;
  border-top: 1px solid rgba(201, 169, 110, 0.2);
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9rem;
}

.hidden {
  display: none;
}

/* ── SECTIONS ── */
.section {
  min-height: 100vh;
  padding: 100px 2rem 80px;
}

.section--biru {
  background: var(--blue);
  color: var(--text-light);
}

.section--creamee {
  background: var(--cream);
  color: var(--text-dark);
}

/* ── INTRO ── */
#intro {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

#intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27, 43, 75, 0.7) 0%,
    rgba(27, 43, 75, 0.3) 100%
  );
}

#intro > div {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
  max-width: 900px;
  padding: 0 1rem;
}

#intro h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
  word-break: break-word;
  overflow-wrap: break-word;
}

#intro h1 em {
  color: var(--gold-light);
  font-style: italic;
}

/* ── ABOUT ── */
.about-inner {
  max-width: 1000px;
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: center;
}

.about-inner img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 12px 12px 0 var(--blue-mid);
  border: 1px solid rgba(201, 169, 110, 0.3);
}

.about-inner h2 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  line-height: 1;
}

.about-inner p {
  font-size: 1rem;
  line-height: 1.8;
  opacity: 0.85;
}

.about-subs {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.about-sub {
  padding: 2rem;
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.03);
}

.about-sub h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.about-sub p {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.75;
}

/* ── SECTION HEADER ── */
.section-header {
  max-width: 1000px;
  margin: 0 auto 4rem;
}

.text-section-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.section--biru .text-section-label {
  color: var(--gold-light);
}

.section-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.2;
}

/* ── SLIDER ── */
.slider-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-slide {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.slide-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2rem;
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.03);
}

.section--creamee .slide-item {
  background: rgba(27, 43, 75, 0.04);
  border-color: rgba(27, 43, 75, 0.1);
}

.slide-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 1px;
}

.slide-item h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}

.section--creamee .slide-item h2 {
  color: var(--blue);
}

.slide-item p {
  font-size: 0.9rem;
  line-height: 1.75;
  opacity: 0.8;
}

.slider-controls {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-slider {
  background: none;
  border: 1px solid rgba(201, 169, 110, 0.4);
  padding: 0.6rem 1rem;
  cursor: pointer;
  border-radius: 1px;
  transition: all 0.3s;
}

.btn-slider:hover {
  background: rgba(201, 169, 110, 0.15);
  border-color: var(--gold);
}

.btn-slider img {
  width: 24px;
  height: 24px;
  display: block;
  filter: invert(1);
}

.section--creamee .btn-slider img {
  filter: none;
}

/* ── GALLERY ── */
.gallery-overflow {
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: galleryScroll 30s linear infinite;
}

.gallery-track:hover {
  animation-play-state: paused;
}

.gallery-image {
  width: 280px;
  height: 200px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  border: 1px solid rgba(201, 169, 110, 0.2);
}

@keyframes galleryScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ── CONTACT ── */
.contact-list {
  max-width: 700px;
  margin: 0 auto;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(27, 43, 75, 0.12);
  border-radius: 2px;
  background: rgba(27, 43, 75, 0.03);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.contact-list li:hover {
  transform: translateX(6px);
  box-shadow: -3px 0 0 var(--blue);
}

.contact-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.contact-label {
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--blue);
  min-width: 80px;
}

.contact-list a {
  color: var(--blue);
  text-decoration: none;
  font-size: 0.95rem;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--blue);
  color: rgba(248, 245, 240, 0.7);
  padding: 3rem 1.5rem;
  border-top: 1px solid rgba(201, 169, 110, 0.2);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.footer-information {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(201, 169, 110, 0.2);
  border-bottom: 1px solid rgba(201, 169, 110, 0.2);
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h3,
.footer-col h4 {
  color: var(--gold-light);
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.footer-col a:hover {
  color: #c9a96e;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.9rem;
}

/* Responsif untuk Layar HP */
@media (max-width: 768px) {
  .footer-information {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

.text-justify {
  text-align: justify;
}

/* ── RESPONSIVE TABLET & MOBILE ── */
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
    width: 100%;
  }

  .page-wrapper {
    overflow-x: hidden;
  }

  .site-nav {
    display: none;
  }

  .btn-menu-toggle {
    display: block;
  }

  .header-inner {
    width: 90%;
    padding: 0 1rem;
    height: 64px;
  }

  .site-title {
    font-size: 1.1rem;
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-menu {
    padding: 1rem;
  }

  .section {
    min-height: auto;
    padding: 90px 1rem 60px;
  }

  /* INTRO */
  #intro {
    min-height: 100vh;
    text-align: center;
    padding: 120px 1rem 80px;
  }

  #intro > div {
    width: 100%;
  }

  #intro h1 {
    font-size: clamp(2rem, 9vw, 3.5rem);
    line-height: 1.2;
    word-break: break-word;
  }

  /* ABOUT */
  .about-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-inner img {
    max-width: 260px;
    margin: 0 auto;
    display: block;
  }

  .about-inner h2 {
    font-size: 2.2rem;
    text-align: center;
  }

  .about-inner p {
    font-size: 0.95rem;
  }

  .about-subs {
    grid-template-columns: 1fr;
  }

  .about-sub {
    padding: 1.5rem;
  }

  /* SECTION TITLE */
  .section-header {
    margin-bottom: 2rem;
  }

  .section-header h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  /* SLIDER */
  .slider-wrapper {
    overflow: hidden;
  }

  .slider-slide {
    gap: 1.5rem;
  }

  .slide-item {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
  }

  .slide-item img {
    width: 100%;
    height: auto;
  }

  .slide-item h2 {
    font-size: 1.5rem;
  }

  .slide-item p {
    font-size: 0.9rem;
  }

  .slider-controls {
    justify-content: center;
  }

  /* GALLERY */
  .gallery-image {
    width: 220px;
    height: 160px;
  }

  /* CONTACT */
  .contact-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .contact-label {
    min-width: auto;
  }

  .contact-list a {
    word-break: break-word;
  }
}
