/* Custom CSS for Villa Harmonia */

:root {
  --primary-color: #2c5aa0;
  --secondary-color: #f8f9fa;
  --accent-color: #ffc107;
  --text-dark: #333;
  --text-light: #666;
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Navigation */
.navbar {
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
}

.navbar-brand .logo {
  height: 40px;
  transition: transform 0.3s ease;
}

.navbar-brand:hover .logo {
  transform: scale(1.05);
}

.nav-link {
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100dvh;
  overflow: hidden;
}

.carousel-item {
  height: 100dvh;
  position: relative;
}

.carousel-item img {
  height: 100dvh;
  object-fit: cover;
  filter: brightness(0.7);
}

.carousel-caption {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}

.carousel-caption h1,
.carousel-caption h2 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}

.villa-stats {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 0rem 0;
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  /* backdrop-filter: blur(5px); */
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item i {
  margin-right: 0.5rem;
  color: var(--accent-color);
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::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;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background-color: #1e3d6f;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(44, 90, 160, 0.4);
}

/* Cards */
.card {
  border: none;
  border-radius: 15px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-img-top {
  transition: transform 0.3s ease;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

/* Feature Items */
.feature-item {
  text-align: center;
  padding: 1rem;
  transition: transform 0.3s ease;
}

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

/* Tables */
.table {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.table th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
  border: none;
}

.table td {
  vertical-align: middle;
  border-color: #e9ecef;
}

.badge {
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

/* Gallery */
.gallery-container {
  overflow: hidden;
  border-radius: 15px;
}

.gallery-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem;
  scroll-behavior: smooth;
}

.gallery-scroll::-webkit-scrollbar {
  height: 8px;
}

.gallery-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.gallery-item {
  flex: 0 0 auto;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
  position: relative;
}

.gallery-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(44, 90, 160, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item::after {
  content: "\f065";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::before,
.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control,
.form-select {
  border-radius: 10px;
  border: 2px solid #e9ecef;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
}

.contact-info {
  background: white;
  padding: 1rem 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  /* padding: 0.5rem 0; */
  border-bottom: 1px solid #e9ecef;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item i {
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 0px;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  display: none;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(44, 90, 160, 0.4);
}

.back-to-top.show {
  display: block;
  animation: fadeInUp 0.3s ease;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
  .villa-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-item {
    text-align: center;
  }

  .gallery-item img {
    width: 250px;
    height: 150px;
  }

  .contact-form,
  .contact-info {
    margin-bottom: 2rem;
  }

  .carousel-caption h1 {
    font-size: 2rem;
  }

  .display-5 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .carousel-caption h1 {
    font-size: 1.5rem;
  }

  .villa-stats {
    gap: 0.5rem;
  }

  .stat-item {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  .gallery-item img {
    width: 200px;
    height: 120px;
  }
}

/* Loading Animation */
.loading {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.loading.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Hover Effects */
.hover-effect {
  transition: all 0.3s ease;
}

.hover-effect:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1e3d6f;
}
/* ========== FullCalendar Minimalist Style ========== */

/* Hapus garis berlebih dan beri gaya clean */
.fc .fc-col-header-cell-cushion {
  color: #2c3e50; /* Ganti dengan warna yang kamu mau */
  font-weight: bold;
  text-decoration: none;
}
.fc .fc-daygrid-day-number {
  color: #34495e; /* Ganti warna */
  font-size: 14px; /* Opsional */
  text-decoration: none;
}
/* .fc-day-sun .fc-col-header-cell-cushion,
.fc-day-sun .fc-daygrid-day-number {
  color: red;
}

.fc-day-sat .fc-col-header-cell-cushion,
.fc-day-sat .fc-daygrid-day-number {
  color: blue;
} */

/* Header */
.fc-toolbar-title {
    font-size: 1.5rem;
    font-weight: 500;
}

.fc-button {
    background: none;
    border: none;
    color: #0d6efd;
    font-weight: 500;
    box-shadow: none;
}

.fc-button:hover {
    background-color: rgba(13, 110, 253, 0.1);
}

/* Grid */
.fc-daygrid-day-frame {
    padding: 4px;
    max-height: 20px;
}

/* Events */
.fc-event {
    background-color: #0d6efd;
    border: none;
    color: white;
    border-radius: 4px;
    font-size: 12px;
    padding: 2px 4px;
}

.fc-event:hover {
    background-color: #0b5ed7;
}

/* Weekend highlight soft */
.fc-day-sat, .fc-day-sun {
    background-color: #f8f9fa;
}
.fc .fc-button {
  font-size: 1.2rem;
  padding: 0.3rem 1rem;
  border-radius: 2rem;
  border: none;
  background-color: #0d6efd;
  color: white;
  margin: 0 2px;
}
.fc .fc-daygrid-body {
width: 100% !important;
}
.fc-scrollgrid-sync-table {
width: 100% !important;
}
.fc .fc-button:hover {
  background-color: #0b5ed7;
}

/* Perkecil tinggi cell kalender */
.fc-daygrid-day-frame {
  min-height: 60px !important;
  padding: 2px !important;
}

/* Perkecil tinggi row mingguan */
.fc .fc-daygrid-body-natural .fc-daygrid-day {
  height: 60px !important;
}

/* Perkecil tombol navigasi dan teks tanggal */
.fc-toolbar-title {
  font-size: 1.2rem;
}
.fc-button {
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
}
 #google_translate_element {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 9999;
        }

        .whatsapp-float {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: #25D366;
            color: white;
            border-radius: 50%;
            padding: 5px 15px;
            font-size: 24px;
            z-index: 1000;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
            text-align: center;
            text-decoration: none;
            transition: background-color 0.3s;
        }

        .whatsapp-float:hover {
            background-color: #1ebe5d;
        }