.accommodations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.accommodation-card {
    background: var(--muted);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accommodation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.accommodation-card .img-box {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.accommodation-info {
    padding: 20px;
}

.accommodation-info .h3 {
    margin-bottom: 10px;
}

.accommodation-info p {
    margin: 4px 0;
    color: var(--sub);
}

.accommodation-info .price {
    font-weight: bold;
    color: var(--sand);
    margin-top: 10px;
}

.booking-section {
    background: var(--bg2);
    padding: 60px 0;
    border-top: 1px solid var(--line);
}

.booking-details {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Give more space to calendar */
    gap: 40px;
    margin-top: 30px;
}

.calendar-container h3,
.summary-container h3 {
    color: var(--sand);
    margin-bottom: 15px;
}

.form-input {
    width: 100%;
    padding: 12px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    margin-bottom: 15px;
}

.summary-container p {
    color: var(--sub);
    margin: 8px 0;
}

.summary-container span {
    font-weight: bold;
    color: var(--text);
}

.customer-details {
    margin-top: 20px;
}

#bookNowBtn {
    width: 100%;
    margin-top: 10px;
}

.booking-notes {
    margin-top: 40px;
}

.note-box {
  border: 1px dashed rgba(255,255,255,.18);
  background: rgba(255,255,255,.03);
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--sub);
}

.note-box ul {
    padding-left: 20px;
    margin: 0;
}

.note-box li {
    margin-bottom: 10px;
}

@media (max-width: 900px) {
    .booking-details {
        grid-template-columns: 1fr;
    }
}

/* Calendar Styles */
.calendar {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--line);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

#currentMonthYear {
    font-weight: bold;
    font-size: 1.2em;
}

.calendar-nav {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5em;
    cursor: pointer;
}

.calendar-body {
    display: grid;
    gap: 10px;
}

.calendar-weekdays,
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

.calendar-weekdays div {
    font-weight: bold;
    color: var(--sub);
}

.calendar-days div {
    padding: 10px 5px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
}

.calendar-days div:not(.disabled):not(.selected):hover {
    background: var(--muted);
}

.calendar-days .start-date,
.calendar-days .end-date {
    background: var(--sand) !important;
    color: var(--bg) !important;
    font-weight: bold;
}

.calendar-days .in-range {
    background-color: rgba(215, 198, 163, 0.25); /* semi-transparent sand color */
    border-radius: 0;
}

.calendar-days .start-date {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.calendar-days .end-date {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.calendar-days .disabled {
    color: var(--sub);
    opacity: 0.5;
    cursor: not-allowed;
    text-decoration: line-through;
}

.calendar-legend {
    margin-top: 15px;
    color: var(--sub);
    font-size: 0.9em;
}
