@media (max-width: 1024px) {
.slx-calendar {
grid-template-columns: repeat(2, 1fr);
gap: 28px;
}
.main-nav {
padding: 0 24px;
}
.amenities-grid {
grid-template-columns: repeat(2, 1fr);
}
.gallery-grid {
grid-template-columns: repeat(2, 1fr);
}
.gallery-item--large {
grid-column: span 2;
grid-row: span 1;
}
.gallery-item--large img {
aspect-ratio: 16/9;
}
.hero-content {
left: 40px;
right: 40px;
}
.description-details {
grid-template-columns: 1fr;
}
} @media (max-width: 768px) { .nav-links {
display: none;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: #FAFAF8;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 32px;
z-index: 999;
list-style: none;
}
.nav-links.nav-open {
display: flex;
}
.nav-links a {
font-size: 20px;
color: #1C1C1C;
}
.nav-book {
display: none;
}
.hamburger {
display: flex;
flex-direction: column;
gap: 5px;
background: none;
border: none;
cursor: pointer;
z-index: 1001;
padding: 4px;
}
.hamburger span {
display: block;
width: 24px;
height: 1.5px;
background: #fff;
transition: transform 0.3s, opacity 0.3s;
}
.site-header.scrolled .hamburger span {
background: #1C1C1C;
}
.hamburger.active span:nth-child(1) {
transform: translateY(6.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
opacity: 0;
}
.hamburger.active span:nth-child(3) {
transform: translateY(-6.5px) rotate(-45deg);
} .container,
.container--narrow {
padding: 0 20px;
} .hero-content {
left: 20px;
right: 20px;
bottom: 60px;
}
.hero-title {
font-size: 32px;
} .highlights-grid {
gap: 20px 32px;
justify-content: flex-start;
padding: 0 20px;
} .gallery-section,
.description-section,
.amenities-section,
.rules-section,
.calendar-section,
.location-section {
padding: 60px 0;
}
.section-header {
margin-bottom: 36px;
} .gallery-grid {
grid-template-columns: 1fr;
gap: 6px;
}
.gallery-item--large {
grid-column: span 1;
grid-row: span 1;
}
.gallery-item--large img {
aspect-ratio: 4/3;
}
.gallery-item img {
aspect-ratio: 4/3;
} .amenities-grid {
grid-template-columns: repeat(2, 1fr);
gap: 12px;
}
.amenity-item {
padding: 16px;
font-size: 13px;
} .rules-grid {
gap: 48px;
} .slx-calendar {
display: block;
overflow: hidden;
width: 100%;
box-sizing: border-box;
}
.slx-calendar-nav {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 20px;
}
.slx-cal-btn {
background: none;
border: 1px solid #E8E4DC;
border-radius: 50%;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
color: #C9A96E;
font-size: 16px;
transition: border-color 0.2s, background 0.2s;
flex-shrink: 0;
}
.slx-cal-btn:hover {
background: #C9A96E;
border-color: #C9A96E;
color: #fff;
}
.slx-cal-btn:disabled {
opacity: 0.25;
cursor: default;
pointer-events: none;
}
.slx-cal-label {
font-family: 'Cormorant Garamond', serif;
font-size: 18px;
font-weight: 400;
letter-spacing: 0.06em;
color: #1C1C1C;
text-align: center;
flex: 1;
padding: 0 8px;
}
.slx-calendar-track {
display: flex;
width: 100%;
transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.slx-calendar__month {
width: 100%;
min-width: 100%;
flex-shrink: 0;
box-sizing: border-box;
} .slx-calendar__month-name {
display: none;
} .slx-calendar__grid {
width: 100%;
box-sizing: border-box;
gap: 4px;
}
.slx-calendar__wd {
font-size: 10px;
padding: 4px 0 10px;
text-align: center;
}
.slx-calendar__day {
font-size: 13px;
padding: 9px 2px;
border-radius: 3px;
text-align: center;
} .site-footer {
padding: 60px 0 32px;
}
} @media (max-width: 400px) {
.amenities-grid {
grid-template-columns: 1fr;
}
.highlights-grid {
flex-direction: column;
gap: 16px;
}
.slx-calendar__day {
font-size: 12px;
padding: 8px 2px;
}
}