/* Travel Jogja – UI/UX inspired by Turkey Travel (turkeytravel.com) */
:root {
  --tj-primary: #0d6efd;
  --tj-primary-dark: #0a58ca;
  --tj-hero-overlay: rgba(13, 58, 84, 0.85);
  --tj-nav-bg: #fff;
  --tj-topbar-bg: #0d3a54;
  --tj-footer-bg: #0d3a54;
  --tj-text: #1a1a1a;
  --tj-text-muted: #5c5c5c;
  --tj-radius: 1rem;
  --tj-radius-lg: 1.25rem;
  --tj-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --tj-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.tj-body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--tj-text);
  overflow-x: hidden;
}
/* Navbar logo: scale down on very small screens */
.tj-navbar .navbar-brand img {
  max-height: 36px;
  height: auto;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

/* ----- Top bar ----- */
.tj-topbar {
  background: var(--tj-topbar-bg);
  font-size: 0.875rem;
}
.tj-topbar-link {
  color: rgba(255, 255, 255, 0.9);
  transition: opacity 0.2s;
}
.tj-topbar-link:hover {
  color: #fff;
  opacity: 1;
}

/* ----- Navbar ----- */
.tj-navbar {
  background: var(--tj-nav-bg) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
/* Brand: Jogja Tour Drive (custom wordmark, no logo) */
.tj-brand {
  color: var(--tj-primary) !important;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.tj-footer-brand {
  color: #fff !important;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.tj-navbar .nav-link {
  color: var(--tj-text) !important;
  font-weight: 500;
  padding: 0.4rem 0.7rem !important;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  white-space: nowrap;
}
.tj-navbar .nav-link:hover,
.tj-navbar .nav-link.active {
  color: var(--tj-primary) !important;
  background: rgba(13, 110, 253, 0.08);
}
.tj-navbar .dropdown-menu {
  border: none;
  box-shadow: var(--tj-shadow);
  border-radius: var(--tj-radius);
  padding: 0.5rem;
}

/* ----- Hero ----- */
.tj-hero {
  background: linear-gradient(135deg, #0d3a54 0%, #0a2d42 50%, #062536 100%);
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
}
.tj-hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--tj-hero-overlay);
  pointer-events: none;
}
.tj-hero .container {
  position: relative;
  z-index: 1;
}
.tj-hero-title {
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}
.tj-hero-lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  max-width: 32em;
}
.tj-hero .btn-light {
  font-weight: 600;
  padding: 0.75rem 1.5rem;
}
.tj-hero .btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.tj-hero-badge {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.tj-hero-qr,
.tj-hero-badge {
  width: 260px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.min-vh-50 {
  min-height: 60vh;
}
@media (min-width: 992px) {
  .min-vh-50 {
    min-height: 0;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

/* ----- Sections ----- */
.tj-section {
  background: #fff;
}
.tj-section-alt {
  background: #f8f9fa;
}
.tj-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tj-primary);
}
.tj-section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--tj-text);
}
.tj-profile-row {
  row-gap: 2rem;
}
@media (min-width: 992px) {
  .tj-profile-row {
    column-gap: 3rem;
    align-items: center;
  }
}
.tj-cta-group .btn {
  min-width: 190px;
}
.tj-profile-bio {
  text-align: justify;
  text-justify: inter-word;
}
.tj-section-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 40em;
  margin-left: auto;
  margin-right: auto;
}
.tj-section-sub {
  font-size: 1rem;
  color: var(--tj-text-muted);
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 992px) {
  .py-lg-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

/* ----- Destination cards ----- */
.tj-dest-card {
  border-radius: var(--tj-radius-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tj-dest-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--tj-shadow-hover);
}
.tj-dest-img {
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.tj-dest-card:hover .tj-dest-img {
  transform: scale(1.05);
}
.tj-dest-placeholder {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

/* ----- Tour cards (Best Tours) ----- */
.tj-tour-card {
  border-radius: var(--tj-radius-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tj-tour-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tj-shadow-hover);
}
.tj-tour-img {
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.tj-tour-card:hover .tj-tour-img {
  transform: scale(1.03);
}
.tj-tour-placeholder {
  height: 220px;
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}
.tj-tour-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--tj-primary);
}

/* ----- What makes us different ----- */
.tj-why-card {
  background: #fff;
  border-radius: var(--tj-radius);
  box-shadow: var(--tj-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tj-why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--tj-shadow-hover);
}
.tj-why-icon {
  width: 56px;
  height: 56px;
  background: rgba(13, 110, 253, 0.12);
  color: var(--tj-primary);
  font-size: 1.5rem;
}

/* ----- Testimonial cards ----- */
.tj-testimonial-card {
  border-radius: var(--tj-radius);
  border-left: 4px solid var(--tj-primary);
  transition: box-shadow 0.25s ease;
}
.tj-testimonial-card:hover {
  box-shadow: var(--tj-shadow-hover);
}
.tj-testimonial-card .card-text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #333;
}
/* Foto testimoni: besar + zoom halus saat hover */
.tj-testimonial-photo-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid rgba(13, 106, 253, 0.2);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.tj-testimonial-card:hover .tj-testimonial-photo-wrap {
  border-color: var(--tj-primary);
  box-shadow: 0 4px 16px rgba(13, 106, 253, 0.25);
}
.tj-testimonial-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.tj-testimonial-card:hover .tj-testimonial-photo {
  transform: scale(1.15);
}
.tj-testimonial-photo-placeholder {
  width: 120px;
  height: 120px;
  font-size: 3rem;
}

/* ----- Blog cards ----- */
.tj-blog-card {
  border-radius: var(--tj-radius-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tj-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tj-shadow-hover);
}
.tj-blog-img {
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.tj-blog-card:hover .tj-blog-img {
  transform: scale(1.03);
}
.tj-blog-placeholder {
  height: 180px;
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

/* ----- CTA block ----- */
.tj-cta-block {
  background: linear-gradient(135deg, #0d3a54 0%, #0a2d42 100%);
  box-shadow: var(--tj-shadow-hover);
}

/* ----- Footer ----- */
.tj-footer {
  background: var(--tj-footer-bg);
}
.tj-footer-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}
.tj-footer-link:hover {
  color: #fff;
}
.tj-footer-divider {
  border-color: rgba(255, 255, 255, 0.15);
}

/* ----- Floating WhatsApp ----- */
.tj-wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 1050;
  transition: transform 0.2s, box-shadow 0.2s;
}
.tj-wa-float:hover {
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

/* ----- Gallery (4:3 agar foto tidak kepotong seperti kotak) ----- */
.tj-gallery-item {
  aspect-ratio: 4 / 3;
  background: #e9ecef;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-height: 0;
}
.tj-gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--tj-shadow-hover);
}
.tj-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}
.tj-gallery-item:hover .tj-gallery-img {
  transform: scale(1.05);
}
.tj-gallery-placeholder-box {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #adb5bd 0%, #868e96 100%);
}
#galleryModal .modal-header {
  z-index: 2;
}
#galleryModal .modal-body {
  border-radius: var(--tj-radius);
}

/* Peta DIY */
.tj-map {
  height: 70vh;
  min-height: 400px;
  width: 100%;
}
.map-popup {
  min-width: 200px;
  max-width: 320px;
}

.text-shadow {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* ----- Empty state ----- */
.tj-empty {
  padding: 3rem 1.5rem;
  color: var(--tj-text-muted);
}

/* ----- Mobile: perapihan tampilan ponsel ----- */
@media (max-width: 576px) {
  .tj-navbar .navbar-brand img {
    max-height: 28px;
    max-width: 140px;
  }

  .tj-hero {
    min-height: auto;
  }
  .tj-hero .container {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }
  .tj-hero-title {
    font-size: 1.5rem;
    line-height: 1.25;
  }
  .tj-hero-lead {
    font-size: 0.9375rem;
    max-width: 100%;
  }

  .tj-hero .d-flex.flex-wrap.gap-3 {
    flex-direction: column;
    gap: 0.75rem !important;
  }
  .tj-hero .btn,
  .tj-hero .btn-lg {
    width: 100%;
    justify-content: center;
  }

  .tj-hero .col-lg-4 {
    width: 100%;
    text-align: center;
  }
  .tj-hero-qr,
  .tj-hero-badge {
    width: 100%;
    display: block;
    margin-top: 1rem;
    max-width: 100%;
  }
  .tj-hero-qr img {
    width: 140px !important;
    height: 140px !important;
  }

  .min-vh-50 {
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .tj-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .tj-cta-group .btn {
    width: 100%;
    min-width: unset;
  }

  .tj-section-title {
    font-size: 1.35rem;
  }
  .tj-section-lead,
  .tj-section-sub {
    font-size: 0.9375rem;
    max-width: 100%;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .tj-footer .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
