/* 1. Mendaftarkan Font Judul */
@font-face {
  font-family: 'FontJudul';
  src: url('fonts/FontJudul.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* 2. Mendaftarkan Font Body */
@font-face {
  font-family: 'FontBody';
  src: url('fonts/FontBody.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* ===================================================
   SKORD COFFEE PARTNERS – Landing Page
   =================================================== */

:root {
  --color-bg-dark: #1a1a1a;
  --color-bg-black: #0f0f0f;
  --color-white: #ffffff;
  --color-cream: #f7f5f2;
  --color-green: #3ddc84;
  --color-green-hover: #2fc971;
  --color-text-muted: rgba(255, 255, 255, 0.85);

  /* UBAH VARIABEL INI KE NAMA FONT KAMU */
  --font-display: 'FontJudul', sans-serif;
  --font-body: 'FontBody', sans-serif;

  --container-max: 1300px;
  --pad-mobile: 24px;
  --pad-desktop: 64px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg-black);
  color: var(--color-white);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.15;
  font-weight: 700;
}

p {
  margin: 0;
}

/* ==========================================================================
   LOGO
   ========================================================================== */

.site-logo {
  display: block;
  height: 48px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .site-logo {
    height: 56px;
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  min-height: 480px;
  padding: 24px var(--pad-mobile) 48px;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 1;
}

.hero__content {
  text-align: right;
  margin-top: 48px;
}

.hero__title {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero__subtitle {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
  .hero {
    min-height: 640px;
    padding: 40px var(--pad-desktop) 80px;
  }

  .hero__content {
    margin-top: 60px;
    max-width: 720px;
    margin-left: auto;
  }

  .hero__title {
    font-size: 58px;
  }

  .hero__subtitle {
    font-size: 20px;
    margin-top: 24px;
  }
}

/* ==========================================================================
   SHARED SECTION LAYOUT
   ========================================================================== */

.section {
  position: relative;
  padding: 56px var(--pad-mobile);
  overflow: hidden;
}

.section__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.section__title {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-white);
}

.section__title--right {
  text-align: right;
  margin-top: 56px;
  font-size: 26px;
}

.section__lead {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: 10px;
}

.section__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-top: 20px;
  max-width: 640px;
}

@media (min-width: 768px) {
  .section {
    padding: 96px var(--pad-desktop);
  }

  .section__title {
    font-size: 44px;
  }

  .section__title--right {
    font-size: 44px;
    margin-top: 64px;
  }

  .section__lead {
    font-size: 22px;
  }

  .section__body {
    font-size: 17px;
    max-width: 780px;
  }
}

/* ==========================================================================
   DARK / WATERMARK SECTION — "Beans and Bonds"
   ========================================================================== */

.section--dark {
  background: var(--color-bg-black);
}

.section--watermark {
  min-height: 420px;
}

.watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22vw;
  color: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

@media (min-width: 768px) {
  .watermark {
    font-size: 16vw;
  }
}

/* ==========================================================================
   PHOTO SECTIONS — "Stop Worrying" / "From Farm to Roastery"
   ========================================================================== */

.section--photo {
  min-height: 360px;
  display: flex;
  align-items: flex-start;
  padding-top: 40px;
  padding-bottom: 40px;
}

.section__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.section__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}

.section--farm {
  display: flex;
  align-items: flex-end;
  padding-bottom: 48px;
}

.section--farm .section__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.section__body--dark {
  color: rgba(20, 20, 20, 0.75);
}

@media (min-width: 768px) {
  .section--photo {
    min-height: 480px;
    padding-top: 64px;
  }

  .section--farm {
    min-height: 560px;
    padding-bottom: 72px;
  }
}

/* ==========================================================================
   LIGHT / CONTACT SECTION
   ========================================================================== */

.section--light {
  background: var(--color-white);
  color: var(--color-bg-black);
  padding-bottom: 80px;
}

.section--light .section__title {
  color: var(--color-bg-black);
  margin-bottom: 12px !important;
}

.section--light .section__body {
  color: rgba(20, 20, 20, 0.7);
  max-width: 520px;
  margin-top: 0;
}

.contact-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 6px;
  margin-top: 36px;
}

.footer-logo {
  display: block;
  width: auto;
  max-width: 120px;
  height: auto;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 6px;
}

.contact__line {
  font-size: 14px;
  color: rgba(20, 20, 20, 0.75);
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  margin-top: 40px;
  background: var(--color-green);
  color: #0f0f0f;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 16px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  background: var(--color-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(61, 220, 132, 0.35);
}

.cta-button:active {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .section--light .section__inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    align-items: start;
    column-gap: 40px;
  }

  .section--light .section__title,
  .section--light .section__body {
    grid-column: 1;
  }

  .contact-block {
    grid-column: 2;
    grid-row: 1 / 3;
    margin-top: 8px;
  }

  .footer-logo {
    max-width: 140px;
  }

  .cta-button {
    grid-column: 1;
    justify-self: start;
    margin-top: 56px;
    font-size: 16px;
    padding: 18px 36px;
  }
}
