/*
Theme Name: Perjalanan Iman
Theme URI: https://faithjourney.com
Author: Faith Journey Team
Author URI: https://faithjourney.com
Description: Tema WordPress untuk landing page Kristen dengan video section dan Q&A. Tema ini memiliki desain elegan dengan warna hangat dan animasi smooth scroll.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: perjalanan-iman
Tags: landing-page, christian, religion, one-page, responsive, custom-background, custom-colors
*/

/* ============================================
   BASE STYLES
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Inter:wght@300;400;500;600;700&family=Cinzel:wght@400;500;600;700&display=swap');

:root {
  /* Brand Colors */
  --gold-500: #D8A252;
  --gold-600: #c49348;
  --gold-400: #dbb977;
  
  /* Background Colors */
  --bg-primary: #6B5B4B;
  --bg-secondary: #2F2A25;
  --bg-dark: #141414;
  
  /* Text Colors */
  --text-primary: #F6F1E7;
  --text-secondary: #D1C7B8;
  
  /* WhatsApp Color */
  --whatsapp: #25D366;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #fff;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
}

.font-script {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}

.font-cinzel {
  font-family: 'Cinzel', serif;
}

/* ============================================
   PRELOADER
   ============================================ */

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease;
}

.preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.preloader-icon {
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease forwards;
}

.preloader-icon svg {
  width: 48px;
  height: 48px;
  color: var(--gold-500);
}

.preloader-brand {
  text-align: center;
  animation: fadeInUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

.preloader-brand h1 {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.preloader-brand p {
  font-size: 1.5rem;
  color: var(--gold-500);
  font-style: italic;
}

.preloader-line {
  margin-top: 2rem;
  width: 12rem;
  height: 1px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
}

.preloader-line::after {
  content: '';
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(216,162,82,0.5), var(--gold-500), rgba(216,162,82,0.5));
  animation: lineGrow 2s ease forwards;
}

.preloader-year {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: fadeInUp 0.6s ease 0.4s forwards;
  opacity: 0;
}

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

@keyframes lineGrow {
  to {
    width: 100%;
  }
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.5s ease;
  padding: 1.25rem 0;
}

.navbar.scrolled {
  background: rgba(47, 42, 37, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.75rem 0;
}

.navbar-container {
  max-width: 1216px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.navbar-logo-icon {
  width: 32px;
  height: 32px;
  color: var(--gold-500);
  transition: transform 0.3s ease;
}

.navbar-logo:hover .navbar-logo-icon {
  transform: scale(1.1);
}

.navbar-logo-text {
  display: flex;
  flex-direction: column;
}

.navbar-logo-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.navbar-logo-tagline {
  font-size: 0.625rem;
  color: var(--gold-500);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.navbar-menu {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .navbar-menu {
    display: flex;
  }
}

.navbar-link {
  font-size: 0.875rem;
  color: rgba(246, 241, 231, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.navbar-link:hover {
  color: var(--gold-500);
}

.navbar-cta {
  display: none;
  padding: 0.5rem 1.5rem;
  background: var(--gold-500);
  color: var(--bg-dark);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

@media (min-width: 1024px) {
  .navbar-cta {
    display: block;
  }
}

.navbar-cta:hover {
  background: var(--gold-600);
  transform: translateY(-2px);
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 1024px) {
  .navbar-toggle {
    display: none;
  }
}

.navbar-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile Menu */
.navbar-mobile {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 20, 20, 0.98);
  backdrop-filter: blur(10px);
  padding: 2rem 1.5rem;
  z-index: 40;
}

.navbar-mobile.active {
  display: block;
}

.navbar-mobile-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  font-size: 1.125rem;
  color: rgba(246, 241, 231, 0.8);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color 0.3s ease;
}

.navbar-mobile-link:hover {
  color: var(--gold-500);
}

.navbar-mobile-link svg {
  width: 20px;
  height: 20px;
  color: var(--gold-500);
}

.navbar-mobile-cta {
  display: block;
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--gold-500);
  color: var(--bg-dark);
  text-align: center;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
}

/* ============================================
   VIDEO SECTION
   ============================================ */

.video-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(47,42,37,0.5) 0%, rgba(47,42,37,0.7) 100%);
}

.video-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.video-header {
    display:none;
  text-align: center;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.5s forwards;
}

.video-label {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 1rem;
  display: block;
}

.video-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  display: block;
}

.video-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
  line-height: 1.1;
}

.video-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.5s forwards;
}

/* Portrait Video (TikTok style - 9:16 aspect ratio) */
.video-container.portrait {
  /*width: 100%;*/
  /*max-width: 480px;*/
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-video {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  border-radius: 16px;
}

.video-placeholder {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 9/16;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.5);
  border-radius: 16px;
  margin: 0 auto;
}

.video-placeholder p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-align: center;
  padding: 1rem;
}

/* Description Below Video */
.video-description-below {
  max-width: 480px;
  margin: 1.5rem auto 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
  text-align: center;
  opacity: 0;
  animation: fadeInUp 1s ease 0.7s forwards;
}

/* WhatsApp Button Below Video */
.whatsapp-button-wrapper {
  margin-top: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s ease 0.9s forwards;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  background-color: #25D366 !important;
  background: #25D366 !important;
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.whatsapp-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  background-color: #25D366 !important;
  background: #25D366 !important;
  color: #ffffff !important;
}

.whatsapp-button svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  padding: 0.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: var(--bg-dark);
}

.footer-container {
  max-width: 1216px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--text-secondary);
}



/* ============================================
   SCROLL TO TOP
   ============================================ */

.scroll-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 40;
  width: 48px;
  height: 48px;
  background: rgba(216, 162, 82, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(216, 162, 82, 0.3);
  color: var(--bg-dark);
  transition: all 0.3s ease;
}

.scroll-top:hover {
  transform: scale(1.1);
}

.scroll-top.hidden {
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
}

.scroll-top svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   UTILITIES
   ============================================ */

.container-custom {
  max-width: 1216px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .container-custom {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
