/* styles for Punta Cana Hotels plugin */
.punta-cana-hotels-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
    gap: 40px;
    font-family: 'Arial', sans-serif;
}

.hotels-filters {
    flex: 0 0 280px;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.hotels-filters h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 700;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
}

.filter-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #34495e;
    font-weight: 600;
}

.filter-group {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.filter-group:last-child {
    border-bottom: none;
}

.filter-group h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #495057;
    font-weight: 600;
}

.filter-group label {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #6c757d;
    transition: color 0.3s;
}

.filter-group label:hover {
    color: #3498db;
}

.filter-group input[type="checkbox"] {
    margin-right: 12px;
    transform: scale(1.1);
}

.activities-search {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.activities-search:focus {
    outline: none;
    border-color: #3498db;
}

.hotels-listings {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.hotel-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: white;
}

.hotel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.hotel-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hotel-card:hover .hotel-image img {
    transform: scale(1.05);
}

.hotel-info {
    padding: 20px;
}

.hotel-name {
    font-size: 18px;
    margin-bottom: 12px;
    color: #2c3e50;
    font-weight: 700;
    line-height: 1.3;
}

.hotel-description {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.hotel-rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 8px;
}

.stars {
    color: #ffc107;
    font-size: 16px;
    letter-spacing: 2px;
}

.rating-text {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

.hotel-details {
    margin-bottom: 20px;
}

.duration, .location {
    display: block;
    font-size: 14px;
    color: #495057;
    margin-bottom: 5px;
}

.duration {
    font-weight: 600;
    color: #3498db;
}

.location {
    color: #6c757d;
}

.hotel-actions {
    text-align: center;
}

.book-now-btn {
    display: inline-block;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 15px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.book-now-btn:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

/* Estilos para el carrusel */
.hotels-carousel-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.carousel-title {
    text-align: center;
    color: #2c3e50;
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 700;
}

.hotels-carousel {
    margin: 0 -10px;
}

.carousel-hotel {
    margin: 0 10px;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.carousel-hotel:hover {
    transform: translateY(-5px);
}

.carousel-image {
    height: 180px;
    overflow: hidden;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-info {
    padding: 20px;
    text-align: center;
}

.carousel-info h4 {
    margin-bottom: 12px;
    font-size: 16px;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.3;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.carousel-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.carousel-rating .stars {
    font-size: 14px;
}

.carousel-rating span {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

.carousel-btn {
    width: auto;
    padding: 10px 20px;
    font-size: 14px;
}

/* Slick carousel overrides */
.slick-prev, .slick-next {
    z-index: 1;
    width: 40px;
    height: 40px;
    background: #3498db !important;
    border-radius: 50%;
}

.slick-prev:hover, .slick-next:hover {
    background: #2980b9 !important;
}

.slick-prev:before, .slick-next:before {
    color: white;
    font-size: 18px;
}

.slick-dots li button:before {
    font-size: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
    .punta-cana-hotels-container {
        flex-direction: column;
    }
    
    .hotels-filters {
        flex: none;
        width: 100%;
        position: static;
    }
    
    .hotels-listings {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .punta-cana-hotels-container {
        padding: 20px 15px;
        gap: 25px;
    }
    
    .hotels-listings {
        grid-template-columns: 1fr;
    }
    
    .hotels-carousel-container {
        margin: 30px auto;
    }
    
    .carousel-title {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .hotel-card {
        margin: 0 10px;
    }
    
    .carousel-title {
        font-size: 22px;
    }
}

/* Loading states */
.hotel-image {
    background: #f8f9fa;
    position: relative;
}

.hotel-image:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #f0f0f0 25%, transparent 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}

.hotel-image.loaded:before {
    display: none;
}
