.hotels-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 34px;
} .hotel-item {
will-change: transform, opacity;
}
.hotel-item.hidden {
display: none;
}
.hotels-more {
text-align: center;
margin-top: 28px;
} .hotels-toggle {
display: inline-block;
min-width: 220px;
} .hotel-card {
background: #fff;
border-radius: var(--radius-card);
box-shadow: var(--shadow-card);
overflow: hidden;
display: flex;
flex-direction: column;
transition: transform var(--transition-fast), box-shadow var(--transition-fast);
height: 100%;
}
.hotel-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-card-hover);
} .hotel-card.featured {
border: 2px solid #93c5fd;
box-shadow:
0 18px 42px rgba(37,99,235,0.14),
0 6px 18px rgba(15,23,42,0.06);
transform: translateY(-3px);
}
.hotel-card.featured:hover {
transform: translateY(-6px);
box-shadow:
0 24px 54px rgba(37,99,235,0.18),
0 10px 24px rgba(15,23,42,0.08);
} .hotel-image {
position: relative;
width: 100%;
padding-top: 78%;
overflow: hidden;
}
.hotel-image img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform var(--transition-smooth);
backface-visibility: hidden;
filter: saturate(1.03) contrast(1.02);
}
.hotel-card:hover img {
transform: scale(1.035);
filter: saturate(1.06) contrast(1.03);
}
.hotel-image::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(to bottom, transparent 65%, rgba(15,23,42,0.14));
opacity: 0;
transition: opacity var(--transition-fast);
}
.hotel-card:hover .hotel-image::after {
opacity: 1;
} .hotel-body {
display: flex;
flex-direction: column;
flex: 1;
}
.hotel-content {
padding: 24px var(--space-lg) 0;
}
.hotel-bottom {
padding: var(--space-md) var(--space-lg) var(--space-lg);
margin-top: auto;
} .hotel-rating {
display: flex;
justify-content: space-between;
align-items: center;
background: var(--color-bg-soft);
border: 1px solid var(--color-border);
padding: 7px 12px;
border-radius: var(--radius-pill);
font-size: var(--font-size-small);
margin-bottom: var(--space-sm);
} .hotel-name {
font-size: var(--font-size-title);
line-height: 1.25;
font-weight: 700;
color: var(--color-text-main);
margin: 0 0 6px;
}
.hotel-meta {
font-size: var(--font-size-body);
color: var(--color-text-muted);
margin-bottom: var(--space-md);
}
.hotel-desc {
font-size: var(--font-size-body);
line-height: 1.65;
margin-bottom: var(--space-md);
} .hotel-bullets {
padding-left: 16px;
margin-bottom: 12px;
}
.hotel-bullets li {
margin-bottom: 10px;
color: #334155;
}
.hotel-bullets li::marker {
color: #94a3b8;
} .hotel-highlight {
text-align: center;
font-size: 13px;
color: #475569;
margin-bottom: var(--space-sm);
font-weight: 500;
} .hotel-bottom .us-btn {
width: 100%;
display: block;
text-align: center;
}
.hotel-card:hover .us-btn {
transform: translateY(-1px);
} @media (max-width: 1024px) {
.hotels-grid {
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.hotels-desc {
max-width: 60ch;
}
}
@media (max-width: 640px) {
.hotels-grid {
grid-template-columns: 1fr;
}
.hotels-desc {
max-width: 100%;
}
.hotels-toggle {
width: 100%;
}
}