/* style.css — Index page styles */
/* Variabel dan base sudah didefinisikan di layout.css */

/* ===== BANNER ===== */
.banner {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--wood-deepest);
}

/* Animated gradient backdrop (fallback jika tidak ada video) */
.banner-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(58, 34, 18, 0.9) 0%, var(--wood-deepest) 70%), linear-gradient(135deg, var(--wood-deep) 0%, var(--charcoal-dark) 50%, var(--wood-deepest) 100%);
  z-index: 0;
}

.banner-backdrop::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(92deg, transparent 0px, transparent 38px, rgba(200, 146, 42, 0.03) 39px, transparent 40px);
}

.banner-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 55%, rgba(200, 146, 42, 0.06) 0%, transparent 70%);
  animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.banner-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(18, 10, 4, 0.45);
  z-index: 2;
}

/* Decorative corner brackets */
.banner-corner {
  position: absolute;
  z-index: 3;
  width: 60px;
  height: 60px;
}

.banner-corner.tl {
  top: 40px;
  left: 40px;
  border-top: 1px solid rgba(200, 146, 42, 0.35);
  border-left: 1px solid rgba(200, 146, 42, 0.35);
}
.banner-corner.tr {
  top: 40px;
  right: 40px;
  border-top: 1px solid rgba(200, 146, 42, 0.35);
  border-right: 1px solid rgba(200, 146, 42, 0.35);
}
.banner-corner.bl {
  bottom: 40px;
  left: 40px;
  border-bottom: 1px solid rgba(200, 146, 42, 0.35);
  border-left: 1px solid rgba(200, 146, 42, 0.35);
}
.banner-corner.br {
  bottom: 40px;
  right: 40px;
  border-bottom: 1px solid rgba(200, 146, 42, 0.35);
  border-right: 1px solid rgba(200, 146, 42, 0.35);
}

/* ===== HERO TEXT ===== */
.hero-text {
  position: relative;
  z-index: 4;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 118px;
  font-weight: 300;
  color: #c8a96e;
  letter-spacing: 6px;
  margin: 0;
  text-shadow:
    0 4px 40px rgba(200, 146, 42, 0.25),
    0 1px 0 rgba(255, 255, 255, 0.05);
  animation: heroFadeUp 1.4s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: heroFadeUp 1.6s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}

.hero-divider-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--amber), transparent);
}

.hero-divider-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--amber);
}

.hero-subtitle {
  font-family: var(--font-mincho);
  font-size: 13px;
  color: rgba(200, 146, 42, 0.8);
  letter-spacing: 14px;
  font-weight: 400;
  text-transform: uppercase;
  animation: heroFadeUp 1.8s cubic-bezier(0.2, 0.8, 0.3, 1) both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  bottom: 42px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-label {
  font-family: var(--font-mincho);
  font-size: 9px;
  letter-spacing: 4px;
  color: rgba(200, 146, 42, 0.5);
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 55px;
  background: linear-gradient(to bottom, var(--amber) 0%, transparent 100%);
  position: relative;
  overflow: hidden;
}

.scroll-line::before {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--amber-pale), transparent);
  animation: scrollMove 2.2s ease-in-out infinite;
}

@keyframes scrollMove {
  0% {
    top: -100%;
  }
  100% {
    top: 100%;
  }
}

/* ===== SHOWCASE SECTION ===== */
.showcase {
  background: linear-gradient(180deg, var(--wood-deepest) 0%, var(--wood-deep) 30%, var(--wood-deepest) 100%);
  padding: 110px 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 50px;
}

.showcase-header {
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
}

.showcase-header h2 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: rgba(200, 146, 42, 0.6);
}

.showcase-item {
  position: relative;
  width: 660px;
  height: 440px;
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
  transition: transform 0.4s ease;
  border: 1px solid rgba(200, 146, 42, 0.08);
}

.showcase-item:hover {
  transform: translateY(-5px);
}

/* Placeholder backgrounds */
.showcase-item.charcoal-card {
  background: linear-gradient(145deg, #1a1008 0%, #2a1a0a 40%, #1c1c1c 100%);
}
.showcase-item.porang-card {
  background: linear-gradient(145deg, #0e1a0e 0%, #1a2e1a 40%, #1c1c1c 100%);
}

.card-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Charcoal card inner visuals */
.charcoal-card .card-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 200px at 65% 40%, rgba(50, 30, 10, 0.8) 0%, transparent 70%), repeating-linear-gradient(0deg, transparent 0px, rgba(60, 40, 20, 0.15) 1px, transparent 2px, transparent 6px);
}

.charcoal-card .card-visual::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(to top, rgba(20, 10, 2, 0.95) 0%, transparent 100%);
}

.ember {
  position: absolute;
  z-index: 1;
  right: 60px;
  top: 50px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 100, 10, 0.35) 0%, rgba(180, 60, 5, 0.15) 40%, transparent 70%);
  animation: emberPulse 3s ease-in-out infinite;
  filter: blur(8px);
}

@keyframes emberPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.2);
  }
}

/* Porang card inner visuals */
.porang-card .card-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 60% 35%, rgba(20, 50, 20, 0.7) 0%, transparent 70%);
}

.porang-card .card-visual::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(to top, rgba(10, 18, 10, 0.95) 0%, transparent 100%);
}

/* Particles */
.particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
}

.charcoal-card .particle {
  background: rgba(220, 120, 30, 0.6);
  box-shadow: 0 0 6px rgba(220, 120, 30, 0.8);
  animation: floatParticle var(--dur) var(--delay) ease-in infinite;
}

.porang-card .particle {
  background: rgba(80, 180, 80, 0.4);
  box-shadow: 0 0 4px rgba(80, 180, 80, 0.5);
  animation: floatParticle var(--dur) var(--delay) ease-in infinite;
}

@keyframes floatParticle {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  20% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-180px) scale(0.3);
    opacity: 0;
  }
}

/* Image overlay */
.showcase-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(75%) saturate(80%);
  z-index: 2;
}

.showcase-item:hover img {
  transform: scale(1.06);
  filter: brightness(90%) saturate(90%);
}

.showcase-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 75%;
  background: linear-gradient(to top, rgba(20, 10, 4, 0.96) 0%, rgba(20, 10, 4, 0.4) 60%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

/* Card text */
.showcase-text {
  position: absolute;
  bottom: 28px;
  left: 32px;
  right: 32px;
  z-index: 4;
  text-align: left;
}

.showcase-text .tag {
  font-family: var(--font-mincho);
  font-size: 10px;
  letter-spacing: 5px;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.showcase-text h3 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: #e8d5b0;
  margin-bottom: 10px;
  letter-spacing: 1px;
  line-height: 1.1;
}

.showcase-text p {
  font-size: 13px;
  color: rgba(200, 180, 150, 0.75);
  margin-bottom: 20px;
  line-height: 1.6;
  max-width: 320px;
  font-weight: 300;
}

.showcase-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(200, 146, 42, 0.45);
  color: var(--amber-light);
  padding: 10px 26px;
  font-family: var(--font-mincho);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.35s ease;
  text-decoration: none;
  border-radius: 1px;
}

.showcase-btn::after {
  content: '→';
  transition: transform 0.3s ease;
}

.showcase-btn:hover {
  background: rgba(200, 146, 42, 0.12);
  border-color: var(--amber-light);
  color: var(--amber-pale);
}

.showcase-btn:hover::after {
  transform: translateX(5px);
}

/* Coming soon badge */
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(80, 180, 80, 0.1);
  border: 1px solid rgba(80, 180, 80, 0.3);
  color: rgba(140, 220, 140, 0.85);
  padding: 8px 20px;
  font-family: var(--font-mincho);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  border-radius: 1px;
}

.coming-soon-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(100, 220, 100, 0.7);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

/* ===== FOOTER ===== */
footer {
  background: var(--wood-deepest);
  border-top: 1px solid rgba(200, 146, 42, 0.1);
  padding: 60px 40px 40px;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-logo);
  font-size: 38px;
  color: rgba(200, 146, 42, 0.5);
  margin-bottom: 14px;
}

.footer-tagline {
  font-family: var(--font-mincho);
  font-size: 10px;
  letter-spacing: 6px;
  color: rgba(200, 146, 42, 0.3);
  text-transform: uppercase;
  margin-bottom: 35px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 35px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--font-mincho);
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(200, 146, 42, 0.4);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--amber-light);
}

.footer-copy {
  font-size: 11px;
  color: rgba(232, 220, 200, 0.2);
  letter-spacing: 1px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 68px;
    letter-spacing: 3px;
  }
  .hero-subtitle {
    font-size: 11px;
    letter-spacing: 10px;
  }
  .banner-corner {
    display: none;
  }

  .showcase {
    padding: 70px 20px;
    gap: 30px;
  }
  .showcase-item {
    width: 100%;
    height: 360px;
  }
  .showcase-text h3 {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 48px;
  }
  .hero-subtitle {
    letter-spacing: 7px;
  }
}
