/*
Theme Name: Mirth Resorts Theme
Theme URI: https://mirthresorts.com
Author: Chicaim
Author URI: https://chicaim.com
Description: A premium resort and residence WordPress theme developed by Chicaim for Mirth Resorts.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mirth_resorts_theme
Tags: resort, hotel, luxury, travel, responsive, modern
*/

<style>
/* Slider container */
.slider {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
}

.slide {
  flex: 0 0 300px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 0.3s ease;
}

.slide img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.slide:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 18px;
  opacity: 0;
  transition: opacity 0.35s;
}

.slide:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  margin: 0 0 8px;
}

.overlay p {
  margin: 0;
  font-family: 'Lora', serif;
  font-size: 14px;
  line-height: 1.5;
}

/* Hide scrollbar */
.slider::-webkit-scrollbar {
  display: none;
}
.slider {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Optional: button hover effect */
.ComBtn.NewBtn:hover {
  opacity: 0.9;
  transform: scale(1.05);
  transition: all 0.3s ease;
}
.ComBtn.NewBtn:hover {
  background: linear-gradient(90deg, #528AAE, #7A6240);
  transform: scale(1.05);
}

</style>