.carousel-control-prev,
.carousel-control-next {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
}
.carousel-inner img {
  object-fit: cover;
  height: 500px;
}
#home {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/banner.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  position: relative;
}
#home::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

#home .container {
  position: relative;
  z-index: 1;
}

.navbar .btn-success {
  background-color: #25d366;
  border-color: #25d366;
  transition: background-color 0.3s ease;
}

.navbar .btn-success:hover {
  background-color: #1ebf56;
}
h2.text-success {
  color: #28a745 !important;
}
.carousel-item img {
  object-fit: cover;
  height: 300px;
}

body {
  padding-top: 100px; 
}

.alert-info {
    background-color: #d4f4d4 !important; /* light green */
    border-color: #9ed69e !important;     /* soft green border */
    color: #0f5132 !important;            /* dark green text */
}
/* Override Bootstrap primary background globally */
.bg-primary {
    background-color: #0f5132 !important; /* dark green */
    border-color: #0f5132 !important;
}

/* Ensure text is white on dark green */
.bg-primary,
.bg-primary .text-white,
.card-header.bg-primary {
    color: #ffffff !important;
}
/* Make all card borders dark green */
.card {
    border: 1px solid #0f5132 !important; /* dark green */
}
/* ======================================
   Unified Button Style - Green Outline
   Applies to all primary, success, and outline buttons
   ====================================== */
.btn,
.btn-primary,
.btn-success,
.btn-outline-primary,
.btn-outline-success {
  background-color: transparent !important;  /* Transparent background */
  color: #28a745 !important;                 /* Green text */
  border: 2px solid #28a745 !important;      /* Green border */
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn:hover,
.btn-primary:hover,
.btn-success:hover,
.btn-outline-primary:hover,
.btn-outline-success:hover {
  background-color: #28a745 !important;      /* Green fill on hover */
  color: #fff !important;                    /* White text */
  border-color: #28a745 !important;
}

#home .btn.btn-primary {
  color: #ffffff !important;        /* White text */
  border-color: #ffffff !important; /* White border */
}

#home .btn.btn-primary:hover {
  background-color: #28a745 !important; /* Green fill on hover */
  border-color: #28a745 !important;
  color: #fff !important;
}

.text-primary {
  color: #28a745 !important;   /* Green text */
  background-color: transparent !important; /* Transparent background */
}
/* ======================================
   Price Chip - Green Variant
   ====================================== */
.price-chip {
  background-color: #d4edda !important;  /* Light green background (Bootstrap success-light tone) */
  color: #155724 !important;             /* Dark green text */
  border: 1px solid #c3e6cb !important;  /* Subtle green border for depth */
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.9rem;
  display: inline-block;
}
/* Styling the calandar */
.calendar {
  margin: 20px auto;
}
.calendar table {
  width: 100%;
  border-collapse: collapse;
}
.calendar th, .calendar td {
  padding: 15px;
  border: 1px solid #ddd;
}

/* ======================================
   Calendar Month Title Style
   ====================================== */
#availability-calendar > .mb-2 > span.mx-3.fw-bold.fs-5 {
  color: #155724 !important;   /* dark green */
  background-color: transparent !important;
}

.bg-success {
  background-color: #28a745 !important; /* Green */
  color: #fff;
}
.bg-danger {
  background-color: #dc3545 !important; /* Red */
  color: #fff;
  cursor: not-allowed;
}
.hover-effect:hover {
  background-color: #ffc107 !important; /* Yellow */
  transition: background-color 0.3s ease;
}
.btn-success {
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
}

/* ======================================
   WhatsApp Icon Styling
   ====================================== */
.whatsapp-icon {
  width: 28px;
  height: 28px;
  filter: brightness(0) saturate(100%) invert(64%) sepia(63%) saturate(487%) hue-rotate(84deg) brightness(95%) contrast(91%);
}

.navbar .whatsapp-icon {
  filter: brightness(0) invert(1); /* makes it white in dark navbars */
}