@charset "UTF-8";
/***!  /templates/jl_simpli_lite/css/mod_articles/hotels.css?ccc023  !***/

/**
 * Hotel Accommodation Module - Compact Layout Styles
 * For use with mod_articles/hotels.php layout
 * Joomla 6 - Articles Module (Dynamic Mode)
 * @version 1.2 - Compact version
 */

/* ==========================================================================
   Hotel Accommodation Wrapper
   ========================================================================== */

.hotel-accommodation-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.1rem 0.75rem; /* Reduced padding */
}

/* ==========================================================================
   Filter Section - Compact
   ========================================================================== */

.hotel-filters-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px; /* Smaller radius */
    padding: 1.25rem; /* Reduced padding */
    margin-bottom: 1.5rem; /* Reduced margin */
    color: white;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
}

.filters-header h2 {
    margin: 0 0 0.4rem 0;
    font-size: 1.5rem; /* Smaller */
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.filters-subtitle {
    margin: 0 0 0.75rem 0;
    opacity: 0.9;
    font-size: 0.9rem; /* Smaller */
    line-height: 1.3;
}

/* Hide filter controls and results count */
.filter-controls,
.results-count,
.search-filter {
    display: none !important;
}

/* ==========================================================================
   Popular Tags Section
   ========================================================================== */

.popular-tags-section {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-tags-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem; /* Reduced */
    font-size: 0.9rem; /* Smaller */
    color: white;
}

.popular-tags-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem; /* Reduced */
}

.tag-button {
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.4rem 0.8rem; /* Reduced */
    border-radius: 20px; /* Smaller radius */
    font-size: 0.8rem; /* Smaller */
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.tag-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.tag-button.active {
    background: white;
    color: #667eea;
    border-color: white;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.tag-button .tag-count {
    opacity: 0.8;
    font-size: 0.75em; /* Smaller */
}

.tag-button.active .tag-count {
    opacity: 1;
    font-weight: 600;
}

.tag-button:active {
    transform: translateY(0);
}

/* ==========================================================================
   Hotels Grid - Compact Cards
   ========================================================================== */

.hotels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
    gap: 1.25rem; /* Reduced gap */
    margin-bottom: 1.5rem; /* Reduced */
}

.hotel-card {
    background: white;
    border-radius: 10px; /* Smaller radius */
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hotel-card:hover {
    transform: translateY(-5px); /* Smaller hover lift */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.hotel-card.hidden {
    display: none;
}

.hotel-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hotel-card-link:hover {
    text-decoration: none;
    color: inherit;
}

/* ==========================================================================
   Hotel Image - SQUARE with Tag Overlay
   ========================================================================== */

.hotel-image {
    position: relative;
    height: 180px; /* SQUARE-ish height (will match aspect ratio) */
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures square crop */
    transition: transform 0.3s ease;
}

.hotel-card:hover .hotel-image img {
    transform: scale(1.08); /* Slightly less zoom */
}

/* Tag overlay positioned on image - MORE VISIBLE */
.hotel-tags {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    z-index: 10; /* Higher z-index to ensure visibility */
    pointer-events: none;
}

.hotel-tag {
    background: rgba(0, 0, 0, 0.75); /* Darker background for better contrast */
    color: white; /* White text for better readability */
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.65rem; /* Smaller font */
    font-weight: 500;
    line-height: 1;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: auto;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5); /* Text shadow for better readability */
}

.hotel-tag-more {
    background: rgba(102, 126, 234, 0.9); /* More opaque */
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1;
    pointer-events: auto;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

/* Remove rating badge */
.hotel-rating-badge {
    display: none;
}

/* ==========================================================================
   Hotel Content - Compact (No view details, smaller title)
   ========================================================================== */

.hotel-content {
    padding: 0.75rem; /* Reduced padding */
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hotel-title {
    margin: 0;
    font-size: 1rem; /* SMALLER TITLE */
    font-weight: 600; /* Slightly less bold */
    color: #1a202c;
    line-height: 1.3;
    flex-grow: 1;
}


/* ==========================================================================
   Hotel Footer - REMOVED (No view details link)
   ========================================================================== */

.hotel-footer,
.view-details {
    display: none !important;
}

/* ==========================================================================
   No Results Message
   ========================================================================== */

.no-results {
    text-align: center;
    padding: 2rem 1.5rem; /* Reduced padding */
    color: #718096;
    grid-column: 1 / -1;
}

.no-results svg {
    margin: 0 auto 0.75rem;
    opacity: 0.3;
    display: block;
    width: 48px; /* Smaller */
    height: 48px;
}

.no-results h3 {
    font-size: 1.25rem; /* Smaller */
    margin-bottom: 0.4rem;
    color: #4a5568;
}

.no-results p {
    color: #718096;
    font-size: 0.9rem; /* Smaller */
    line-height: 1.4;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 1200px) {
    .hotels-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .hotel-image {
        height: 170px;
    }
}

@media (max-width: 1024px) {
    .hotel-accommodation-wrapper {
        padding: 1.25rem 0.5rem;
    }
    
    .hotel-filters-container {
        padding: 1rem;
        margin-bottom: 1.25rem;
        border-radius: 10px;
    }
    
    .filters-header h2 {
        font-size: 1.3rem;
    }
    
    .filters-subtitle {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .hotels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
    }
    
    .hotel-accommodation-wrapper {
        padding: 1rem 0.5rem;
    }
    
    .hotel-filters-container {
        padding: 0.875rem;
        margin-bottom: 1rem;
    }
    
    .filters-header h2 {
        font-size: 1.2rem;
    }
    
    .popular-tags-buttons {
        gap: 0.3rem;
    }
    
    .tag-button {
        padding: 0.35rem 0.7rem;
        font-size: 0.75rem;
    }
    
    .hotel-image {
        height: 160px;
    }
    
    .hotel-content {
        padding: 0.625rem;
    }
    
    .hotel-title {
        font-size: 0.95rem;
    }
    
    .hotel-tag {
        font-size: 0.6rem;
        padding: 0.2rem 0.4rem;
    }
}

@media (max-width: 576px) {
    .hotels-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .hotel-accommodation-wrapper {
        padding: 0.75rem 0.375rem;
    }
    
    .hotel-filters-container {
        padding: 0.75rem;
        border-radius: 8px;
    }
    
    .filters-header h2 {
        font-size: 1.1rem;
    }
    
    .popular-tags-label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    
    .popular-tags-buttons {
        gap: 0.25rem;
    }
    
    .tag-button {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
        border-radius: 18px;
    }
    
    .hotel-image {
        height: 150px;
    }
    
    .hotel-content {
        padding: 0.5rem;
    }
    
    .hotel-title {
        font-size: 0.9rem;
    }
    
    .hotel-tag {
        font-size: 0.55rem;
        padding: 0.15rem 0.35rem;
    }
}

@media (max-width: 360px) {
    .hotel-image {
        height: 140px;
    }
    
    .hotel-title {
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .hotel-filters-container {
        display: none;
    }
    
    .hotel-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
        height: auto;
    }
    
    .hotels-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .hotel-image {
        height: 120px;
    }
    
    .hotel-tags {
        position: static;
        margin-top: 0.25rem;
    }
    
    .hotel-tag {
        background: #f0f0f0;
        color: #333;
        border: 1px solid #ddd;
    }
}

/* ==========================================================================
   Accessibility Enhancements
   ========================================================================== */

.hotel-card-link:focus {
    outline: 2px solid #667eea;
    outline-offset: 1px;
    border-radius: 10px;
}

.tag-button:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 1px;
}

@media (prefers-reduced-motion: reduce) {
    .hotel-card,
    .hotel-image img,
    .tag-button {
        transition: none;
    }
    
    .hotel-card:hover {
        transform: none;
    }
    
    .hotel-card:hover .hotel-image img {
        transform: none;
    }
    
    .tag-button:hover {
        transform: none;
    }
}

/* ==========================================================================
   Dark Mode Support
   ========================================================================== */

@media (prefers-color-scheme: dark) {
    .hotel-card {
        background: #2d3748;
        color: #e2e8f0;
    }
    
    .hotel-title {
        color: #f7fafc;
    }
    
    .hotel-tag {
        background: rgba(0, 0, 0, 0.85);
        color: white;
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .hotel-tag-more {
        background: rgba(102, 126, 234, 0.9);
    }
    
    .no-results h3 {
        color: #e2e8f0;
    }
    
    .no-results p {
        color: #cbd5e0;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

/* Ensure consistent card heights */
.hotel-card {
    min-height: auto; /* Much smaller without footer */
}

/* Improve image loading */
.hotel-image img {
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    background-size: 200% 100%;
    animation: 1.5s shine linear infinite;
}

@keyframes shine {
    to {
        background-position-x: -200%;
    }
}

/* Better focus states for keyboard navigation */
.hotel-card-link:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 1px;
    border-radius: 10px;
}

/* Loading state for cards */
.hotel-card.loading .hotel-image {
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    background-size: 200% 100%;
    animation: 1.5s shine linear infinite;
}

/* Ensure grid items don't overflow */
.hotel-card > * {
    min-width: 0;
}

/* Tag visibility enhancements */
.hotel-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    z-index: 1;
    pointer-events: none;
}

.hotel-tags {
    z-index: 2; /* Above the gradient overlay */
}

