/* Classes Page Specific Styles */

/* Page Header */
.page-header {
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(255, 149, 0, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(249, 115, 22, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, #FFF5EB 0%, #FFE4CC 30%, #FFD4A3 70%, #FFB366 100%);
    padding: 150px 0 80px;
    text-align: center;
    color: var(--text-dark);
    margin-top: 60px;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--primary-color);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FF9500' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.6;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--krishna-orange);
    text-shadow: 2px 2px 4px rgba(234, 88, 12, 0.3);
    font-family: 'Cinzel', serif;
}

.page-header-content p {
    font-size: 1.3rem;
    opacity: 0.95;
    color: var(--deep-saffron);
    letter-spacing: 2px;
    font-style: italic;
}

/* Classes Intro */
.classes-intro {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(255, 149, 0, 0.08) 0%, rgba(249, 115, 22, 0.05) 100%);
    text-align: center;
}

.classes-intro h2 {
    font-size: 2.2rem;
    color: var(--krishna-orange);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(234, 88, 12, 0.2);
    font-family: 'Cinzel', serif;
}

.classes-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

/* Classes List */
.classes-list {
    padding: 60px 0;
    background: linear-gradient(135deg, #FFF5EB 0%, #FFE8D6 50%, #FFD4A3 100%);
}

.classes-list h2 {
    font-size: 2.2rem;
    color: var(--krishna-orange);
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(234, 88, 12, 0.2);
    font-family: 'Cinzel', serif;
}

.class-card {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--white) 0%, #FFF8F0 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 3px solid var(--border-color);
    margin-bottom: 25px;
    padding: 25px;
    border: 3px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(255, 159, 67, 0.2);
    transition: all 0.3s ease;
    gap: 20px;
}

.class-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(249, 115, 22, 0.3);
    border-color: var(--deep-saffron);
    background: linear-gradient(135deg, var(--white) 0%, #FFE8D6 100%);
}

.class-image {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--border-color);
    box-shadow: 0 0 20px rgba(255, 149, 0, 0.3);
}

.class-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.class-card:hover .class-image img {
    transform: scale(1.05);
}

.class-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--deep-saffron) 0%, var(--krishna-orange) 50%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: 15px;
    padding: 15px 20px;
    min-width: 80px;
    margin-right: 25px;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
    border: 2px solid var(--accent-color);
}

.class-date .month {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.class-date .day {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Segoe UI', sans-serif;
}

.class-info {
    flex: 1;
}

.class-info h3 {
    color: var(--krishna-orange);
    font-size: 1.3rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Cinzel', serif;
}

.class-location {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.class-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.class-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.class-meta span {
    font-size: 0.85rem;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(255, 149, 0, 0.15) 0%, rgba(249, 115, 22, 0.1) 100%);
    border: 1px solid var(--border-color);
    color: var(--krishna-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.class-meta .price {
    background: linear-gradient(135deg, var(--accent-color), #FFA500);
    color: #000;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.class-meta .duration {
    background: rgba(0, 212, 255, 0.2);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.class-meta .seats {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.class-meta .seats.charity {
    background: rgba(233, 30, 99, 0.2);
    color: #E91E63;
    border: 1px solid #E91E63;
}

.class-action {
    margin-left: 20px;
}

.class-action .btn {
    white-space: nowrap;
    padding: 12px 25px;
}

/* Class Info Section */
.class-info-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.03) 0%, rgba(0, 212, 255, 0.03) 100%);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.info-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--neon-glow), 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 212, 255, 0.5);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.info-card ul {
    list-style: none;
    text-align: left;
}

.info-card li {
    padding: 10px 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-light);
    position: relative;
    padding-left: 25px;
}

.info-card li:last-child {
    border-bottom: none;
}

.info-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Active Nav Link */
.nav-links a.active {
    color: var(--primary-color);
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Booking Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(135deg, #1A1A3E 0%, #0D0D2B 100%);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.3);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(0, 212, 255, 0.05);
}

.modal-header h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.close-modal {
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.close-modal:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.modal-body {
    padding: 30px;
}

.class-summary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.class-summary-image {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--glass-border);
    flex-shrink: 0;
}

.class-summary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.class-summary-info h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.class-summary-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.booking-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.booking-form label {
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.booking-form input,
.booking-form textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 12px 15px;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.booking-form input:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.booking-form input::placeholder,
.booking-form textarea::placeholder {
    color: var(--text-light);
    opacity: 0.5;
}

.booking-summary {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 20px;
    margin-top: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-light);
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.pay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #00C853 0%, #00a344 100%) !important;
    box-shadow: 0 0 20px rgba(0, 200, 83, 0.4) !important;
}

.pay-btn:hover {
    box-shadow: 0 0 30px rgba(0, 200, 83, 0.6) !important;
}

.pay-btn .btn-icon {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
    }

    .page-header-content h1 {
        font-size: 2rem;
    }

    .page-header-content p {
        font-size: 1.1rem;
    }

    .class-card {
        flex-direction: column;
        text-align: center;
    }

    .class-image {
        width: 100%;
        height: 200px;
    }

    .class-date {
        margin-right: 0;
        margin-bottom: 20px;
        flex-direction: row;
        gap: 10px;
        padding: 10px 25px;
    }

    .class-date .day {
        font-size: 1.5rem;
    }

    .class-action {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
    }

    .class-action .btn {
        width: 100%;
    }

    .class-meta {
        justify-content: center;
    }

    .modal-content {
        margin: 10px;
        max-height: 95vh;
    }

    .modal-body {
        padding: 20px;
    }

    .class-summary {
        flex-direction: column;
        text-align: center;
    }

    .form-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .classes-intro h2,
    .classes-list h2 {
        font-size: 1.8rem;
    }

    .class-info h3 {
        font-size: 1.1rem;
    }

    .class-meta {
        gap: 10px;
    }

    .class-meta span {
        font-size: 0.8rem;
        padding: 4px 10px;
    }
}
