/* ===== Padel on Point - Main Stylesheet ===== */

/* ===== CSS Variables ===== */
:root {
    /* Colors */
    --primary: #FF6B35;
    --primary-dark: #E55A2B;
    --primary-light: #FF8F66;
    --secondary: #1A1A2E;
    --secondary-light: #16213E;
    --accent: #0F3460;
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --text-muted: #6c757d;
    --success: #28A745;
    --warning: #FFC107;
    --danger: #DC3545;
    --info: #17A2B8;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 15px;

    /* Transitions */
    --transition: all 0.3s ease;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 50%;

    /* Header Height */
    --header-height: 70px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--text-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover { color: var(--primary-dark); }

img {
    max-width: 100%;
    height: auto;
}

ul { list-style: none; }

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--text-light);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--text-light);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
    border-color: var(--secondary-light);
    color: var(--text-light);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-light);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-outline-light:hover {
    background-color: var(--text-light);
    color: var(--secondary);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.logo-accent {
    color: var(--primary);
}

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

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

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-light);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-toggle,
.nav-close {
    display: none;
    font-size: 1.5rem;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../images/hero-pattern.svg') no-repeat center;
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 550px;
    width: 50%;
    text-align: left;
}

.hero-subtitle {
    display: inline-block;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    color: var(--text-light);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.hero-title span {
    color: var(--primary);
}

.hero-description {
    color: var(--gray-400);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* ===== Hero Video ===== */
.hero-video {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--secondary) 0%, transparent 30%);
    z-index: 2;
    pointer-events: none;
}

.hero-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Section Styles ===== */
.section {
    padding: var(--section-padding);
}

.section-dark {
    background-color: var(--secondary);
    color: var(--text-light);
}

.section-gray {
    background-color: var(--gray-100);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-dark .section-title {
    color: var(--text-light);
}

.section-description {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.section-dark .section-description {
    color: var(--gray-400);
}

/* ===== How It Works ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-card::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: var(--primary);
}

.step-card:last-child::after {
    display: none;
}

.step-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-full);
    font-size: 2rem;
    color: var(--text-light);
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--secondary);
    color: var(--text-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-text {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* ===== Lesson Cards ===== */
.lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.lesson-card {
    background: var(--text-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.lesson-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.lesson-card.featured {
    border: 2px solid var(--primary);
}

.lesson-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--primary);
    color: var(--text-light);
    padding: 4px 40px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    transform: rotate(45deg);
}

.lesson-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.lesson-name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.lesson-duration {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.lesson-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    min-height: 60px;
}

.lesson-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.lesson-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* ===== Testimonials ===== */
.testimonials-slider {
    padding: 2rem 0 4rem;
}

.testimonial-card {
    background: var(--secondary-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.testimonial-rating {
    color: var(--warning);
    margin-bottom: 1rem;
}

.testimonial-content {
    color: var(--gray-300);
    font-size: 1.125rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    background: var(--gray-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
}

.testimonial-name {
    color: var(--text-light);
    font-weight: 600;
}

/* ===== FAQ Section ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--text-light);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-muted);
}

/* ===== CTA Section ===== */
.cta-section {
    text-align: center;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cta-title {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-description {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Footer ===== */
.footer {
    background-color: var(--secondary);
    color: var(--gray-400);
    padding: 60px 0 20px;
}

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

.footer-title {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-text {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-light);
    color: var(--text-light);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--text-light);
}

.footer-subtitle {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--primary);
    width: 20px;
}

.footer-contact a {
    color: var(--gray-400);
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--secondary-light);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-credit {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.text-primary { color: var(--primary) !important; }

/* ===== Alerts ===== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid var(--danger);
    color: var(--danger);
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    border: 1px solid var(--warning);
    color: #856404;
}

.alert-info {
    background-color: rgba(23, 162, 184, 0.1);
    border: 1px solid var(--info);
    color: var(--info);
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition);
}

.btn-close:hover {
    opacity: 1;
}

/* ===== Forms ===== */
.form-group {
    margin-bottom: 1.5rem;
}

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-control.error {
    border-color: var(--danger);
}

.form-error {
    color: var(--danger);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ===== Contact Page ===== */
.contact-section {
    padding: 120px 0 80px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--text-light);
    border-radius: var(--radius-md);
    font-size: 1.25rem;
}

.contact-info-content h4 {
    margin-bottom: 0.25rem;
}

.contact-info-content p,
.contact-info-content a {
    color: var(--text-muted);
}

.contact-form {
    background: var(--text-light);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ===== About Page ===== */
.about-hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 500px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: linear-gradient(135deg, #F76632 49.5%, #fff 49.5%, #fff 50.5%, #171F39 50.5%);
}

.about-text h2 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--gray-400);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    color: var(--gray-400);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Dashboard ===== */
.dashboard-section {
    padding: 120px 0 80px;
    min-height: 100vh;
    background: var(--gray-100);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dashboard-title {
    font-size: 2rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.profile-card {
    background: var(--text-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    background: var(--primary);
    color: var(--text-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.profile-name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.profile-email {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.bookings-card {
    background: var(--text-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.bookings-card h3 {
    margin-bottom: 1.5rem;
}

/* ===== Table ===== */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.table th {
    font-weight: 600;
    color: var(--text-dark);
    background: var(--gray-100);
}

.table tbody tr:hover {
    background: var(--gray-100);
}

/* Coach Feedback Row */
.feedback-row {
    background: rgba(255, 107, 53, 0.05) !important;
}

.feedback-row:hover {
    background: rgba(255, 107, 53, 0.08) !important;
}

.coach-feedback {
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(255, 107, 53, 0.03));
    border-left: 3px solid var(--primary);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.coach-feedback i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.coach-feedback strong {
    color: var(--primary);
    margin-right: 0.5rem;
}

/* ===== Loyalty Rewards ===== */
.loyalty-banner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #28A745 0%, #20C997 100%);
    color: var(--text-light);
    box-shadow: var(--shadow-md);
}

.loyalty-banner-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.loyalty-banner-content {
    flex: 1;
}

.loyalty-banner-content h4 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.loyalty-banner-content p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.loyalty-banner .btn {
    flex-shrink: 0;
    background: var(--text-light);
    color: var(--success);
    border: none;
}

.loyalty-banner .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.loyalty-progress-section {
    text-align: left;
}

.loyalty-progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.loyalty-progress-bar {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    overflow: hidden;
}

.loyalty-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--warning), #FFD700);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.loyalty-reward-available {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
    border: 1px solid var(--success);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    color: var(--success);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.loyalty-reward-available i {
    font-size: 1.1rem;
}

/* Booking Page Discount Banner */
.booking-discount-banner {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
    border: 2px solid var(--success);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.booking-discount-banner i {
    font-size: 1.5rem;
    color: var(--success);
}

.booking-discount-banner-content h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    color: var(--success);
}

.booking-discount-banner-content p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Admin Loyalty Badge */
.loyalty-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.loyalty-badge-gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #5D4E00;
}

.loyalty-badge-progress {
    background: var(--gray-200);
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .loyalty-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
    }

    .loyalty-banner .btn {
        width: 100%;
    }
}

/* ===== Status Badges ===== */
.badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.badge-success { background: rgba(40, 167, 69, 0.1); color: var(--success); }
.badge-warning { background: rgba(255, 193, 7, 0.1); color: #856404; }
.badge-danger { background: rgba(220, 53, 69, 0.1); color: var(--danger); }
.badge-info { background: rgba(23, 162, 184, 0.1); color: var(--info); }
.badge-secondary { background: var(--gray-200); color: var(--text-muted); }
.badge-dark { background: var(--secondary); color: var(--text-light); }

/* ===== Booking Page ===== */
.booking-section {
    padding: 120px 0 80px;
    min-height: 100vh;
}

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

.booking-calendar-card {
    background: var(--text-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.booking-summary-card {
    background: var(--text-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: calc(var(--header-height) + 2rem);
}

/* ===== Calendar ===== */
.calendar {
    width: 100%;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.calendar-title {
    font-size: 1.25rem;
    margin: 0;
}

.calendar-nav {
    display: flex;
    gap: 0.5rem;
}

.calendar-nav button {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.calendar-nav button:hover {
    background: var(--primary);
    color: var(--text-light);
}

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

.calendar-day-name {
    padding: 0.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    cursor: default;
    transition: var(--transition);
    font-size: 0.875rem;
    color: var(--gray-400);
}

.calendar-day:hover:not(.disabled):not(.empty):not(.available) {
    background: transparent;
}

.calendar-day.empty {
    cursor: default;
}

.calendar-day.disabled {
    color: var(--gray-300);
    cursor: not-allowed;
}

.calendar-day.available {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success);
    font-weight: 600;
    cursor: pointer;
}

.calendar-day.available:hover {
    background: rgba(40, 167, 69, 0.2);
}

.calendar-day.selected {
    background: var(--primary);
    color: var(--text-light);
}

.calendar-day.today {
    border: 2px solid var(--primary);
}

/* ===== Time Slots ===== */
.time-slots {
    margin-top: 2rem;
}

.time-slots-title {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.time-slot {
    padding: 0.75rem;
    text-align: center;
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
}

.time-slot:hover:not(.disabled) {
    border-color: var(--primary);
}

.time-slot.selected {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.time-slot.disabled {
    background: var(--gray-200);
    color: var(--gray-500);
    cursor: not-allowed;
}

.time-slot.too-short {
    background: rgba(255, 193, 7, 0.1);
    border-color: var(--warning);
    color: var(--text-muted);
}

.slot-duration {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.time-slot.selected .slot-duration {
    color: rgba(255, 255, 255, 0.8);
}

.time-slot.disabled .slot-duration,
.time-slot.too-short .slot-duration {
    color: var(--gray-500);
}

/* ===== Group Slot Styles ===== */
.time-slot.group-slot {
    border: 2px solid #0d6efd;
    background: rgba(13, 110, 253, 0.05);
}

.time-slot.group-slot:hover:not(.disabled) {
    background: rgba(13, 110, 253, 0.12);
    border-color: #0d6efd;
    cursor: pointer;
}

.time-slot.group-slot.selected {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.time-slot.group-slot.selected .slot-badge-group {
    color: rgba(255, 255, 255, 0.85);
}

.slot-badge-group {
    display: block;
    font-size: 0.7rem;
    color: #0d6efd;
    font-weight: 600;
    margin-top: 0.25rem;
}

/* ===== Lesson Type Selection ===== */
.lesson-types-select {
    margin-top: 2rem;
}

.lesson-type-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}

.lesson-type-option:hover {
    border-color: var(--primary);
}

.lesson-type-option.selected {
    border-color: var(--primary);
    background: rgba(255, 107, 53, 0.05);
}

.lesson-type-info h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.lesson-type-info span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.lesson-type-price {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-video {
        display: none;
    }

    .hero-content {
        max-width: 100%;
        width: 100%;
        text-align: center;
    }

    .hero-title,
    .hero-description {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-card::after {
        display: none;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid,
    .about-content {
        grid-template-columns: 1fr;
    }

    .booking-grid {
        grid-template-columns: 1fr;
    }

    .booking-summary-card {
        position: static;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .dashboard-title {
        font-size: 1.5rem;
    }

    .dashboard-header .btn {
        width: auto;
    }

    .profile-card {
        padding: 1.5rem;
    }

    .bookings-card {
        padding: 1.25rem;
        min-width: 0;
        overflow: hidden;
    }

    .table th,
    .table td {
        padding: 0.6rem 0.5rem;
        font-size: 0.8rem;
    }

    .contact-info-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--secondary);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: var(--transition);
        z-index: 1001;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-auth {
        flex-direction: column;
        margin-top: 2rem;
    }

    .nav-toggle,
    .nav-close {
        display: block;
    }

    .nav-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
    }

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

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .dashboard-header .btn {
        width: auto;
    }

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

    .calendar-day {
        font-size: 0.75rem;
    }
}

/* ===== Modal (Frontend) ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--text-light);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
}

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

.modal-body {
    padding: 1.5rem;
}

/* ===== Bundles Page Styles ===== */
.bundles-section {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.bundles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.bundle-card {
    background: var(--text-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.bundle-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.bundle-card.featured {
    border: 2px solid var(--primary);
}

.bundle-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary);
    color: var(--text-light);
    padding: 5px 45px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    transform: rotate(45deg);
}

.bundle-header {
    margin-bottom: 1.5rem;
}

.bundle-name {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.bundle-lesson-type {
    display: inline-block;
    background: var(--gray-100);
    color: var(--text-muted);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.bundle-lessons {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.05));
    border-radius: var(--radius-md);
}

.bundle-lessons .lesson-count {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    line-height: 1;
}

.bundle-lessons .lesson-label {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bundle-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.bundle-pricing {
    margin-bottom: 1rem;
}

.bundle-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.bundle-savings {
    color: var(--success);
    font-weight: 600;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.bundle-per-lesson {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.bundle-validity {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    text-align: center;
}

.bundle-validity i {
    color: var(--primary);
    margin-right: 0.5rem;
}

/* Active Bundles Notice on Bundles Page */
.active-bundles-notice {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
    border: 2px solid var(--success);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
}

.active-bundles-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.active-bundles-header i {
    font-size: 1.5rem;
    color: var(--success);
}

.active-bundles-header h4 {
    margin: 0;
    color: var(--success);
}

.active-bundles-list {
    margin-bottom: 1rem;
}

.active-bundle-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(40, 167, 69, 0.2);
    flex-wrap: wrap;
}

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

.active-bundle-info {
    flex: 1;
}

.active-bundle-info strong {
    display: block;
}

.active-bundle-remaining {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.active-bundle-remaining .remaining-count {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success);
}

.active-bundle-remaining .remaining-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.active-bundle-expires {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* How Bundles Work Section */
.bundles-how-it-works {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
}

.bundles-how-it-works h3 {
    margin-bottom: 2rem;
}

.bundles-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.bundle-step {
    position: relative;
    text-align: center;
}

.bundles-how-it-works .bundle-step .step-number {
    position: static;
    transform: none;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.bundle-step h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.bundle-step p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

/* Dashboard Bundle Banner */
.bundle-dashboard-banner {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
    border: 2px solid var(--success);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
}

.bundle-banner-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.bundle-banner-header i {
    font-size: 1.5rem;
    color: var(--success);
}

.bundle-banner-header h4 {
    margin: 0;
    color: var(--success);
}

.bundle-banner-items {
    margin-bottom: 1rem;
}

.bundle-banner-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bundle-item-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.bundle-item-remaining {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.bundle-item-remaining .remaining-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--success);
}

.bundle-item-remaining .remaining-text {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.bundle-item-expiry {
    width: 100%;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Pending Bundle Notice */
.pending-bundle-notice {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid var(--warning);
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
}

.pending-bundle-notice i {
    font-size: 1.5rem;
    color: var(--warning);
}

.pending-bundle-content h4 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    color: #856404;
}

.pending-bundle-content p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Booking Page Bundle Banner */
.booking-bundle-banner {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
    border: 2px solid var(--success);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.booking-bundle-banner > i {
    font-size: 1.5rem;
    color: var(--success);
    margin-top: 0.25rem;
}

.booking-bundle-banner-content h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    color: var(--success);
}

.booking-bundle-banner-content p {
    margin: 0 0 0.75rem 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.bundle-summary-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bundle-summary-item {
    display: inline-block;
    background: rgba(40, 167, 69, 0.15);
    color: var(--success);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
}

/* Responsive for Bundles */
@media (max-width: 768px) {
    .bundles-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .bundle-dashboard-banner,
    .active-bundles-notice {
        padding: 1rem 1.25rem;
    }

    .bundle-banner-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .bundles-steps {
        grid-template-columns: 1fr;
    }
}
