/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Meditation-inspired purple palette */
    --primary-purple: #8B7FB8;
    --primary-purple-light: #A595C7;
    --primary-purple-dark: #7A6FA4;
    --secondary-lavender: #C5B9E8;
    --accent-mauve: #E8D5E8;
    --accent-cream: #F9F6F9;
    --text-dark: #3A2E3A;
    --text-light: #7C6E7C;
    --white: #FFFFFF;
    --border-light: #E5DFE5;
    --shadow: rgba(58, 46, 58, 0.1);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Crimson Text', serif;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 0 2rem;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--accent-cream);
    /* Prevent horizontal scrolling and improve mobile experience */
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    /* Prevent horizontal overflow on mobile */
    width: 100%;
    box-sizing: border-box;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 20px var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    /* Ensure header stays in viewport */
    left: 0;
    right: 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-purple);
    font-weight: 600;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-purple);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-purple);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: var(--section-padding);
    margin-top: 80px;
    background: linear-gradient(135deg, var(--accent-cream) 0%, var(--accent-mauve) 100%);
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding: 0 2rem;
}

.hero-content h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content .hero-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.mura-philosophy {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.mura-philosophy h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-purple);
    margin-bottom: 1rem;
    text-align: center;
}

.mura-philosophy p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: left;
}

.mura-philosophy p:last-child {
    margin-bottom: 0;
}

.mura-philosophy em {
    font-weight: 600;
    color: var(--primary-purple);
    font-style: normal;
}

.cta-button {
    background: var(--primary-purple);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(143, 176, 105, 0.3);
}

.cta-button:hover {
    background: var(--primary-purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(143, 176, 105, 0.4);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
}

.meditation-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--secondary-lavender) 0%, var(--primary-purple) 100%);
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
    position: relative;
}

.meditation-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.4; }
}

/* Login Link Styling */
.login-link {
    background: var(--primary-purple) !important;
    color: var(--white) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    transition: all 0.3s ease !important;
}

.login-link:hover {
    background: var(--primary-purple-dark) !important;
    transform: translateY(-1px) !important;
}

.login-link::after {
    display: none !important;
}

/* Sections */
.schedule-section, .classes-section, .bookings-section, .contact-section {
    padding: var(--section-padding);
    background: var(--white);
    margin: 2rem 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
}

.schedule-section h2, .classes-section h2, .bookings-section h2, .contact-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Schedule Section */
.schedule-controls {
    margin-bottom: 2rem;
}

.week-calendar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 2px 10px var(--shadow);
}

.week-arrow {
    background: var(--accent-cream);
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.week-arrow:hover {
    background: var(--primary-purple-light);
    color: var(--white);
    transform: scale(1.1);
}

.week-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.current-month {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.week-days {
    display: flex;
    gap: 0.5rem;
}

.day-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0.8rem;
    min-width: 80px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.day-item:hover {
    background: var(--accent-cream);
}

.day-item.selected {
    background: var(--primary-purple);
    color: var(--white);
}

.day-item.today {
    background: var(--secondary-lavender);
    color: var(--white);
}

.day-item.selected.today {
    background: var(--primary-purple-dark);
}

.day-item.past {
    opacity: 0.4;
    color: var(--text-light);
    cursor: not-allowed;
}

.day-item.past:hover {
    background: transparent;
    transform: none;
}

.day-name {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
    opacity: 0.8;
}

.day-number {
    font-size: 1.4rem;
    font-weight: 600;
}

.day-item.has-classes::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 50%;
    opacity: 0.6;
}

.schedule-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: end;
    margin-bottom: 1rem;
    padding: 2rem;
    background: var(--accent-cream);
    border-radius: 15px;
    border: 1px solid var(--border-light);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 200px;
}

.filter-group label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.filter-select {
    padding: 0.8rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-dark);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(143, 176, 105, 0.1);
}

.filter-select:hover {
    border-color: var(--primary-purple-light);
}

.schedule-list {
    display: grid;
    gap: 1rem;
}

.schedule-item {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.schedule-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-purple-light));
}

.schedule-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow);
    border-color: var(--primary-purple-light);
}

.schedule-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.schedule-item-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.schedule-item-level {
    display: none;
}

.schedule-item-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.schedule-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.schedule-detail-label {
    font-weight: 600;
    color: var(--text-dark);
    min-width: 80px;
}

.schedule-item-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.schedule-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.schedule-availability {
    font-size: 0.9rem;
    font-weight: 500;
}

.schedule-availability.low {
    color: #E74C3C;
}

.schedule-availability.medium {
    color: #F39C12;
}

.schedule-availability.high {
    color: var(--primary-purple);
}

.schedule-item.past {
    opacity: 0.6;
    background: var(--border-light);
}

.schedule-item.past .schedule-item-title {
    color: var(--text-light);
}

.schedule-item.past:hover {
    transform: none;
    box-shadow: 0 5px 15px var(--shadow);
}

/* Classes Grid */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.class-card {
    background: var(--accent-cream);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.class-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow);
}

.class-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-purple-light));
}

.class-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.class-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.class-level {
    display: none;
}

.class-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.class-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.class-detail {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.2rem;
}

.detail-value {
    font-weight: 500;
    color: var(--text-dark);
}

.class-price {
    font-weight: 600;
    color: var(--primary-purple);
    font-size: 1.1rem;
}

.class-actions {
    display: flex;
    gap: 1rem;
}

.btn-primary, .btn-secondary, .btn-danger {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-primary {
    background: var(--primary-purple);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-purple-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

.btn-danger {
    background: #E74C3C;
    color: var(--white);
}

.btn-danger:hover {
    background: #C0392B;
    transform: translateY(-1px);
}

/* Bookings */
.bookings-container {
    min-height: 300px;
}

.bookings-list {
    display: none;
}

.bookings-list.has-bookings {
    display: block;
}

.booking-card {
    background: var(--accent-cream);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-purple);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.booking-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.booking-details {
    color: var(--text-light);
    font-size: 0.9rem;
}

.no-bookings {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info h3, .hours h3 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.contact-details, .hours-list {
    margin-top: 1.5rem;
}

.contact-item, .hour-item {
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--accent-cream);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Modal */
.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);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-height: 85vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--text-dark);
}

.modal-content h3 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-purple);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

/* Quick Booking Modal */
.booking-summary {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--accent-cream);
    border-radius: 10px;
    border: 1px solid var(--border-light);
}

.user-info h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.user-detail {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.user-detail:last-child {
    border-bottom: none;
}

.user-detail-label {
    font-weight: 500;
    color: var(--text-dark);
}

.user-detail-value {
    color: var(--text-light);
}

/* Payment Modal */
.payment-modal {
    max-width: 600px;
}

.payment-modal .modal-content {
    max-width: 600px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2.5rem;
}

.payment-modal .modal-content::-webkit-scrollbar {
    width: 8px;
}

.payment-modal .modal-content::-webkit-scrollbar-track {
    background: var(--accent-cream);
    border-radius: 4px;
}

.payment-modal .modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-purple);
    border-radius: 4px;
}

.payment-modal .modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-purple-dark);
}

.pricing-breakdown {
    background: var(--accent-cream);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

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

.total-row {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
    border-top: 2px solid var(--primary-purple);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.discount-row {
    color: var(--primary-purple);
    font-weight: 500;
}

.coupon-row {
    color: var(--primary-purple);
    font-weight: 500;
    position: relative;
}

.remove-coupon-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    margin-left: 0.5rem;
    line-height: 1;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.remove-coupon-btn:hover {
    color: var(--primary-purple);
}

/* Coupon Section */
.coupon-section {
    margin: 1.5rem 0;
    padding: 1rem;
    background: var(--accent-cream);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.coupon-input-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    align-items: stretch;
}

.coupon-input {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    min-height: 48px;
    box-sizing: border-box;
}

.coupon-input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(139, 90, 159, 0.1);
}

.coupon-btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coupon-message {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    min-height: 1.2rem;
}

.coupon-message.success {
    color: #27ae60;
}

.coupon-message.error {
    color: #e74c3c;
}

.coupon-message.info {
    color: var(--primary-purple);
}



.payment-methods h4 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.payment-option:hover {
    border-color: var(--primary-purple);
    background: var(--accent-cream);
}

.payment-option.selected {
    border-color: var(--primary-purple);
    background: var(--primary-purple);
    color: var(--white);
}

.payment-icon {
    font-size: 1.5rem;
}

.payment-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}



/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Fix mobile navigation */
    .nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
        min-height: 60px;
    }
    
    .nav-brand h1 {
        font-size: 1.5rem;
    }
    
    .nav-links {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .nav-links a {
        font-size: 0.9rem;
        padding: 0.5rem 0.25rem;
        white-space: nowrap;
        display: inline-block;
    }
    
    /* Ensure navigation fits on mobile */
    .nav-links {
        gap: 1rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0.25rem 0;
    }
    
    /* Fix hero section spacing */
    .hero {
        flex-direction: column;
        text-align: center;
        margin-top: 80px;
        padding-top: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-content .hero-intro {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .mura-philosophy {
        padding: 1.5rem;
        margin: 1.5rem 0;
        border-radius: 12px;
    }
    
    .mura-philosophy h3 {
        font-size: 1.3rem;
    }
    
    .mura-philosophy p {
        font-size: 0.95rem;
    }
    
    .meditation-circle {
        width: 200px;
        height: 200px;
    }
    
    .classes-grid {
        grid-template-columns: 1fr;
    }
    
    .class-details {
        grid-template-columns: 1fr;
    }
    
    .class-actions {
        flex-direction: column;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .coupon-input-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .coupon-btn {
        width: 100%;
    }
    
    .payment-options {
        grid-template-columns: 1fr;
    }
    
    .payment-modal .modal-content {
        padding: 1.5rem;
        margin: 2% auto;
    }
    
    .booking-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .week-calendar {
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .week-days {
        gap: 0.3rem;
    }
    
    .day-item {
        min-width: 60px;
        padding: 0.8rem 0.5rem;
    }
    
    .day-name {
        font-size: 0.7rem;
    }
    
    .day-number {
        font-size: 1.2rem;
    }
    
    .schedule-filters {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .schedule-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .schedule-item-details {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .schedule-item-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    /* Additional mobile improvements */
    .section-padding {
        padding: 3rem 1rem;
    }
    
    .schedule-section, .classes-section, .bookings-section, .contact-section {
        padding: 3rem 1rem;
    }
    
    .classes-grid {
        gap: 1.5rem;
    }
    
    .class-card {
        padding: 1.5rem;
    }
    
    .btn-primary, .btn-secondary, .btn-danger {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    min-height: 44px; /* Better touch target */
    border-radius: 8px;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
    
    .modal-content {
        margin: 5% auto;
        width: 95%;
        max-width: 400px;
        padding: 1.5rem;
    }
    
    /* Prevent zoom on input focus */
    input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select, textarea {
        font-size: 16px;
    }
    
    /* Better touch targets */
    .day-item {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .week-arrow {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Prevent mobile scrolling issues */
    html, body {
        position: relative;
        width: 100%;
        height: 100%;
    }
    
    /* Fix for iOS Safari */
    .header {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    /* Better mobile spacing */
    .container {
        padding: 0 1rem;
    }
    
    /* Improve mobile performance */
    * {
        -webkit-tap-highlight-color: transparent;
    }
}
