/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --red: rgb(255, 16, 23);
    --white: #ffffff;
    --dark-gray: #2d3748;
    --light-gray: #f7fafc;
    --blue: #3898ec;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--light-gray);
}

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

/* Logo Header */
.logo-header {
    background: white;
    padding: 2rem 0;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-logo {
    max-width: 300px;
    height: auto;
}

/* Main Content */
.main {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.booking-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.booking-header {
    background: var(--red);
    color: var(--white);
    padding: 2.5rem 2rem;
    text-align: center;
}

.booking-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.booking-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2.5rem;
}

/* Info Card */
.info-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--red);
}

.info-card h3 {
    color: #2d3748;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefits-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.benefits-list li {
    padding: 0.5rem 0;
    font-weight: 500;
    color: #4a5568;
}

.bring-items {
    background: white;
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.bring-items h4 {
    color: #2d3748;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.bring-items p {
    color: #718096;
    font-size: 0.9rem;
}

/* Booking Form */
.booking-form {
    background: white;
}

.booking-form h3 {
    color: #2d3748;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Date Selector */
.date-selector {
    margin-bottom: 2rem;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: #718096;
    font-style: italic;
}

.date-group {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    background: white;
}

.date-header {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--dark-gray);
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.2s ease;
}

.date-header:hover {
    background: #f0f0f0;
}

.date-header.active {
    background: #fff0f0;
    color: var(--red);
}

.date-header-text {
    font-size: 1rem;
}

.date-toggle {
    font-size: 1.2rem;
    color: #718096;
    transition: transform 0.2s ease;
}

.date-header.active .date-toggle {
    transform: rotate(180deg);
    color: var(--red);
}

.time-slots {
    padding: 1rem 1.5rem;
    display: none;
}

.time-slots.expanded {
    display: block;
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.75rem;
}

.time-slot {
    background: #f8f9fa;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
}

.time-slot:hover {
    border-color: var(--red);
    background: #fff0f0;
}

.time-slot.selected {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.mehr-button {
    color: var(--blue);
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mehr-button:hover {
    text-decoration: underline;
}

/* Form Styles */
.form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(255, 16, 23, 0.1);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;
}

.checkbox-label a {
    color: var(--red);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Button */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--red);
    color: var(--white);
    text-align: center;
    letter-spacing: .5px;
    text-transform: uppercase;
    border-radius: 10px;
    padding: .55rem 1.3rem;
    font-weight: 600;
    transition: background-color .4s;
}

.btn-primary:hover {
    background-color: rgba(255, 16, 23, 0.8);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 16, 23, 0.3);
}

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

.btn-secondary {
    color: var(--white);
    line-height: inherit;
    cursor: pointer;
    background-color: var(--blue);
    border: 0;
    border-radius: 0;
    padding: 9px 15px;
    text-decoration: none;
    display: inline-block;
    transition: background-color .4s;
}

.btn-secondary:hover {
    background-color: rgba(56, 152, 236, 0.8);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 2rem;
    background: #fff0f0;
    border: 2px solid var(--red);
    border-radius: 8px;
}

.success-message h3 {
    color: var(--red);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: #2d3748;
}

/* Error Message */
.error-message {
    text-align: center;
    padding: 2rem;
    background: #fed7d7;
    border: 2px solid #e53e3e;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: none;
}

.error-message h3 {
    color: #e53e3e;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.error-message p {
    color: #2d3748;
    margin-bottom: 1rem;
}

/* Additional Sections */
.studio-info-section,
.advantages-section,
.services-section,
.info-section,
.final-cta-section {
    padding: 3rem 0;
    background: white;
    margin-top: 2rem;
}

.studio-info-section {
    background: #f8f9fa;
}

.advantages-section {
    background: white;
}

.services-section {
    background: #f8f9fa;
}

.info-section {
    background: white;
}

.final-cta-section {
    background: var(--red);
    color: var(--white);
    text-align: center;
}

/* Section Headers */
.studio-info-section h2,
.advantages-section h2,
.services-section h2,
.info-section h2 {
    color: var(--dark-gray);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    text-align: center;
    color: #718096;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

/* Studio Content */
.studio-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.studio-description h3 {
    color: var(--red);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.studio-description p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: #4a5568;
}

.studio-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-item h4 {
    color: var(--dark-gray);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.feature-item p {
    color: #718096;
    font-size: 0.9rem;
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

.advantage-item:hover {
    transform: translateY(-2px);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.advantage-item h3 {
    color: var(--dark-gray);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.advantage-item p {
    color: #718096;
    line-height: 1.6;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-left: 4px solid var(--red);
}

.service-card h3 {
    color: var(--red);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    margin-bottom: 1rem;
}

.service-card li {
    color: #4a5568;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-info {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #718096;
}

.contact-info a {
    color: var(--red);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Info Section */
.info-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.info-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--red);
}

.info-item h3 {
    color: var(--red);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.info-item p {
    color: #4a5568;
    line-height: 1.6;
}

/* Final CTA Section */
.final-cta-section h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.final-cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background-color: var(--white);
    color: var(--red);
}

.cta-buttons .btn-primary:hover {
    background-color: #f8f9fa;
    transform: translateY(-1px);
}

.cta-buttons .btn-secondary {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.cta-buttons .btn-secondary:hover {
    background-color: var(--white);
    color: var(--red);
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 2rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.studio-info h3,
.opening-hours h4 {
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.studio-info p,
.opening-hours p {
    margin-bottom: 0.5rem;
    color: #cbd5e0;
    line-height: 1.6;
}

.extended-hours {
    font-size: 0.9rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #4a5568;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 1rem;
    text-align: center;
    color: #a0aec0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-header {
        padding: 1rem 0;
    }
    
    .main-logo {
        max-width: 180px;
    }
    
    .main {
        padding: 1rem 0;
    }
    
    .booking-header h2 {
        font-size: 1.8rem;
    }
    
    .booking-content {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Additional sections responsive */
    .studio-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .info-content {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .logo-header {
        padding: 0.75rem 0;
    }
    
    .main-logo {
        max-width: 150px;
    }
    
    .main {
        padding: 0.5rem 0;
    }
    
    .booking-header {
        padding: 1.5rem 1rem;
    }
    
    .booking-header h2 {
        font-size: 1.5rem;
    }
    
    .booking-content {
        padding: 1rem;
        gap: 1rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .date-header {
        padding: 0.875rem 1rem;
    }
    
    .time-slots {
        padding: 0.875rem 1rem;
    }
    
    .time-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 0.5rem;
    }
    
    .time-slot {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
    
    /* Additional sections mobile */
    .studio-info-section h2,
    .advantages-section h2,
    .services-section h2,
    .info-section h2 {
        font-size: 1.5rem;
    }
    
    .advantage-item {
        padding: 1.5rem 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .info-item {
        padding: 1.5rem;
    }
    
    .final-cta-section {
        padding: 2rem 0;
    }
    
    .final-cta-section h2 {
        font-size: 1.8rem;
    }
}
