/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Child theme for GeneratePress
 Author:       Raouf
 Author URI:   https://raouf-portfolio-rosy.vercel.app/
 Template:     generatepress
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  generatepress-child
*/
body{
    font-family: "Poppins", Sans-serif;
}
body.no-scroll {
  overflow: hidden;
}
.offers-list {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}
.offer-row {
    display: flex;
    align-items: center;
    gap: 30px;

}
.offer-col.image-col {
    flex: 1;
}
.offer-col.content-col {
    flex: 1;
}
.book-now-btn {
    display: inline-block;
    background-image: linear-gradient(-90deg, #C69E4E 0%, #EDD48C 100%);
    color: #232323;
    padding: 10px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
}
.book-now-btn:hover {
    color: #fff;
    background:#232323;
    border:1px solid white;
}
.offer-title{
    font-size: 32px;
    font-weight: bold;
}
.offer-title,
.offer-description{
    color:#fff;
}
.offer-description p{
    margin-bottom:0;
}
.hotel_name{
    color:#e0c276;
    font-weight:bold;
    margin-bottom:0;
}
.image-col img{
    border-radius :15px;
}
.offer_details p strong{
    border-right: 2px solid #e0c276;
    padding-right: 10px;
    margin-right: 10px;
    color:#e0c276;
}
.offer_details p{
    border:1px solid #e0c276;
    padding:1rem;
    margin-bottom:10px !important;
    border-radius: 1rem;
    color:white;
}
.date_svg svg{
    border:1px solid #e0c276;
    padding:2px;
}
.date{
    display:flex;
    margin:1rem 0;
    gap:10px;
}
.date p{
    color:white;
    margin:0;
}
.offer_details{
    margin:1rem 0;
}


/*pop up*/
.popup-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    
     opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}
.popup-overlay.active{
display: flex;
  opacity: 1;
  visibility: visible;

}
.popup-content {
    background: #232323;
    padding: 4rem 5rem;
    border-radius: 10px;
    max-width: 900px;
    width: 100%;
    position: relative;
    color: white;
    transform: translateY(-30px);
  transition: transform 0.3s ease;
}
.popup-overlay.active .popup-content{
    transform: translateY(0);
}
.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}
.popup-content-text{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.popup-content-text h6{
    font-family: "Oleo Script", Sans-serif;
    font-weight: 300;
}
.popup-content-text h2{
    text-transform: uppercase;
    font-size: 28px;
    font-weight: 900;
    margin-bottom:10px;
}
.popup-content-text p{
    font-size: 14px;
    font-weight: 300;
    opacity: 0.6;
}
/* form*/
#wpforms-248{
    margin:0;
}
.wpforms-field-medium{
    background: transparent !important;
    color:white !important;
    border: 1px solid white !important;
    border-radius: 10px !important;
}
.wpforms-field-medium::placeholder{
    color:white !important;
    opacity:0.8 !important;
}
#wpforms-submit-248{
    display: block;
    width: 100%;
    background: #e0c276;
    color: #232323;
    border-radius: 10px !important;
}
#wpforms-submit-248:hover {
    color: #fff;
    background:#232323;
    border:1px solid white;
}

@media(max-width:768px){
    .offer-row{
        flex-direction:column;
    }
    .book-now-btn{
        width:100%;
    }
    .popup-content{
        padding:1rem;
    }
    .swiper.mySwiper2{
        max-width:400px !important;
    }
    .offer-title{
        font-size: 24px;
        margin-top:10px;
    }
    .offer-description p{
        font-size:14px;
    }
}

/*swipers*/

.swiper.mySwiper2 {
  width: 100%;
  max-width: 500px; /* adjust as needed */
  height: 400px;    /* give it a fixed height for testing */
}

.mySwiper2 .swiper-slide{
    border-radius:15px;
}
.swiper-pagination-bullet-active {
   
    background: #C69E4E;
}
