
/* ================= ACTIVE NAVIGATION ================= */

.nav-links a.active-page {
    color: var(--gold, #b99a62);
}


/* ================= CALENDAR INTRODUCTION ================= */

.calendar-intro {
    padding: 95px 20px 65px;
    text-align: center;
    background: var(--cream, #f7f5f0);
}

.calendar-intro h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 5vw, 65px);
    font-weight: 500;
    line-height: 1.2;
}

.calendar-intro h1 em {
    color: var(--gold, #b99a62);
}

.calendar-intro > p:not(.eyebrow) {
    max-width: 480px;
    margin: 20px auto;
    color: var(--grey, #77736d);
    font-size: 13px;
    line-height: 1.9;
}

.calendar-intro-line {
    display: block;
    width: 45px;
    height: 1px;
    margin: 32px auto 0;
    background: var(--gold, #b99a62);
}


/* ================= CALENDAR SECTION ================= */

.availability-section {
    padding: 85px 20px 100px;
    background: #fff;
}

.calendar-container {
    max-width: 850px;
    margin: auto;
    padding: 45px;
    border: 1px solid var(--border, #e8e5df);
    background: #fff;
}


/* ================= CALENDAR HEADER ================= */

.calendar-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 35px;
}

.calendar-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: 39px;
    font-weight: 500;
}

.month-navigation {
    display: flex;
    align-items: center;
    gap: 20px;
}

.month-navigation h3 {
    min-width: 145px;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    font-weight: 500;
}

.month-arrow {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border, #e8e5df);
    background: white;
    color: var(--dark, #25231f);
    font-size: 19px;
    cursor: pointer;
    transition: 0.25s ease;
}

.month-arrow:hover:not(:disabled) {
    background: var(--dark, #25231f);
    color: white;
    border-color: var(--dark, #25231f);
}

.month-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}


/* ================= CALENDAR LEGEND ================= */

.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding: 18px 0;
    margin-bottom: 18px;
    border-top: 1px solid var(--border, #e8e5df);
    border-bottom: 1px solid var(--border, #e8e5df);
}

.calendar-legend span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--grey, #77736d);
    font-size: 11px;
}

.legend-dot {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 50%;
}

.available-dot {
    background: #b9aa87;
}

.booked-dot {
    background: #b65f5b;
}

.past-dot {
    background: #dededb;
}


/* ================= CALENDAR GRID ================= */

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 9px;
}

.weekday {
    padding: 15px 2px;
    text-align: center;
    color: var(--grey, #77736d);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.calendar-day {
    position: relative;
    min-height: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #eeece7;
    background: #fff;
    color: var(--dark, #25231f);
}

.calendar-day .day-number {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
}

.calendar-day .day-status {
    font-size: 8px;
    letter-spacing: 0.6px;
    font-weight: 700;
}


/* Available date */

.calendar-day.available {
    background: #faf9f6;
}

.calendar-day.available .day-status {
    color: #9a8357;
}


/* Booked date */

.calendar-day.booked {
    border-color: #ead1cf;
    background: #f8e9e7;
    color: #9b4945;
}

.calendar-day.booked .day-status {
    color: #a44e49;
}


/* Past date */

.calendar-day.past {
    background: #f5f5f3;
    color: #b9b9b5;
    border-color: #eeeeeb;
}

.calendar-day.past .day-status {
    color: #aaa9a4;
}


/* Today's date */

.calendar-day.today {
    outline: 2px solid var(--gold, #b99a62);
    outline-offset: -3px;
}


/* Empty cells before the first day */

.calendar-empty {
    min-height: 76px;
}


/* Calendar note */

.calendar-small-note {
    margin-top: 25px;
    color: var(--grey, #77736d);
    font-size: 10px;
    line-height: 1.8;
}


/* ================= DISCLAIMER SECTION ================= */

.calendar-disclaimer {
    padding: 100px 20px 110px;
    text-align: center;
    background: var(--cream, #f7f5f0);
}

.disclaimer-line {
    display: block;
    width: 45px;
    height: 1px;
    margin: 0 auto 28px;
    background: var(--gold, #b99a62);
}

.calendar-disclaimer h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(39px, 5vw, 57px);
    font-weight: 500;
    line-height: 1.25;
}

.calendar-disclaimer h2 em {
    color: var(--gold, #b99a62);
}

.calendar-disclaimer > p:not(.eyebrow) {
    max-width: 570px;
    margin: 22px auto 30px;
    color: var(--grey, #77736d);
    font-size: 13px;
    line-height: 2;
}


/* ================= MOBILE RESPONSIVENESS ================= */

@media (max-width: 700px) {

    .calendar-intro {
        padding: 70px 7% 55px;
    }

    .calendar-intro h1 {
        font-size: 42px;
    }

    .availability-section {
        padding: 55px 5% 70px;
    }

    .calendar-container {
        padding: 24px 13px;
    }

    .calendar-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }

    .calendar-heading h2 {
        font-size: 34px;
    }

    .month-navigation {
        width: 100%;
        justify-content: space-between;
    }

    .month-navigation h3 {
        flex: 1;
    }

    .calendar-legend {
        gap: 14px;
    }

    .calendar-legend span {
        font-size: 9px;
    }

    .calendar-grid {
        gap: 5px;
    }

    .weekday {
        padding: 12px 0;
        font-size: 8px;
        letter-spacing: 0;
    }

    .calendar-day {
        min-height: 57px;
        gap: 5px;
    }

    .calendar-day .day-number {
        font-size: 17px;
    }

    .calendar-day .day-status {
        font-size: 6px;
        letter-spacing: 0;
    }

    .calendar-empty {
        min-height: 57px;
    }

    .calendar-disclaimer {
        padding: 75px 7%;
    }

    .calendar-disclaimer h2 {
        font-size: 39px;
    }

    .calendar-disclaimer > p:not(.eyebrow) {
        font-size: 12px;
    }
}


/* ================= VERY SMALL PHONES ================= */

@media (max-width: 360px) {

    .calendar-container {
        padding: 20px 8px;
    }

    .calendar-grid {
        gap: 3px;
    }

    .calendar-day {
        min-height: 51px;
    }

    .calendar-day .day-number {
        font-size: 15px;
    }

    .calendar-day .day-status {
        font-size: 5px;
    }

    .calendar-legend {
        gap: 9px;
    }
}
