@charset "UTF-8";

/* ==========================================
   PREMIUM RENTAL CARDS SECTION
   Luxury Travel Card Design
   ========================================== */

/* Section Container */
.rental-section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Premium Rental Card - Main Container */
.premium-rental-card {
    position: relative;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.premium-rental-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* Card Image Wrapper */
.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

/* Card Image */
.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.premium-rental-card:hover .card-image {
    transform: scale(1.05);
}

/* Gradient Overlay */
.card-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.6) 40%,
        rgba(0, 0, 0, 0.2) 70%,
        transparent 100%
    );
    pointer-events: none;
}

/* Content Overlay - Title & Description on Image */
.card-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 2;
}

/* Card Title */
.card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Card Description */
.card-description {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Footer */
.card-footer {
    padding: 1.25rem 1.5rem;
    background: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Book Button */
.card-book-btn {
    width: 100%;
    padding: 0.875rem 2rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background: #f57c00;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-book-btn:hover {
    background: #f5f5f5;
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.card-book-btn:active {
    transform: scale(0.98);
}

/* Read More Link for Blog Cards */
.card-read-more {
    font-family: 'Poppins', sans-serif;
        background-color: #f57c00;
    font-size: 0.9rem;
    font-weight: 500;
       color: rgb(255 255 255 / 70%);
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-read-more:hover {
    color: #ffffff;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Large Desktop */
@media (min-width: 1400px) {
    .premium-rental-card {
        max-width: 400px;
    }
    
    .card-image-wrapper {
        height: 340px;
    }
}

/* Desktop */
@media (max-width: 1199px) {
    .premium-rental-card {
        max-width: 340px;
    }
    
    .card-image-wrapper {
        height: 300px;
    }
}

/* Tablet Landscape */
@media (max-width: 991px) {
    .premium-rental-card {
        max-width: 320px;
    }
    
    .card-image-wrapper {
        height: 280px;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
}

/* Tablet Portrait */
@media (max-width: 767px) {
    .premium-rental-card {
        max-width: 100%;
    }
    
    .card-image-wrapper {
        height: 300px;
    }
    
    .card-title {
        font-size: 1.4rem;
    }
    
    .card-description {
        font-size: 0.95rem;
    }
}

/* Mobile */
@media (max-width: 479px) {
    .rental-section-container {
        padding: 0 1rem;
    }
    
    .premium-rental-card {
        border-radius: 20px;
    }
    
    .card-image-wrapper {
        height: 260px;
    }
    
    .card-content-overlay {
        padding: 1.25rem;
    }
    
    .card-title {
        font-size: 1.25rem;
    }
    
    .card-description {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }
    
    .card-footer {
        padding: 1rem 1.25rem;
    }
    
    .card-book-btn {
        padding: 10px 19px;
        font-size: 0.9rem;
        margin-top: 6px;
    }
}

/* ==========================================
   OWL CAROUSEL OVERRIDES
   ========================================== */

.rental-carousel .owl-stage-outer {
    padding: 1rem 0;
}

.rental-carousel .owl-item {
    padding: 0 0.5rem;
}

.rental-carousel .owl-nav {
    margin-top: 2rem;
}

.rental-carousel .owl-nav button.owl-prev,
.rental-carousel .owl-nav button.owl-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #1a1a1a;
    color: #ffffff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.rental-carousel .owl-nav button.owl-prev:hover,
.rental-carousel .owl-nav button.owl-next:hover {
    background: #333;
    transform: scale(1.1);
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.premium-rental-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Stagger animation for carousel items */
.rental-carousel .owl-item .premium-rental-card {
    opacity: 0;
    animation-delay: 0.1s;
}

.rental-carousel .owl-item.active .premium-rental-card {
    opacity: 1;
}
