/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

:root {
  --sg-dark: #3b3b3b;
  --sg-accent: #F05E23;
}

/* text helpers */
.text-sg-dark { color: var(--sg-dark); }
.text-sg-accent { color: var(--sg-accent); }

/* bg helpers */
.bg-sg-dark { background-color: var(--sg-dark); }
.bg-sg-accent { background-color: var(--sg-accent); }

/* border */
.border-sg-accent { border-color: var(--sg-accent); }

/* button accent */
.btn-sg {
  background-color: var(--sg-accent);
  color: #111;
}
.btn-sg:hover {
  background-color: #e5551f;
}

/* subtle accent underline */
.link-accent {
  color: var(--sg-dark);
}
.link-accent:hover {
  color: var(--sg-accent);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-slide {
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 3.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-text h1,
.hero-text h2 {
  text-shadow:
    0 2px 6px rgba(0,0,0,0.9),
    0 10px 28px rgba(0,0,0,0.85),
    0 22px 60px rgba(0,0,0,0.75);
}

.hero-text p {
  text-shadow:
    0 2px 4px rgba(0,0,0,0.85),
    0 8px 20px rgba(0,0,0,0.7);
}

.bg-watermark {
  position: relative;
  isolation: isolate;
}

.bg-watermark::before {
  content: "";
  position: fixed;
  inset: 0;

  background-image: url("/assets/logo-f9ae3e06.webp");
  background-repeat: space; /* 👈 kuncinya */
  background-size: 500px 306px; /* ukuran asli logo */
  background-position: center;

  opacity: 0.03;
  z-index: -1;
  pointer-events: none;
}

