/* ============================================
   Bintan Taxi Ride - Main Stylesheet
   ============================================ */
@charset "UTF-8";
/*!
* Start Bootstrap - SB Admin v7.0.7 (https://startbootstrap.com/template/sb-admin)
* Copyright 2013-2023 Start Bootstrap
* Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-sb-admin/blob/master/LICENSE)
*/
/*!
 * Bootstrap  v5.2.3 (https://getbootstrap.com/)
 * Copyright 2011-2022 The Bootstrap Authors
 * Copyright 2011-2022 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
 */
:root {
  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-black: #000;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #e9ecef;
  --bs-gray-300: #dee2e6;
  --bs-gray-400: #ced4da;
  --bs-gray-500: #adb5bd;
  --bs-gray-600: #6c757d;
  --bs-gray-700: #495057;
  --bs-gray-800: #343a40;
  --bs-gray-900: #212529;
  --bs-primary: #0d6efd;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-primary-rgb: 13, 110, 253;
  --bs-secondary-rgb: 108, 117, 125;
  --bs-success-rgb: 25, 135, 84;
  --bs-info-rgb: 13, 202, 240;
  --bs-warning-rgb: 255, 193, 7;
  --bs-danger-rgb: 220, 53, 69;
  --bs-light-rgb: 248, 249, 250;
  --bs-dark-rgb: 33, 37, 41;
  --bs-white-rgb: 255, 255, 255;
  --bs-black-rgb: 0, 0, 0;
  --bs-body-color-rgb: 33, 37, 41;
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #212529;
  --bs-body-bg: #fff;
  --bs-border-width: 1px;
  --bs-border-style: solid;
  --bs-border-color: #dee2e6;
  --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
  --bs-border-radius: 0.375rem;
  --bs-border-radius-sm: 0.25rem;
  --bs-border-radius-lg: 0.5rem;
  --bs-border-radius-xl: 1rem;
  --bs-border-radius-2xl: 2rem;
  --bs-border-radius-pill: 50rem;
  --bs-link-color: #0d6efd;
  --bs-link-hover-color: #0a58ca;
  --bs-code-color: #d63384;
  --bs-highlight-bg: #fff3cd;
  
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

/* 🌈 Font & Base Styling */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

h1 {
    color:#ffffff;
    text-shadow: 2px 2px 8px rgba(0, 43, 91, 4);
}

h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: rgb(255, 255, 255);
}

p {
    color: rgb(255, 255, 255);
    line-height: 1.7;
}

/* ============================================
   🧭 Navbar
   ============================================ */
.navbar {
    background: linear-gradient(90deg, #002B5B, #00C8A2);
    width: 100%;
    max-width: 100%;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 1px;
    
}

.navbar-nav .nav-link {
    align-items: center;
    color: #fff !important;
    font-weight: 500;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #ffdd57 !important;
}
/* ============================================
   🏔️ Hero Section
   ============================================ */
   .hero {
     position: relative;
     background-attachment: fixed;
     text-align: center;
    }
    
    .hero .overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 43, 91, 0.55);
    }
    
    .hero h1 {
      font-size: 3rem;
      text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    }
    
    .hero p {
      font-size: 1.2rem;
      color: #eee;
  }
  
  .hero .btn-success {
    background: linear-gradient(45deg, #002B5B, #00C8A2);
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 200, 162, 0.3);
    transition: transform 0.3s ease;
  }
  
  .hero .btn-success:hover {
    transform: translateY(-3px);
    background: linear-gradient(45deg, #003e85, #00e2b9);
  }
     
  
  /* ============================================
  ABOUT SECTION
   ============================================ */
.about-section {
  background-color: #f9fbff;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111;
}

.section-title span {
  color: #003e85;
  background: linear-gradient(45deg, #003e85, #00e2b9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-text {
  font-size: 16px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 15px;
}

.btn-book-taxi {
  display: inline-block;
  background: linear-gradient(45deg, #007bff, #00c6ff);
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  padding: 12px 32px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
  transition: all 0.3s ease-in-out;
}

.btn-book-taxi:hover {
  background: linear-gradient(45deg, #0056b3, #008cff);
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.5);
  transform: translateY(-3px);
}

/* ============================================
   🚗taxi service section
   ============================================ */
.card {
    border-radius: 15px;
  
}
.btn {
 background: linear-gradient(45deg, #003e85, #00e2b9);
}

.btn:hover {
      background: linear-gradient(45deg,  #004fa9, #00f1c5);
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.5);
  transform: translateY(-3px) ease ;
}


/*  */


/* Title di atas gambar */
.card-image .card-title {
  position: absolute;
  bottom: 15px;
  left: 20px;
  color: #fff;
  font-weight: 600;
  font-size: 1.2rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Body */
.card-body {
  padding: 20px 25px 30px;
}

.btn-outline-dark {
  border: 1px solid #333;
  color: #333;
  font-size: 0.9rem;
}
.btn-outline-dark:hover {
  background: #333;
  color: #fff;
}

/* Responsif */
@media (max-width: 768px) {
  .card-image img {
    height: 180px;
  }
}



/* ============================================
   🚗taxi service section
   ============================================ */
   .taxi-service {
  padding: 60px 0;
  background: #fff;
}

.section-title {
  font-weight: 700;
  font-size: 32px;
  color: #111;
  margin-bottom: 5px;
}

.section-subtitle {
  font-weight: 500;
  font-size: 16px;
  color: #444;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  text-align: center;
}

.custom-table thead {
  border-bottom: 2px solid #ddd;
}

.custom-table th {
  font-weight: 700;
  text-transform: uppercase;
  color: #111;
  padding: 15px;
}

.custom-table td {
  padding: 15px;
  border-bottom: 1px solid #eee;
  color: #222;
}

.custom-table tr:hover {
  background-color: #c1c1c1;
}

.custom-table td:nth-child(1) {
  width: 60px;
  font-weight: 600;
  color: #444;
}

.custom-table td:nth-child(3),
.custom-table td:nth-child(4) {
  text-align: center;
  font-weight: 500;
}
.tabel-harga  {
    background: linear-gradient(90deg, #002B5B, #00C8A2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    padding: 30px;
}

/* ============================================
   🚗 Services Section
   ============================================ */
section {
    padding: 80px 0;
}

.card {
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
}

.card-title {
    color: #002B5B;
    font-weight: 600;
}

.card-text {
    color: #666;
}

/* Divider Elegan */
.divider {
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #002B5B, #00C8A2);
  border-radius: 2px;
  margin: 30px 0;
}

/* Button Book Taxi */

.btn-book-taxi {
  display: inline-block;
  background: linear-gradient(45deg, #002B5B, #00C8A2);
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  padding: 12px 32px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
  transition: all 0.3s ease-in-out;
}

.btn-book-taxi:hover {
  background: linear-gradient(45deg,#00408a, #00e6bb);
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.5);
  transform: translateY(-3px);
}

.btn-book-taxi:active {
  transform: scale(0.97);
}

/* ============================================
   💬 Testimonials (nanti jika ditambahkan)
   ============================================ */
.testimonial {
    background-color: #f8f9fa;
    border-left: 4px solid #00C8A2;
    padding: 20px;
    border-radius: 10px;
}

/* ============================================
   📞  layout admin
   ============================================ */
   

/* ============================================
   🌍 Footer Styling
   ============================================ */
   .footer {
       background: linear-gradient(90deg, #002B5B, #00C8A2);
    }
    
    .footer h5, .footer h6 {
        color: #fff;
    }
    
    .footer p, .footer a {
        color: #e6e6e6;
        font-size: 0.95rem;
        text-decoration: none;
    }
    
.footer a.footer-link:hover {
    color: #ffdd57;
    padding-left: 5px;
    transition: all 0.3s ease;
}

.footer .bi {
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer .bi:hover {
    color: #ffdd57;
    transform: scale(1.1);
}


/* ============================================
   carousel
   ============================================ */
   .carousel {
     height: 500px;
     object-fit: cover;
     position: relative;
    }
    .carousel-inner img {
      height: 500px;
      object-fit: cover;
      object-position: center;
      
      
    }
    
    .carousel-caption {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      padding: 60px 20px 40px; /* posisi teks naik-turun */
      background: linear-gradient(to top, rgba(0, 77, 119, 0.7), transparent);
      text-align: center;
    }
    
.carousel-caption h2,
.carousel-caption p {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  opacity: 80%;
}



/* car rental */
  .car-rental-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
  }
  .pretitle {
    font-size: 12px;
    font-weight: 600;
    color: #88b525;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
  }
  h1.title {
    font-size: 36px;
    font-weight: 600;
    margin: 0 0 16px 0;
  }
  .cards {
    display: flex;
    gap: 24px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    width: 360px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.05);
    display: flex;
    flex-direction: column;
  }
  .card img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    height: 240px;
  }
  .tag {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 0 0 8px 0;
    top: 16px;
    left: 16px;
  }
  .image-wrapper {
    position: relative;
    size: 0cap;
  }
  .card-content {
    padding: 20px 24px 24px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  .car-title {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
  }
  .prices {
    font-size: 14px;
    color: #495057;
    margin-bottom: 16px;
  }
  .price-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
  }
  .icon-clock {
    width: 14px;
    height: 14px;
    stroke: #495057;
  }
  .divider {
    border-bottom: 1px solid #d6d8db;
    margin-bottom: 16px;
  }
  .desc {
    font-size: 14px;
    color: #777f8b;
    line-height: 1.4;
    flex-grow: 1;
  }
/* ===== General Section Spacing ===== */

/* ====== DESTINASI GLOBAL STYLE ====== */
.btn-view-more {
    padding: 10px 20px;
    border: 1px solid #ffffff;      /* stroke tipis */
    background: transparent;      /* bg transparan */
    border-radius: 25px;          /* rounded */
    color: #3c3c3c;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-view-more:hover {
    background: rgba(255, 255, 255, 0.384); /* sedikit highlight saat hover */
}

.destinasi {
    position: relative;
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 50px;
}

/* Background media (foto/video) */
.destinasi .bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Overlay dengan arah kiri/kanan */
.destinasi .overlay {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.overlay.left {
    background: linear-gradient(to right, rgba(0,0,0,0.8), transparent);
}

.overlay.right {
    background: linear-gradient(to left, rgba(0,0,0,0.8), transparent);
}

/* TEXT BOX */
.text-box {
    position: relative;
    z-index: 2;
    max-width: 45%;
    padding: 40px;
    color: #fff;
}


.text-box.left {
    text-align: left;
}

.text-box.right {
    margin-left: auto;
    text-align: right;
}

/* RATING */
.rating {
    margin-top: 10px;
    font-size: 24px;
    color: #f90000;
}

/* Dinamis bintang emas */
.rating span {
    color: gold;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .destinasi {
        height: 330px;
    }
    .text-box {
        max-width: 90%;
        padding: 20px;
    }
}
.destinasi-rating {
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* container bintang */
.destinasi-rating .stars {
  position: relative;
  font-size: 1.5rem;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.2); /* bintang kosong */
}

/* bintang kosong */
.destinasi-rating .stars::before {
  content: "★★★★★";
}

/* bintang terisi */
.destinasi-rating .stars::after {
  content: "★★★★★";
  position: absolute;
  left: 0;
  top: 0;
  width: calc(var(--fill) * 100%);  /* <--- INI YANG BISA DIISI DINAMIS */
  overflow: hidden;
  color: gold;  /* warna emas */
}
/* Rating otomatis mengikuti arah text */
.text-box.left .rating {
    text-align: left;
}

.text-box.right .rating {
    margin-left: auto;
    text-align: right;
}
/* ===== Responsive Destinasi Section ===== */
@media (max-width: 768px) {

    /* Atur tinggi section supaya tidak terlalu besar */
    .destinasi-section {
        height: auto; /* otomatis mengikuti konten */
        padding: 40px 0;
    }

    /* Text box mengecil & lebih rapi */
    .destinasi-section .text-box {
        width: 100%;
        padding: 20px;
        margin: 0 auto;
        text-align: center !important; /* semua text center di mobile */
    }

    /* Judul lebih kecil */
    .destinasi-section .text-box h2 {
        font-size: 1.6rem;
        line-height: 1.2;
    }

    /* Deskripsi kecil & ringan */
    .destinasi-section .text-box p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    /* Rating menyesuaikan */
    .destinasi-section .rating {
        font-size: 1rem;
        margin-top: 5px;
        text-align: center !important;
        direction: ltr !important; /* tetap kiri → kanan di mobile */
    }

    /* Overlay tetap lembut */
    .destinasi-section .overlay {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2));
    }

    /* Background foto/video memenuhi layar dengan rapi */
    .destinasi-section {
        background-position: center center !important;
        background-size: cover !important;
    }
}








/* ===== Gallery Section ===== */
#gallery {
  background-color: #f8f9fa;
}

.gallery-item  {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.gallery-item :hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* ===== Divider Line ===== */
.divider {
  height: 3px;
  width: 100%;
  background: linear-gradient(to right, #0d6efd, #198754);
  opacity: 0.3;
}

/* ===== Responsive Fix ===== */
@media (max-width: 576px) {
  #car-rental {
    margin-bottom: 50px;
  }

  .gallery-item {
    margin-bottom: 15px;
  }
}
