/* =========================
   GOOGLE FONT
========================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=Poppins:wght@300;400;500&display=swap');

/* =========================
   IMPORT SEMUA SECTION
   (URUTAN PENTING!)
========================= */
@import "./1cover.css";
@import "./2hero.css";
@import "./3card-arch.css";
@import "./4countdown.css";
@import "./5mempelai.css";
@import "./6countdown.css";
@import "./7event.css";
@import "./8lovestory.css";
@import "./9galery.css";
@import "./10gift.css";
@import "./11ucapan.css";
@import "./12kehormatan.css";
@import "./13footer.css";
@import "./14music.css";
@import "./preloader.css";

/* =========================
   ROOT & GLOBAL
========================= */
:root {
  --gold: #b69b5c;
  --soft: #f5efe6;
  --text: #5a4a42;
  --font-primary: 'Playfair Display', serif;
  --font-secondary: 'Poppins', sans-serif;
  --font-accent: 'Ephesis', cursive;
  --judul : 'Ocean Delight';
  --subjudul : 'Hello-Valentina';
  --right-width: clamp(360px, 32vw, 520px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Playfair Display', serif;
  background: #eee;
}


#mainContent {
  visibility: hidden;
}

.hero-left {
  position: fixed;
  top: 0;
  left: 0;
  width: calc(100% - var(--right-width));
  height: 100vh;
  background: url("../asset/image/4.jpg") center/cover no-repeat;
  overflow: hidden;
  z-index: 1;
}

.hero-left::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  color: #fff;
  z-index: 2;

  max-width: 420px;
  width: 100%;
  text-align: center;

  opacity: 0;
  animation: heroFadeSlide 1.2s ease forwards;
}


.hero-label {
  letter-spacing: 2px;
  font-size: 13px;
  margin-bottom: 12px;
}

.hero-title {
  font-size: 48px;
  font-weight: 500;
  margin: 0 0 10px;
  font-family: 'Saphile Rounded';
}

.hero-date {
  font-size: 14px;
  letter-spacing: 1px;
  font-family: 'Saphile Rounded';
  color: #fff;
}

/* RIGHT SIDE */
.hero-right {
  width: var(--right-width);
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title, .cover-title {
  font-size: clamp(24px, 4vw, 48px);
}

@media (min-width: 1600px) and (max-width: 2100px) {
  .hero-left {
    width: calc(100% - var(--right-width));
    max-width: 1400px;
  }

  .hero-text {
    left: 30%;
    transform: translate(-50%, -50%);
    max-width: 460px;
  }

  .hero-title {
    font-size: clamp(36px, 2.8vw, 48px);
  }
}


@media (max-width: 1200px) {
  :root {
    --right-width: clamp(340px, 38vw, 420px);
  }

  .hero-text {
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .hero-title {
    font-size: clamp(28px, 3.2vw, 40px);
  }
}

@media (max-width: 991px) {
  .hero-left {
    display: none;
  }

  .hero-right {
    width: 100%;
    margin-left: 0;
  }
}

/* =========================
   MOBILE (SMARTPHONE)
========================= */
@media (max-width: 767px) {

  /* HILANGKAN HERO KIRI */
  .hero-left {
    display: none;
  }

  /* HERO KANAN FULL */
  .hero-right {
    width: 100%;
    margin-left: 0;
    min-height: 100vh;
  }

  body {
    background: #f2ebe4;
  }

  /* JUDUL & TEXT */
  .hero-title,
  .cover-title {
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.25;
    text-align: center;
  }

  .hero-label,
  .hero-date {
    font-size: 12px;
    letter-spacing: 1.5px;
    text-align: center;
  }

  /* PADDING AMAN NOTCH */
  .hero-right {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
  }
}


@font-face {
  font-family: 'Saphile Rounded';
  src: url('../asset/Font/SaphileRounded-Regular.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Ocean Delight';
  src: url('../asset/Font/Ocean-Delight.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Hello-Valentina';
  src: url('../asset/Font/Hello-Valentina.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Glamour';
  src: url('../asset/Font/Glamour.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'GreatVibes';
  src: url('../asset/Font/GreatVibes.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

