/**
 * Let's Talk — Booking Page Styles
 *
 * All classes are prefixed .lt-* to avoid collisions with global theme styles.
 * Designed for the 2DRK Lab dark-theme agency site.
 * Booking section uses a light (#F7F9FC) background for contrast and trust.
 *
 * Sections:
 *  1. Hero
 *  2. Booking Section & Grid
 *  3. Form Fields
 *  4. Business Type Cards
 *  5. Calendar
 *  6. Time Slots
 *  7. Book Button
 *  8. Spinner
 *  9. Confirmation Panel
 * 10. Trust Bar
 * 11. Responsive
 */

/* ==========================================================================
   1. HERO
   ========================================================================== */

.lt-hero {
    background: var(--clr-dark);
    padding: 110px 0 60px;
    text-align: center;
}

.lt-hero .lt-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: 20px;
}

.lt-hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    color: var(--clr-white);
    line-height: 1.15;
    margin: 0 0 20px;
}

.lt-hero-sub {
    font-size: 1.0625rem;
    color: var(--clr-muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==========================================================================
   2. BOOKING SECTION & GRID
   ========================================================================== */

.lt-booking-section {
    background: #F7F9FC;
    padding: 48px 0;
}

.lt-booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.lt-form-col h2,
.lt-cal-col h2 {
    font-size: 17px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 14px;
}

/* ==========================================================================
   3. FORM FIELDS
   ========================================================================== */

.lt-field-wrap {
    margin-bottom: 12px;
}

.lt-field-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 4px;
}

.lt-field {
    display: block;
    width: 100%;
    background: #fff;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    padding: 9px 12px;
    color: #1a202c;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.5;
    transition: border-color 0.15s, box-shadow 0.15s;
    box-sizing: border-box;
}

.lt-field::placeholder {
    color: #a0aec0;
}

.lt-field:focus {
    outline: none;
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.15);
}

.lt-error {
    display: block;
    font-size: 12px;
    color: #e53e3e;
    margin-top: 3px;
    min-height: 0;
    line-height: 1.4;
}

/* ==========================================================================
   4. BUSINESS TYPE CARDS
   ========================================================================== */

.lt-biz-heading {
    font-size: 13px;
    font-weight: 700;
    color: #1a202c;
    margin: 18px 0 10px;
}

.lt-biz-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 6px;
}

.lt-biz-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 2px solid #e8edf3;
    border-radius: 8px;
    padding: 12px 10px;
    cursor: pointer;
    text-align: center;
    font-family: inherit;
    transition: border-color 0.18s, transform 0.18s, background 0.18s;
}

.lt-biz-card:hover {
    border-color: rgba(245, 197, 24, 0.4);
    transform: translateY(-2px);
}

.lt-biz-card.selected {
    border-color: var(--clr-accent);
    background: rgba(245, 197, 24, 0.04);
}

.lt-biz-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a202c;
}

.lt-biz-icon svg {
    width: 28px;
    height: 28px;
    stroke: #1a202c;
}

.lt-biz-name {
    font-size: 12px;
    font-weight: 600;
    color: #1a202c;
    line-height: 1.3;
}

/* ==========================================================================
   5. CALENDAR
   ========================================================================== */

.lt-calendar {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    overflow: hidden;
}

.lt-cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e8edf3;
}

.lt-cal-nav {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #1a202c;
    padding: 4px 8px;
    line-height: 1;
    border-radius: 4px;
    transition: background 0.15s;
}

.lt-cal-nav:hover:not(:disabled) {
    background: #f0f0f0;
}

.lt-cal-nav:disabled {
    color: #c0c0c0;
    cursor: not-allowed;
}

.lt-cal-month {
    font-size: 15px;
    font-weight: 700;
    color: #1a202c;
}

.lt-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 8px 12px 12px;
    gap: 2px;
}

.lt-cal-day-name {
    font-size: 11px;
    font-weight: 600;
    color: #8B949E;
    text-align: center;
    padding: 10px 0 8px;
}

.lt-cal-day {
    font-size: 13px;
    text-align: center;
    padding: 9px 4px;
    border-radius: 4px;
    border: none;
    background: none;
    font-family: inherit;
    line-height: 1;
    cursor: default;
    color: #1a202c;
}

.lt-cal-day.available {
    cursor: pointer;
}

.lt-cal-day.available:hover {
    background: #f0f0f0;
}

.lt-cal-day.selected {
    background: var(--clr-accent);
    color: #000;
    font-weight: 700;
}

.lt-cal-day.unavailable {
    color: #c8cfd8;
    cursor: not-allowed;
}

.lt-cal-day.today {
    font-weight: 700;
    border-bottom: 2px solid var(--clr-accent);
}

.lt-cal-day.today.selected {
    border-bottom-color: transparent;
}

/* ==========================================================================
   6. TIME SLOTS
   ========================================================================== */

.lt-slots-wrap {
    margin-top: 16px;
    display: none; /* shown by JS after date selection */
}

.lt-slots-heading {
    font-size: 13px;
    font-weight: 600;
    color: #8B949E;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 10px;
}

.lt-slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.lt-slot-btn {
    padding: 10px 8px;
    border: 1px solid #e8edf3;
    border-radius: 6px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: #1a202c;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.lt-slot-btn:hover:not(:disabled) {
    border-color: var(--clr-accent);
}

.lt-slot-btn.selected {
    background: var(--clr-accent);
    border-color: var(--clr-accent);
    color: #000;
}

.lt-slot-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.lt-no-slots {
    font-size: 13px;
    color: #8B949E;
    margin: 0;
    grid-column: 1 / -1;
}

/* ==========================================================================
   7. BOOK BUTTON
   ========================================================================== */

.lt-book-btn {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 24px auto 0;
    background: var(--clr-accent);
    color: #000;
    font-weight: 700;
    font-size: 15px;
    font-family: inherit;
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: filter 0.18s, transform 0.18s;
    text-align: center;
}

.lt-book-btn:hover:not(:disabled) {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.lt-book-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ==========================================================================
   8. SPINNER
   ========================================================================== */

@keyframes lt-spin {
    to { transform: rotate(360deg); }
}

.lt-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #e8edf3;
    border-top-color: var(--clr-accent);
    border-radius: 50%;
    animation: lt-spin 0.7s linear infinite;
}

/* ==========================================================================
   9. CONFIRMATION PANEL
   ========================================================================== */

.lt-confirmed {
    background: var(--clr-dark);
    padding: 80px 0;
    text-align: center;
    display: none;
}

.lt-confirmed.active {
    display: block;
}

.lt-confirmed h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--clr-white);
    margin: 0 0 16px;
}

.lt-confirmed p {
    font-size: 1.0625rem;
    color: var(--clr-muted);
    margin: 0 0 12px;
    line-height: 1.7;
}

.lt-confirmed-icon {
    width: 64px;
    height: 64px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.lt-confirmed-time {
    font-size: 1rem;
    font-weight: 600;
    color: var(--clr-accent) !important;
}

/* ==========================================================================
   10. TRUST BAR
   ========================================================================== */

.lt-trust-bar {
    background: var(--clr-primary);
    border-top: 1px solid var(--clr-border);
    padding: 32px 0;
}

.lt-trust-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lt-trust-item {
    font-size: 14px;
    color: var(--clr-muted);
    font-weight: 500;
}

/* ==========================================================================
   11. RESPONSIVE
   ========================================================================== */

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

@media (max-width: 600px) {
    .lt-booking-section {
        padding: 48px 0;
    }

    .lt-biz-grid {
        grid-template-columns: 1fr 1fr;
    }

    .lt-slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .lt-trust-inner {
        gap: 24px;
    }

    .lt-book-btn {
        max-width: 100%;
    }
}

@media (max-width: 380px) {
    .lt-slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
