/* Modern Attraction Styles */

.room-list-a {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.attraction-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.attraction-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

/* Image Section - 60% */
.attraction-image-wrapper {
    position: relative;
    overflow: hidden;
    flex: 0 0 auto; /* Allow aspect-ratio to define height */
    width: 100%;
    aspect-ratio: 16 / 11; /* Enforce consistent ratio regardless of source image */
    background-color: #eee; /* Placeholder background */
}

.attraction-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.attraction-card:hover .attraction-image-wrapper img {
    transform: scale(1.1);
}

/* Badge */
.attraction-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: var(--theme-primary-color);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Content Section - 40% */
.attraction-content {
    padding: 25px;
    flex: 1 1 auto; /* Fill remaining space */
    display: flex;
    flex-direction: column;
}

.attraction-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--theme-primary-color);
    line-height: 1.3;
    /* Truncate title to 2 lines to prevent uneven heights */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.6rem; /* Ensures consistent starting point for info */
}

.attraction-info {
    margin-bottom: 15px;
}

.info-item {
    display: flex;
    align-items: flex-start; /* Better for multi-line, though we use center for single line icons */
    gap: 12px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--theme-secondary-color);
    line-height: 1.2;
}

.info-item i {
    font-size: 1rem;
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1px; /* Visual micro-adjustment to center with text baseline */
}

.info-item span {
    flex: 1;
}

/* Description & Show More */
.attraction-description {
    position: relative;
    margin-bottom: 20px;
    min-height: 5.8rem; /* Reserves space for 3 lines + show more button */
}

.desc-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.attraction-description.expanded .desc-text {
    -webkit-line-clamp: unset;
}

.show-more-btn {
    background: none;
    border: none;
    padding: 0;
    color: var(--theme-accent-color);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.show-more-btn:hover {
    color: #000;
    text-decoration: underline;
}

/* View Details Button */
.btn-view-details {
    display: inline-block;
    width: 100%;
    padding: 12px 20px;
    background-color: var(--theme-primary-color);
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-view-details:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 991px) {
    .attraction-image-wrapper {
        flex: 0 0 50%;
    }
}

@media (max-width: 767px) {
    .attraction-image-wrapper {
        min-height: 200px;
    }
}
