/* =====================================================
   HERO CAROUSEL
===================================================== */

#heroBanner {
  position: relative;
  width: 100%;
  height: 130vh;
  overflow: hidden;
}

/* =====================================================
   SLIDES
===================================================== */

.hero-slide {
  position: relative;                 
  width: 100%;
  height: 245vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* =====================================================
   DARK OVERLAY
===================================================== */

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* =====================================================
   HERO CONTENT
===================================================== */

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;                         /* Above overlay */
  display: flex;
  align-items: flex-end;
}

/* =====================================================
   LEFT BOTTOM CONTENT
===================================================== */

.hero-left-content {
  padding: 20px;
  padding-bottom: 50px;
  max-width: 650px;
}

/* =====================================================
   TEXT STYLING
===================================================== */

.hero-left-content h5 {
  font-size: 2.2rem;
  line-height: 1.3;
}

.hero-left-content p {
  font-size: 1rem;
  line-height: 1.6;
}

/* =====================================================
   SEARCH BOX FIX
===================================================== */

.hero-left-content .p-4 {
  padding: 1rem !important;
}

/* =====================================================
   MOBILE VIEW FIX
===================================================== */

@media (max-width: 1220px) {

  #heroBanner,
  .hero-slide {
    height: 90vh;       
  }

  .hero-content {
    align-items: flex-end;
  }

  .hero-left-content {
    max-width: 100%;
    padding: 15px;
    padding-bottom: 30px;
  }

  .hero-left-content h5 {
    font-size: 1.6rem;
  }

  .hero-left-content p {
    font-size: 0.95rem;
  }

  .hero-slide {
    background-position: center top;
  }
}

/* =====================================================
   EXTRA SMALL DEVICES
===================================================== */

@media (max-width: 480px) {

  .hero-left-content h5 {
    font-size: 1.4rem;
  }

  .hero-left-content p {
    font-size: 0.9rem;
  }
}



/* ================= DATE DROPDOWN (FINAL) ================= */
/* YELLOW DROPDOWN STYLING */
  .date-dropdown {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #FFF9C4 0%, #FFEB3B 100%);
    border-radius: 12px;
    padding: 20px;
    margin-top: 80px;
    display: none;
    z-index: 1000;
    animation: slideDown 0.3s ease;
    border: 2px solid #FFD600;
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.3);
  }

  .date-dropdown.active {
    display: block;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Dropdown Arrow */
  .date-dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 30px;
    width: 20px;
    height: 20px;
    background: #FFEB3B;
    transform: rotate(45deg);
    border-left: 2px solid #FFD600;
    border-top: 2px solid #FFD600;
  }

  /* Input Fields Inside Dropdown */
  .date-dropdown .form-control {
    background: white;
    border: 2px solid #FFD600;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
  }

  .date-dropdown .form-control:focus {
    border-color: #FFC107;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
    background: #FFFDE7;
  }

  /* Labels Inside Dropdown */
  .date-dropdown .small.fw-bold {
    color: #FF8F00;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: block;
  }

  /* Done Button Inside Dropdown */
  .date-dropdown .btn-primary {
    background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%);
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
    margin-top: 15px;
  }

  .date-dropdown .btn-primary:hover {
    background: linear-gradient(135deg, #FFB300 0%, #F57C00 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
  }

  .date-dropdown .btn-primary:active {
    transform: translateY(0);
  }

  /* Date Input Display */
  .date-input-yellow {
    background: #FFF9C4;
    border: 2px solid #FFD600;
    color: #333;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .date-input-yellow:hover {
    background: #FFF59D;
    border-color: #FFC107;
  }

  /* Night Count Badge */
  .night-count {
    display: inline-block;
    background: #FFC107;
    color: #333;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
  }

  /* Hotel Label */
  .hotel-label {
    color: #FF8F00;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
  }

  .hotel-label i {
    color: #FF9800;
  }

  /* Date Display Container */
  .date-display {
    position: relative;
  }

  .date-display .fa-chevron-down {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #FF9800;
    pointer-events: none;
  }

  /* Add some spacing to the main container */
  .position-relative {
    position: relative;
  }

  /* Hover effect for dropdown container */
  .position-relative:hover .date-input-yellow {
    border-color: #FFC107;
    background: #FFF59D;
  }

  /* Responsive adjustments */
  @media (max-width: 576px) {
    .date-dropdown {
      padding: 15px;
      top:-347px;
    }
    
    .date-dropdown .col-6 {
      width: 100%;
      margin-bottom: 10px;
    }
    
    .date-dropdown .row.g-3 {
      flex-direction: column;
    }
   
  }


/*=========== Header =========== */
#mainHeader {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  padding: 12px 0;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.15);
}


#mainHeader .nav-link,
#mainHeader .navbar-brand {
  color: #ffffff !important;
  font-weight: bold;
  transition: color 0.3s;
}

.navbar-toggler-icon {
  filter: invert(1) brightness(0) !important;
}


/*=========== Header =========== */



.child-age-select {
  margin-top: 5px;
}

/* Fonts */
h1, h2, h3, .title {
  font-family: 'Playfair Display', serif;
}

body, p, a, span {
  font-family: 'Poppins', sans-serif;
}



/* =====================================================
   ROOM CARD (YELLOW THEME)
===================================================== */

.room-card_home {
  background: linear-gradient(135deg, #ffcc00, #ffb703);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* =====================================================
   IMAGE SWIPER (ONLY FOR ROOM IMAGES)
===================================================== */

.roomImageSwiper {
  width: 100%;
  height: 200px;
  position: relative;
}

.roomImageSwiper .swiper-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* =====================================================
   SWIPER PAGINATION DOTS
===================================================== */

.roomImageSwiper .swiper-pagination {
  bottom: 8px !important;
}

.roomImageSwiper .swiper-pagination-bullet {
  background: #ffffff;
  opacity: 0.6;
}

.roomImageSwiper .swiper-pagination-bullet-active {
  background: #ffffff;
  opacity: 1;
}

/* =====================================================
   SWIPER NAVIGATION BUTTONS (YELLOW CIRCLE)
===================================================== */

.roomImageSwiper .swiper-button-next,
.roomImageSwiper .swiper-button-prev {
  width: 36px;
  height: 36px;
  background: #ffcc00;
  border-radius: 50%;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

.roomImageSwiper .swiper-button-next::after,
.roomImageSwiper .swiper-button-prev::after {
  font-size: 14px;
  font-weight: bold;
}

/* Hover effect */
.roomImageSwiper .swiper-button-next:hover,
.roomImageSwiper .swiper-button-prev:hover {
  background: #ffb703;
  transform: scale(1.1);
}

/* Position buttons nicely */
.roomImageSwiper .swiper-button-prev {
  left: 8px;
}

.roomImageSwiper .swiper-button-next {
  right: 8px;
}

/* =====================================================
   CARD BODY
===================================================== */

.room-card-body {
  padding: 15px;
  background: linear-gradient(180deg, #fff3b0, #ffcc00);
}

.room-card-body h6 {
  font-weight: 700;
  margin-bottom: 8px;
}

.room-card-body p {
  font-size: 0.9rem;
}

/* =====================================================
   PRICE & BUTTON
===================================================== */

.room-price {
  font-weight: 700;
  font-size: 1.1rem;
  color: #000;
}

.room-card_home .btn-outline-dark {
  border-color: #000;
  color: #000;
  font-weight: 600;
}

.room-card_home .btn-outline-dark:hover {
  background: #000;
  color: #ffcc00;
}

/* SWIPER ARROW BUTTONS */
.roomImageSwiper .swiper-button-next,
.roomImageSwiper .swiper-button-prev {
  width: 36px;
  height: 36px;
  background: #ffcc00;
  border-radius: 50%;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

/* Arrow icon size */
.roomImageSwiper .swiper-button-next::after,
.roomImageSwiper .swiper-button-prev::after {
  font-size: 14px;
  font-weight: bold;
}

/* Hover effect */
.roomImageSwiper .swiper-button-next:hover,
.roomImageSwiper .swiper-button-prev:hover {
  background: #ffb703;
  transform: scale(1.1);
}

/* Position */
.roomImageSwiper .swiper-button-prev {
  left: 8px;
}

.roomImageSwiper .swiper-button-next {
  right: 8px;
}




/*================== COMMON AUTH PAGE STYLES============== */


/* CONTAINER */
.auth-container {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    overflow: hidden;
    transition: transform .3s ease;
}

.auth-container:hover {
    transform: translateY(-5px);
}

/* HEADER */
.auth-header {
    background: linear-gradient(180deg, #ffe23b, #ffcc00);
    color: #fff;
    padding: 25px;
    text-align: center;
}

.auth-header i {
    font-size: 3rem;
    margin-bottom: 12px;
    background: rgba(255,255,255,0.2);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
}

.auth-header h3 {
    font-weight: 600;
}

/* FORM */
.auth-form {
    padding: 30px;
}

.form-control {
    border-radius: 10px;
    padding: 12px 15px;
    padding-left: 45px;
    border: 2px solid #e0e0e0;
}

.form-control:focus {
    border-color: #ffd502;
    box-shadow: 0 0 0 .2rem rgba(102,126,234,.25);
}



/* PASSWORD EYE */
.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #667eea;
    z-index: 5;
}

/* BUTTON */
.btn-auth {
    background: linear-gradient(180deg, #ffe23b, #ffcc00);
    border: none;
    border-radius: 10px;
    padding: 12px;
    color: #fff;
    font-weight: 600;
}

.btn-auth:hover {
    box-shadow: 0 5px 15px rgba(102,126,234,.4);
}

/* LINKS */
.auth-link {
    color: #667eea;
    font-weight: 500;
    text-decoration: none;
}

.auth-link:hover {
    color: #290a48;
}

/* RESPONSIVE */
@media(max-width:768px){
    .auth-form { padding: 20px; }
}

/* ================footer===================== */

.footer-link {
  color: #212529;
  text-decoration: none;
}

.footer-link:hover {
  text-decoration: underline;
}

.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #212529;
  transition: 0.3s;
}

.social-btn:hover {
  background: #212529;
  color: #ffc107;
  transform: translateY(-2px);
}



/* ============checkout================== */

/* =====================================================
   COLOR SYSTEM (YELLOW THEME)
===================================================== */
:root {
  --primary-color: #fbbf24;     /* Amber */
  --primary-dark: #f59e0b;
  --secondary-color: #22c55e;
  --danger-color: #ef4444;
  --warning-color: #facc15;
  --dark-color: #1f2937;
  --light-color: #fffbea;
  --border-color: #fde68a;
}

/* =====================================================
   BASE
===================================================== */
* {
  font-family: 'Inter', sans-serif;
}

body {
  background: #fffdf4;
  color: var(--dark-color);
}

/* =====================================================
   HEADER
===================================================== */
.booking-header {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1f2937;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 12px 35px rgba(251,191,36,0.45);
}

/* =====================================================
   SECTION CARD
===================================================== */
.section-card {
  background: linear-gradient(180deg, #fffdf4, #fff3c4);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 25px rgba(251,191,36,0.18);
}

.section-title {
  color: #b45309;
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

/* =====================================================
   PRICE BOX
===================================================== */
.price-box {
  background: linear-gradient(135deg, #fff7cc, #fde68a);
  border-left: 5px solid var(--primary-dark);
  padding: 1.5rem;
  border-radius: 14px;
}

.total-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: #b45309;
}

/* =====================================================
   FORM CONTROLS
===================================================== */
.form-control,
.form-select {
  border-radius: 10px;
  border: 2px solid var(--border-color);
  padding: 0.75rem 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(251,191,36,0.25);
}

/* =====================================================
   BUTTONS
===================================================== */
.btn-primary {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border: none;
  border-radius: 10px;
  color: #1f2937;
  font-weight: 700;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 6px 20px rgba(245,158,11,0.45);
}

.btn-success {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 14px;
  font-weight: 700;
  padding: 1rem;
}

.btn-success:hover {
  box-shadow: 0 8px 25px rgba(34,197,94,0.4);
}

/* =====================================================
   COUNTER BUTTONS
===================================================== */
.counter-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 2px solid var(--primary-color);
  background: #fffbea;
  color: #b45309;
  font-weight: 700;
}

.counter-btn:hover {
  background: var(--primary-color);
  color: #1f2937;
}

/* =====================================================
   GUEST CARD
===================================================== */
.guest-card {
  background: linear-gradient(180deg, #fffdf4, #fff7cc);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 1rem;
}

/* =====================================================
   INFO BOX
===================================================== */
.info-box {
  background: linear-gradient(135deg, #fff7cc, #fde68a);
  border-left: 5px solid var(--primary-dark);
  padding: 1rem;
  border-radius: 12px;
}

/* =====================================================
   ROOM FEATURES
===================================================== */
.room-feature i {
  color: var(--primary-dark);
}

/* =====================================================
   STICKY SUMMARY
===================================================== */
.sticky-summary .section-card {
  background: linear-gradient(180deg, #fffdf4, #fff3c4);
}

/* =====================================================
   BADGES
===================================================== */
.badge.bg-primary {
  background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
  color: #1f2937;
}

.badge.bg-warning {
  background: #fde047 !important;
  color: #1f2937;
}

.badge.bg-danger {
  background: #ef4444 !important;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 768px) {
  .booking-header {
    padding: 1.5rem;
  }

  .section-card {
    padding: 1rem;
  }

  .sticky-summary {
    position: static;
    margin-top: 2rem;
  }
}
