/* === CONTACT PAGE REDESIGN === */

.contact-page-wrapper {
    padding-top: 15vh;
    padding-bottom: 5vh;
    background-color: var(--bg-white);
    color: var(--text-dark);
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-sub {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 1rem;
    display: block;
}

.contact-title {
    font-family: 'Inter', sans-serif;
    font-size: 4rem;
    font-weight: 500;
    letter-spacing: -2px;
    color: #121212;
    line-height: 1;
}

/* === CALENDAR WIDGET === */
.calendar-wrapper {
    max-width: 1000px;
    margin: 0 auto 6rem;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .03);
    display: flex;
    overflow: hidden;
    min-height: 500px;
}

/* Sidebar (Left) */
.cal-sidebar {
    width: 30%;
    padding: 2rem;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.cal-profile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cal-avatar {
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    /* Placeholder */
}

.cal-host {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.cal-event-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cal-details li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.5rem;
}

/* Calendar Grid (Middle) */
.cal-main {
    flex: 1;
    padding: 2rem;
}

.cal-month-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.current-month {
    font-weight: 500;
    font-size: 1.1rem;
}

.cal-grid-header,
.cal-grid-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}

.cal-grid-header span {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.day-cell {
    padding: 10px;
    font-size: 0.95rem;
    color: #333;
    cursor: pointer;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 5px;
}

.day-cell:hover:not(.empty) {
    background-color: #f0f0f0;
}

.day-cell.selected {
    background-color: #1a1a1a;
    color: white;
}

.day-cell.empty {
    cursor: default;
}

/* Time Slots (Right) */
.cal-time-slots {
    width: 25%;
    padding: 2rem;
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    overflow-y: auto;
    max-height: 500px;
}

.time-header {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.time-btn {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 0.8rem;
    border: 1px solid #ddd;
    background: transparent;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.time-btn:hover {
    border-color: #1a1a1a;
    background-color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* === DIVIDER === */
.contact-divider {
    text-align: center;
    margin: 4rem 0;
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-divider span {
    background: white;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
    color: #888;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.contact-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #e5e5e5;
    z-index: 0;
}

/* === MESSAGE FORM SECTION === */
.message-section {
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 5rem;
}

.message-title {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    font-weight: 500;
}

.message-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

/* Form */
.clean-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.clean-input,
.clean-textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    font-family: var(--font-body);
    font-size: 1rem;
    background: transparent;
    transition: border-color 0.3s;
    resize: none;
}

.clean-input:focus,
.clean-textarea:focus {
    outline: none;
    border-bottom-color: #000;
}

.submit-btn {
    margin-top: 1rem;
    padding: 16px 32px;
    background: #000;
    color: white;
    border: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
    transition: opacity 0.3s;
}

.submit-btn:hover {
    opacity: 0.8;
}

/* Contact Details */
.contact-details {
    padding-top: 1rem;
}

.detail-block {
    margin-bottom: 2.5rem;
}

.detail-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 0.8rem;
}

.detail-value {
    font-size: 1.25rem;
    color: #1a1a1a;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 900px) {
    .calendar-wrapper {
        flex-direction: column;
        min-height: auto;
    }

    .cal-sidebar,
    .cal-main,
    .cal-time-slots {
        width: 100%;
        border: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .cal-time-slots {
        max-height: 200px;
    }

    .message-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-title {
        font-size: 2.5rem;
    }
}