.hero {
    width: 100dvw;
    height: 90dvh;
    background-image: url(/gardenroutegetaway/assets/BedwithTowl.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-overlay {
    background-color: #ffffff87;
    width: 100%;
    height: 90dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-h1 {
    width: 90%;
    font-size: 3rem;
}

.hero-h2 {
    width: 90%;
    font-size: 6rem;
}

.accomm-block-size {
    width: 90%;
}

.pageHeading {
    /* background-color: green; */
    width: 90%;
}



/* Calender */
.calendarRow {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-evenly;
    /* overflow-x: scroll; */
    width: 100%;
    padding: 2rem 0 4rem 0;
    /* background-color: orange; */
}

.calendar {
    /* width: 30%; */
    /* background-color: var(--ligthGrey); */
    display: flex;
    flex-direction: column;
    border: 1px solid var(--lightBlue);
}

.calendarHeader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.month {
    color: var(--lightBlue);
    display: flex;
    align-items: center;
    column-gap: 5%;
}

.days {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    /* background-color: #fff; */
}

.day {
    text-align: center;
    padding: .5rem;
}

.dates {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    gap: .5rem;
    background-color: #eee;
}

.date {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    margin: auto;
    cursor: pointer;
    font-weight: 600;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    transition: 0.2s;
}

.date:hover,
.date.active {
    background-color: pink;
    color: #fff;
}

.date.inactive {
    color: #d2d2d2;
}

.date.inactive:hover {
    color:#fff;
}







/* Reservation Form */
.reservationForm {
    background-color: var(--cta);
    width: 100%;
    padding: 4rem 2rem 6rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
}

.formHeading {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* Modern Form Grid Layout */
.form-grid {
    width: 100%;
    max-width: 800px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-row {
    grid-column: 1 / -1;
    display: flex;
    gap: 2rem;
}

.form-group-half {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
}

.form-input {
    padding: 1rem;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--lightBlue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input::placeholder {
    color: #999;
}

/* Date inputs specific styling */
.form-input[type="date"] {
    cursor: pointer;
}

.form-input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(0.5);
}

.form-input[type="number"] {
    -moz-appearance: textfield;
}

.form-input[type="number"]::-webkit-outer-spin-button,
.form-input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.reservationFormSubmitButton {
    background-color: var(--lightBlue);
    color: #fff;
    padding: 1.25rem 3rem;
    border-radius: 8px;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.reservationFormSubmitButton:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.reservationFormSubmitButton:active {
    transform: translateY(0);
}

.reservationFormSubmitButton:disabled {
    background-color: #6b7280;
    cursor: not-allowed;
    transform: none;
}

/* Form message styling */
.form-message {
    width: 100%;
    max-width: 800px;
    text-align: center;
    font-weight: 600;
    border-radius: 8px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-group-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .reservationForm {
        padding: 2rem 1rem 4rem 1rem;
    }
    
    .formHeading {
        font-size: 2rem;
    }
}

/* Legacy styles for backward compatibility */
label {
    font-size: 2rem;
}

.formInput {
    width: 80%;
    font-size: 1.8rem;
    line-height: 2;
}