* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #000;
    background: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #eee;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo a {
    text-decoration: none !important;
    color: inherit;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo a:visited {
    text-decoration: none !important;
    color: inherit;
}

.logo a:hover {
    text-decoration: none !important;
    opacity: 0.8;
}

.logo span {
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 0.05em;
    color: #000;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: #000;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.7;
}

/* Header */
.booking-header {
    padding: 120px 0 60px;
    background: #f9f9f9;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.studio-hours {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

/* Main Container */
.booking-container {
    padding: 80px 0;
}

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

.booking-steps-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 20px;
}

/* Section Headers */
.section-header {
    margin-bottom: 40px;
}

.section-header h2,
.section-header h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #000;
    letter-spacing: -0.01em;
}

/* Calendar Section */
.calendar-section {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
}

.calendar-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.calendar-nav {
    background: #000;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.calendar-nav:hover {
    background: #333;
}

.calendar-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #000;
}

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #ddd;
}

.calendar-day-header {
    background: #f5f5f5;
    padding: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calendar-day {
    background: #fff;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    border: none;
}

.calendar-day:hover {
    background: #f5f5f5;
}

.calendar-day.selected {
    background: #000;
    color: #fff;
}

.calendar-day.disabled {
    background: #f9f9f9;
    color: #ccc;
    cursor: not-allowed;
}

.calendar-day.past {
    background: #f9f9f9;
    color: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
    filter: blur(0.5px);
    pointer-events: none;
}

.calendar-day.past:hover {
    background: #f9f9f9;
    transform: none;
}

.calendar-day.other-month {
    color: #ccc;
}

.calendar-header {
    background: #f5f5f5;
    padding: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Booking Details */
.booking-details > div {
    margin-bottom: 60px;
}

.booking-details .disabled {
    opacity: 0.5;
    pointer-events: none;
}

.selected-date {
    font-size: 1.125rem;
    color: #666;
    font-weight: 400;
}

/* Duration Selection */
.duration-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.duration-btn {
    background: #fff;
    border: 2px solid #eee;
    padding: 15px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.duration-btn:hover {
    border-color: #000;
}

.duration-btn.selected {
    background: #000;
    color: #fff;
    border-color: #000;
}

.duration-btn.full-day {
    grid-column: span 2;
}

.duration-btn small {
    display: block;
    font-size: 12px;
    opacity: 0.7;
    margin-top: 4px;
}

.duration-note {
    font-size: 14px;
    color: #666;
}

/* Time Selection */
.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
}

.time-slot {
    background: #fff;
    border: 2px solid #eee;
    padding: 15px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.time-slot:hover {
    border-color: #000;
}

.time-slot.selected {
    background: #000;
    color: #fff;
    border-color: #000;
}

.time-slot.unavailable {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
    border-color: #f5f5f5;
}

.select-duration-first {
    font-size: 14px;
    color: #666;
    text-align: center;
    padding: 20px;
}

/* Pricing Summary */
.pricing-summary {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 40px;
}

.summary-content {
    margin: 20px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 0;
    border-top: 2px solid #000;
    margin-top: 20px;
    font-weight: 600;
    font-size: 1.125rem;
}

.total-amount {
    color: #000;
}

/* Event Specific Styles */
.event-details-form {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 60px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.form-group select,
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
}

.form-group small {
    display: block;
    color: #666;
    font-size: 12px;
    margin-top: 5px;
}

.available-slots {
    margin: 20px 0;
}

.time-slots-list {
    background: #fff;
    border-radius: 4px;
    padding: 20px;
    border: 1px solid #eee;
}

.time-slot-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.time-slot-item:last-child {
    border-bottom: none;
}

.time-range {
    font-weight: 500;
    color: #333;
}

.hours {
    color: #666;
    font-size: 14px;
}

.availability-summary-content {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #eee;
    margin-top: 15px;
}

.total-time {
    color: #2e7d32;
    margin-bottom: 10px;
}

.price-info {
    color: #1565c0;
    margin-bottom: 15px;
}

.availability-summary-content .note {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.unavailable-message {
    background: #ffebee;
    color: #c62828;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    border: 1px solid #ef5350;
}

.loading {
    text-align: center;
    color: #666;
    padding: 20px;
}

.error {
    background: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    border: 1px solid #ef5350;
}

/* Contact Form */
.contact-form {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #000;
}

.contact-form input {
    margin-bottom: 15px;
}

.contact-form textarea {
    margin-bottom: 30px;
    resize: vertical;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
    border-left: 3px solid #000;
}

.terms-checkbox input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    accent-color: #000;
}

.terms-checkbox label {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    cursor: pointer;
    flex: 1;
}

.terms-link {
    color: #000;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #333;
}

.submit-booking {
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    padding: 18px 32px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #000;
}

.submit-booking:hover {
    background: #fff;
    color: #000;
}

.submit-booking:disabled {
    background: #ccc;
    color: #fff;
    cursor: not-allowed;
    border-color: #ccc;
}

.button-spinner {
    display: none;
}

/* Footer */
.footer {
    background: #000;
    color: #fff;
    padding: 60px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo span {
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #666;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .booking-header {
        padding: 90px 0 30px;
    }
    
    .booking-header-minimal {
        padding: 80px 0 20px;
    }
    
    .booking-container {
        padding: 40px 0;
    }
    
    .booking-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .booking-steps-container {
        position: static;
        top: auto;
        height: auto;
        overflow: visible;
        flex-direction: column;
        gap: 30px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .calendar-section,
    .pricing-summary,
    .contact-form {
        padding: 30px 20px;
    }
    
    .duration-options {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        gap: 20px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
}

/* Terms Modal */
.terms-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.terms-modal-content {
    background-color: #fff;
    margin: 2% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.terms-modal-header {
    background: #000;
    color: #fff;
    padding: 20px 30px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terms-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.terms-modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.terms-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.terms-modal-body {
    padding: 30px;
    max-height: calc(90vh - 140px);
    overflow-y: auto;
}

.terms-modal-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
    margin-top: 25px;
}

.terms-modal-body h3:first-child {
    margin-top: 0;
}

.terms-modal-body p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #333;
}

.terms-modal-body ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.terms-modal-body li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #333;
}

.terms-modal-body strong {
    color: #000;
    font-weight: 600;
}

@media (max-width: 768px) {
    .terms-modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }
    
    .terms-modal-header {
        padding: 15px 20px;
    }
    
    .terms-modal-header h2 {
        font-size: 1.25rem;
    }
    
    .terms-modal-body {
        padding: 20px;
        max-height: calc(85vh - 120px);
    }
    
    .terms-modal-body h3 {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .booking-header {
        padding: 90px 0 20px;
    }
    
    .booking-header-minimal {
        padding: 80px 0 15px;
    }
    
    .booking-container {
        padding: 30px 0;
    }
    
    .booking-grid {
        gap: 20px;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .section-header h2,
    .section-header h3 {
        font-size: 1.25rem;
    }
    
    .duration-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .duration-btn.full-day {
        grid-column: span 2;
    }
}

/* Payment Section Styles */
.payment-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
    border: 1px solid #e2e8f0;
}

.payment-subtitle {
    color: #64748b;
    margin: 8px 0 25px 0;
    font-size: 0.95rem;
}

.payment-summary {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
}

.payment-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.payment-summary-row:last-child {
    border-bottom: none;
}

.payment-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0 0 0;
    margin-top: 15px;
    border-top: 2px solid #e2e8f0;
    font-weight: 600;
    font-size: 1.1rem;
    color: #1e293b;
}

.payment-summary-total span:last-child {
    color: #059669;
    font-size: 1.25rem;
}

.payment-element-container {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    margin: 25px 0;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

#payment-element {
    /* Stripe Elements will style this */
}

.payment-actions {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
}

.btn-secondary {
    background: #fff;
    color: #64748b;
    border: 1px solid #cbd5e1;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #475569;
}

.btn-primary {
    background: #059669;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 160px;
    justify-content: center;
}

.btn-primary:hover {
    background: #047857;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.btn-primary:disabled,
.submit-booking:disabled,
.submit-booking.disabled {
    background: #94a3b8 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.5 !important;
    pointer-events: none;
}

.btn-primary:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Loading spinner for payment */
.button-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Payment section mobile responsiveness */
@media (max-width: 768px) {
    .payment-section {
        padding: 20px;
        margin-top: 20px;
    }
    
    .payment-element-container {
        padding: 20px;
    }
    
    .payment-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-secondary,
    .btn-primary {
        width: 100%;
        justify-content: center;
    }
    
    .payment-summary {
        padding: 15px;
    }
    
    .payment-summary-row {
        font-size: 0.9rem;
    }
    
    .payment-summary-total {
        font-size: 1rem;
    }
    
    .payment-summary-total span:last-child {
        font-size: 1.1rem;
    }
}

/* Step descriptions for better UX */
.step-description {
    font-size: 0.9rem;
    color: #64748b;
    margin: 5px 0 15px 0;
    font-style: italic;
}

.select-duration-first {
    color: #64748b;
    font-style: italic;
    text-align: center;
    padding: 20px;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px dashed #cbd5e1;
}

/* Event Type Selection Styling */
.event-type-section {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.event-type-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.event-type-card {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    text-align: center;
}

.event-type-card:hover {
    border-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.event-type-card.selected {
    border-color: #000;
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.event-type-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.event-type-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.event-type-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #059669;
}

.event-type-duration {
    font-size: 1rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 10px;
}

.event-type-description {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .event-type-options {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .event-type-section {
        padding: 25px 20px;
    }
    
    .event-type-card {
        padding: 25px 20px;
    }
    
    .event-type-header h3 {
        font-size: 1.1rem;
    }
    
    .event-type-price {
        font-size: 1.3rem;
    }
}

/* Time Blocks Styling */
.time-blocks-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.time-block-item {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.time-block-item:hover {
    border-color: #64748b;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.time-block-item.selected {
    border-color: #000;
    background: #f8fafc;
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

.time-block-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}


.time-range {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

.time-duration {
    font-size: 0.9rem;
    color: #64748b;
}

.time-block-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #059669;
}

@media (max-width: 768px) {
    .time-blocks-list {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }
    
    .time-block-item {
        padding: 15px;
    }
    
    .time-range {
        font-size: 1rem;
    }
    
    .time-duration {
        font-size: 0.85rem;
    }
    
    .time-block-price {
        font-size: 1.1rem;
    }
}