/*  ========================================
    DAUROH TRAVEL - MODERN LANDING PAGE CSS
    ======================================== */

/* ===== CSS VARIABLES ===== */
:root {
  /* Colors */
  --primary: #d97706;
  --primary-dark: #92400e;
  --gold: #fcd34d;
  --dark: #1f2937;
  --gray: #6b7280;
  --light: #f9fafb;
  --white: #ffffff;
  --black: #111111;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;

  /* Border Radius */
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-lg: 50px;

  /* Transitions */
  --transition-base: all 0.3s ease;
  --transition-slow: all 0.6s ease;
}

/* ===== RESET & BASE STYLES ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

::selection {
  background: var(--primary);
  color: var(--white);
}

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--dark);
  overflow-x: hidden;
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

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

/* ===== ACCESSIBILITY ===== */
/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: 600;
  z-index: 9999;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  top: 0;
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: var(--spacing-xl) 0;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

/* ===== SCROLL ANIMATIONS ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--black) 0%, #2d2d2d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

/* Animated background gradient */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(217, 119, 6, 0.12) 0%,
      transparent 55%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(252, 211, 77, 0.1) 0%,
      transparent 55%
    );
  animation: pulse 14s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  animation: slideUp 1s ease-out 0.3s backwards;
}

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

/* Logo */
.logo {
  width: 140px;
  height: 140px;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(217, 119, 6, 0.4);
  position: relative;
  animation: float 3s ease-in-out infinite;
}

.logo {
  background-image: url("../images/logo-transparent.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border: 24px solid transparent;
  color: transparent;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* .logo::after {
  content: "";
  position: absolute;
  inset: 8px;
  background: var(--black);
  border-radius: 50%;
}

.logo-text {
  position: relative;
  z-index: 1;
  color: var(--gold);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 2px;
} */

.logo-text {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  cursor: default;
}

/* Hero Typography */
.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.25rem;
  line-height: 1.2;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  cursor: default;
}

.hero-subtitle {
  color: #d1d5db;
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== CTA BUTTON ===== */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1.125rem;
  transition: var(--transition-base);
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.3);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* Shimmer effect */
.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(217, 119, 6, 0.4);
}

/* Bounce animation */
.cta-button.bounce {
  animation: bounce 0.6s ease;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-12px);
  }
  60% {
    transform: translateY(-6px);
  }
}

/* ===== VIDEO SECTION ===== */
.video-section {
  background: var(--light);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-description {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.video-description h3 {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.video-description p {
  color: var(--gray);
  line-height: 1.9;
}

/* ===== CREDENTIAL SECTION ===== */
.credential-section {
  background: var(--white);
}

.credential-card {
  background: var(--white);
  padding: 3rem;
  display: flex;
  justify-content: center;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.credential-logo {
  max-width: 140px;
  margin: 0 auto 2rem;
}

.credential-doc {
  border-radius: 12px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.1);
}

/* ===== VALUES SECTION ===== */
.values-section {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.value-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 2.8rem 2rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition-base);
  border: 2px solid transparent;
}

.value-card.visible:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(217, 119, 6, 0.2);
  border-color: var(--primary);
}

.value-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.3rem;
  color: var(--white);
  box-shadow: 0 10px 28px rgba(217, 119, 6, 0.3);
}

.value-card h3 {
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.value-card p {
  color: var(--gray);
  line-height: 1.8;
}

/* ===== CAROUSEL (Shared Styles) ===== */
.carousel-container {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

.carousel-wrapper {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  width: 100%;
  flex-shrink: 0;
}

/* Carousel Navigation Buttons */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  transition: var(--transition-base);
  z-index: 10;
  color: var(--dark);
  font-size: 1.4rem;
}

.carousel-nav:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.35);
}

.carousel-nav.prev {
  left: -24px;
}

.carousel-nav.next {
  right: -24px;
}

/* ===== PEMBIMBING SECTION ===== */
.pembimbing-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  background: var(--black);
}

/* Decorative triangle */
.pembimbing-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  z-index: 1;
}

.pembimbing-logo {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 56px;
  height: 56px;
  background: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.pembimbing-logo span {
  color: var(--gold);
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.5px;
}

.pembimbing-image {
  width: 100%;
  /* height: 480px; */
  object-fit: cover;
}

.pembimbing-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--gold), var(--primary));
  color: #1a1a1a;
  padding: 1.25rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

/* ===== QUOTE SECTION ===== */
.quote-section {
  background: var(--black);
  color: var(--white);
}

.quote-content {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.quote-text {
  font-size: clamp(1.2rem, 2.8vw, 1.7rem);
  line-height: 1.9;
  color: var(--gold);
  margin-bottom: 2.5rem;
  font-weight: 500;
  font-style: italic;
}

/* ===== TESTIMONI SECTION ===== */
.testimoni-card {
  background: #1a1a1a;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  position: relative;
  min-height: 260px;
}

.testimoni-logo {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.testimoni-logo span {
  color: #1a1a1a;
  font-weight: 800;
  font-size: 0.65rem;
  letter-spacing: 0.5px;
}

.testimoni-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  color: #1a1a1a;
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  transform: rotate(-3deg);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.4);
}

.testimoni-screenshot {
  background: var(--white);
  border-radius: 14px;
  padding: 0.85rem;
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.testimoni-screenshot img {
  border-radius: 8px;
}

/* ===== FLOATING WHATSAPP BUTTON ===== */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #d97706, #92400e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.9rem;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(252, 211, 77, 0.4);
  transition: var(--transition-base);
  z-index: 1000;
  animation: floatWA 3s ease-in-out infinite;
}

@keyframes floatWA {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.wa-float:hover {
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

/* Pulse ring effect */
.wa-float:hover::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 3px solid rgba(37, 211, 102, 0.4);
  animation: ringPulse 2s ease infinite;
}

@keyframes ringPulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ===== DOKUMENTASI SECTION ===== */
.dokumentasi-section {
  background: linear-gradient(135deg, #fafafa 0%, #f1f1f1 100%);
}

.doc-image,
.paket-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ===== PAKET SECTIONS (Alternating backgrounds) ===== */
.paket-section {
  background: var(--white);
}

.paket-januari {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.paket-ramadhan {
  background: linear-gradient(135deg, #fde68a, #fef3c7);
}

.paket-syawal {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.paket-haji {
  background: linear-gradient(135deg, #fde68a, #fef3c7);
}

/* ===== SINGLE IMAGE SECTIONS ===== */
.single-image-section {
  background: var(--light);
}

.single-image-section:nth-of-type(odd) {
  background: var(--white);
}

.single-image-wrapper {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.single-image {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== FOOTER CTA ===== */
.footer-cta-section {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  padding: 5rem 0;
}

.footer-cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.footer-cta-profil {
  margin: 0 auto 40px;
  width: 50%;
  border-radius: var(--radius-sm);
}

.footer-cta-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 2rem;
  font-weight: 700;
}

.cta-button-large {
  font-size: 1.25rem;
  padding: 1.25rem 3rem;
  background: var(--white);
  color: var(--primary);
}

.cta-button-large:hover {
  background: var(--gold);
  color: var(--black);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }

  .carousel-nav {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .carousel-nav.prev {
    left: -19px;
  }

  .carousel-nav.next {
    right: -19px;
  }

  .pembimbing-image {
    height: 380px;
  }

  .testimoni-card {
    padding: 1.5rem;
  }

  .wa-float {
    bottom: 22px;
    right: 22px;
    width: 54px;
    height: 54px;
    font-size: 1.7rem;
  }

  .credential-card {
    padding: 1.5rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 1.5rem;
  }

  .logo {
    width: 120px;
    height: 120px;
  }

  .logo-text {
    font-size: 1.2rem;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .wa-float,
  .carousel-nav {
    display: none;
  }
}
