:root {
    --primary-color: #0073DB;
    --secondary-color: #1F2937;
    --accent-color: #4F46E5;
    --background-color: #F3F4F6;
    --text-color: #374151;
    --border-color: #E5E7EB;
    --success-color: #10B981;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

main {
    padding: 140px 20px 40px;
    min-height: calc(100vh - 180px);
}

.booking-container {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
}

.booking-form {
    flex: 1;
    max-width: 800px;
}

.booking-sidebar {
    width: 380px;
    position: sticky;
    margin-top: 5rem;
    height: fit-content;
    align-self: flex-start;
}

.summary-container {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h1 {
    color: var(--secondary-color);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.subtitle {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    margin-top: 1rem;
    opacity: 0.8;
}

.form-section {
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.section-number {
    background-color: var(--primary-color);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

h2 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
}

input, select {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: white;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 115, 219, 0.1);
}

.radio-group {
    display: flex;
    gap: 2rem;
    padding: 0.5rem 0;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    width: 1.2rem;
    height: 1.2rem;
    margin: 0;
    cursor: pointer;
}

.pricing {
    margin-top: 1.5rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.price-row.total {
    border-bottom: none;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

.confirmation-message {
    text-align: center;
    color: var(--success-color);
    margin: 1.5rem 0;
    font-weight: 500;
    background-color: rgba(16, 185, 129, 0.1);
    padding: 1rem;
    border-radius: 8px;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.submit-button:hover {
    background-color: #0051a3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 115, 219, 0.2);
}

.add-ons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.add-on-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background-color: #f8fafc;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.add-on-item:hover {
    border-color: var(--primary-color);
    background-color: #f0f9ff;
}

.add-on-item input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    margin: 0;
    cursor: pointer;
}

.add-on-item label {
    margin: 0;
    flex-grow: 1;
    cursor: pointer;
}

.add-on-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.section-description {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.95rem;
    margin: 0.5rem 0 1rem;
}

textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 115, 219, 0.1);
}

.addon-quantity {
    width: 60px !important;
    padding: 4px !important;
    margin-left: 8px;
}

@media (max-width: 1024px) {
    .booking-container {
        grid-template-columns: 1fr;
    }

    .booking-sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
    }
}

@media (max-width: 768px) {
    main {
        padding: 100px 16px 20px;
    }

    .booking-form {
        padding: 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
        margin-bottom: 1.25rem; /* Increased spacing on mobile */
    }

    .subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .section-number {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .section-description {
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }

    .add-ons-grid {
        grid-template-columns: 1fr;
    }
}