/* Top Bar */
   /* === Top Bar === */
    .top-bar {
      background: #f8f9fa;
      font-size: 0.9rem;
      color: #555;
      border-bottom: 1px solid #e5e5e5;
    }
    .top-bar a {
      color: #555;
      text-decoration: none;
      transition: color 0.3s;
    }
    .top-bar a:hover {
      color: #dc3545;
    }

    /* === Navbar === */
    .navbar {
      background: #212529; /* Dark background */
      transition: all 0.3s ease-in-out;
    }
    .navbar-brand {
      font-size: 1.4rem;
      letter-spacing: 1px;
    }
    .navbar-nav .nav-link {
      color: #ddd !important;
      font-weight: 500;
      padding: 0.7rem 1rem;
      transition: color 0.3s ease;
    }
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
      color: #fff !important;
      border-bottom: 2px solid #dc3545;
    }

    /* === Book Now Button === */
    .btn-book {
      background: #dc3545;
      color: #fff;
      padding: 0.6rem 1.2rem;
      font-weight: 600;
      border-radius: 50px;
      transition: background 0.3s ease-in-out;
    }
    .btn-book:hover {
      background: #bb2d3b;
      color: #fff;
    }

    /* === Shadow on Scroll === */
    .navbar.scrolled {
      box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    }
/* Hero Section */
.hero {
  background: url('https://www.agencontainer.co.id/jasa-web/hotel-villa/assets/images/banner1.jpg') no-repeat center center/cover;
  height: 90vh;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* Booking Form */
.booking-form {
  margin-top: -60px;
  position: relative;
  z-index: 10;
}



.explore-rooms {
    background-color: #fff;
    padding: 40px 0;
}

h1
{
    font-size: 24px;
}
a {
    text-decoration: none; /* Menghilangkan garis bawah */
    color: #000000;        /* Warna hitam */
}
.explore-rooms h2 {
   
    font-weight: 700;
    font-size: 2.5rem;
}

.explore-rooms p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.9rem;
}

/* ==== Modern Room Card ==== */
.room-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* --- Image Wrapper --- */
.room-card .room-img-wrap {
  position: relative;
  overflow: hidden;
}

.room-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Zoom in on hover */
.room-card:hover img {
  transform: scale(1.06);
}

/* Badge (label kecil di atas gambar) */
.room-card .room-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 123, 255, 0.85);
  color: #fff;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
}

/* --- Card Body --- */
.room-card .card-body {
  padding: 20px;
}

.room-card .room-title {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #222;
}

.room-card .room-desc {
  font-size: 0.95rem;
  color: #666;
  min-height: 48px; /* agar tinggi desc rata */
  margin-bottom: 15px;
}

.room-card .btn-primary {
  background: linear-gradient(135deg, #007bff, #0056d2);
  border: none;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.room-card .btn-primary:hover {
  background: linear-gradient(135deg, #0056d2, #0041a8);
  transform: translateY(-2px);
}

/* --- Responsive: di mobile gambar tidak full card --- */
@media (max-width: 576px) {
  .room-card img {
    width: auto !important;   /* override agar tidak full card */
    max-width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
  }

  .room-card .card-body {
    text-align: center;
  }

  .room-card .room-badge {
    left: 50%;
    transform: translateX(-50%);
  }
}



/* === Teks dibatasi 2 baris === */
.card-text,
.card-title,
.room-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;       /* Batasi hanya 2 baris */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}



.card-body {
    padding: 20px;

}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.card-text {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #666;
}

.rating {
    color: #ffca28;
    font-size: 1.2rem;
    margin-top: 10px;
}

.book-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-dark {
    background-color: #333;
    border: none;
    font-size: 0.9rem;
    padding: 10px 15px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: auto;
}

.btn-dark:hover {
    background-color: #222;
}

.amenities {
    display: flex;
    gap: 8px;
}

.amenities i {
    font-size: 1.1rem;
    color: #6c757d;
}


.offer-section {
    background-color: #444;
    padding: 40px 0;
}

.offer-box {
    border: 2px solid #fff;
    padding: 20px;
    border-radius: 10px;
}

.offer-box h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.offer-box p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.offer-box .btn {
    padding: 10px 20px;
    font-size: 1.1rem;
}

.features-section .col img {
    margin-bottom: 10px;
}

.features-section .col p {
    font-size: 1.1rem;
}

.services-section h3 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.services-section .col-md-4 {
    margin-bottom: 20px;
}

.services-section img {
    border-radius: 10px;
}

.services-section h4 {
    font-size: 1.2rem;
    margin-top: 10px;
    text-align: center;
}
 /* Custom CSS for transparent overlay */
        .card-overlay {
            position: relative; /* Create positioning context for absolute child */
        }

        .card-img {
            width: 100%;
            height: auto;
        }

        .card-text-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
            color: white; /* Text color */
            padding: 10px;
            text-align: center;
        }
         /* Custom CSS for Testimonial Section */
        .testimonial-section {
            padding: 60px 0;
            background-color: #f8f9fa; /* Light gray background */
        }

        .testimonial-card {
            background-color: #ffffff;
            border: none;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            padding: 20px;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .testimonial-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        }

        .testimonial-img {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 15px;
        }

        .testimonial-text {
            font-style: italic;
            color: #555;
            margin-bottom: 15px;
        }

        .testimonial-name {
            font-weight: bold;
            color: #333;
        }

        .testimonial-title {
            font-size: 0.9rem;
            color: #777;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: bold;
            margin-bottom: 40px;
            text-align: center;
            color: #333;
        }


        .testimonial-section {
            padding: 80px 0;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%); /* Subtle gradient background */
        }

        .section-title {
            font-size: 2.8rem;
            font-weight: 600;
            color: #1a1a1a;
            text-align: center;
            margin-bottom: 50px;
            position: relative;
        }

        .section-title::after {
            content: '';
            width: 60px;
            height: 4px;
            background-color: #007bff;
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }

        .testimonial-card {
            background-color: #ffffff;
            border: none;
            border-radius: 15px;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
            padding: 30px;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .testimonial-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
        }

        .testimonial-img {
            width: 90px;
            height: 90px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 20px;
            border: 3px solid #007bff; /* Brand color border */
        }

        .quote-icon {
            position: absolute;
            top: 20px;
            left: 20px;
            font-size: 2rem;
            color: rgba(0, 123, 255, 0.2); /* Subtle quote icon */
        }

        .testimonial-text {
            font-size: 1.1rem;
            font-weight: 300;
            color: #4a4a4a;
            line-height: 1.6;
            margin-bottom: 20px;
        }

        .testimonial-name {
            font-size: 1.25rem;
            font-weight: 600;
            color: #1a1a1a;
            margin-bottom: 5px;
        }

        .testimonial-title {
            font-size: 0.95rem;
            font-weight: 400;
            color: #6c757d;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .section-title {
                font-size: 2rem;
            }

            .testimonial-card {
                padding: 20px;
            }

            .testimonial-img {
                width: 70px;
                height: 70px;
            }
        }

         .features-section {
            padding: 80px 0;
            /* Gradient background */
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://www.agencontainer.co.id/jasa-web/hotel-villa/assets/images/banner1.jpg')  no-repeat center center/cover;
            
            position: relative;
             background-attachment: fixed;
        }

        .feature-item {
            position: relative;
            text-align: center;
            padding: 20px;
            transition: transform 0.3s ease;
        }

        .feature-item:hover {
            transform: translateY(-10px);
        }

        .feature-icon {
            width: 50px;
            height: 50px;
            margin-bottom: 15px;
            /* Semi-transparent effect for icons */
            opacity: 0.9;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
        }

        .feature-text {
            font-size: 1.1rem;
            font-weight: 400;
            color: #ffffff;
            /* Semi-transparent background for text */
            background-color: rgba(0, 0, 0, 0.4); /* 40% opacity black */
            padding: 8px 15px;
            border-radius: 8px;
            display: inline-block;
            margin: 0;
        }

        /* Ensure responsiveness */
        @media (max-width: 768px) {
            .features-section {
                padding: 50px 0;
            }

            .feature-text {
                font-size: 1rem;
            }

            .feature-icon {
                width: 40px;
                height: 40px;
            }
        }
        /* Breadcrumbs Section */
.breadcrumbs-section {
  background: url('https://www.agencontainer.co.id/jasa-web/hotel-villa/assets/images/breadcrumb.jpg') no-repeat center center/cover;
  position: relative;
  min-height: 150px; /* Shorter height than hero */
  display: flex;
  align-items: center;
}

.breadcrumbs-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
}

.breadcrumbs-section .container {
  position: relative;
  z-index: 2;
}

.breadcrumbs-section .breadcrumb {
  margin: 0;
  padding: 10px 0;
}

.breadcrumbs-section .breadcrumb-item a {
  color: #fff;
  text-decoration: none;
}

.breadcrumbs-section .breadcrumb-item.active {
  color: #fff;
}
/* Active Thumbnail Effect */
.thumbnail {
  cursor: pointer; /* Indicate clickable thumbnails */
  transition: all 0.3s ease; /* Smooth transition for hover and active states */
}

.thumbnail:hover {
  opacity: 0.8; /* Subtle hover effect */
}

.active-thumbnail {
  border: 2px solid #007bff; /* Blue border to match price-overlay color */
  opacity: 0.9; /* Slightly dim to indicate selection */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for emphasis */
}

/* Hilangkan background putih saat transisi */
.carousel-vertical .carousel-inner {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000; /* fallback background */
}

.carousel-vertical .carousel-item {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 1s ease-in-out;
  opacity: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.carousel-vertical .carousel-item.active {
  opacity: 1;
  z-index: 1;
  position: relative;
}

/* Efek transisi bawah -> atas */
.carousel-vertical .carousel-item-next.carousel-item-start,
.carousel-vertical .active.carousel-item-end {
  transform: translateY(-100%);
}

.carousel-vertical .carousel-item-prev.carousel-item-end,
.carousel-vertical .active.carousel-item-start {
  transform: translateY(100%);
}
/* === About Section === */
.about-section {
  background: #f9fafc;
  overflow: hidden;
  position: relative;
}
.overlay-element.overlay-2 {
  position: absolute;
  top: 350px;
  left: 70%;
  width: 350px;
  opacity: 0.15;
  transform: translateX(-50%);
  
  z-index: 0;  /* di bawah teks */
}
/* Overlay Decorative Element */
.overlay-element.overlay-1 {
  position: absolute;
  top: 120px;
  left: 70%;
  width: 350px;
  opacity: 0.15;
  transform: translateX(-50%);
  animation: float 6s ease-in-out infinite;
  z-index: 0;  /* di bawah teks */
}
.overlay-element.overlay-1 img {
  max-width: 100%;
}

/* Animasi floating untuk dekorasi */
@keyframes float {
  0%   { transform: translateX(-50%) translateY(0); }
  50%  { transform: translateX(-50%) translateY(-20px); }
  100% { transform: translateX(-50%) translateY(0); }
}

/* Image Box Styling */
.img-box img {
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.img-box img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* Title & Button */
.about-section h2 {
  position: relative;
  z-index: 1;
}
.about-section .btn {
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .overlay-element.overlay-1 {
    width: 80px;
    top: -20px;
    opacity: 0.1;
  }
}
