/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    background-color: #FDF5E6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: #A52A2A;
    padding: 0.8rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 70px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo h2 {
    color: #FFD700;
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    color: #FFD700;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #FFF8DC;
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #FFD700;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #FFD700;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Banner Section */
.hero-banner {
    margin-top: 70px;
    padding: 2rem 0;
    background: #000000;
    color: white;
    text-align: center;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Slider Section */
.hero-slider-section {
    background: #000000;
    padding: 0;
}

.hero-slider {
    width: 100%;
    height: 85vh;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 0;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    font-style: italic;
    color: #FFD700;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero-quote {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-style: italic;
    color: #F5DEB3;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: #F4E4BC;
    color: #8B4513;
}

.btn-primary:hover {
    background-color: #FFF8DC;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #F4E4BC;
    border: 2px solid #F4E4BC;
}

.btn-secondary:hover {
    background-color: #F4E4BC;
    color: #8B4513;
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: #F5F5DC;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #A52A2A;
}

.about h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #A52A2A;
}

.about p {
    font-size: 1.1rem;
    text-align: left;
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
    color: #654321;
    line-height: 1.8;
}

/* Classes Section */
.classes {
    padding: 4rem 0;
    background-color: #FDF5E6;
}

.classes h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #A52A2A;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.class-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.class-card:hover {
    transform: translateY(-5px);
}

.class-card h3 {
    color: #A52A2A;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.class-card p {
    color: #666;
}

/* Blog Section */
.blog {
    padding: 4rem 0;
    background-color: #F5F5DC;
}

.blog h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #8B0000;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    color: #8B0000;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.blog-content p {
    color: #666;
    margin-bottom: 1rem;
}

.read-more {
    color: #8B0000;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    color: #B22222;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: #FDF5E6;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #8B0000;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h3 {
    color: #8B0000;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-info p {
    color: #666;
    margin-bottom: 2rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: #654321;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.contact-form button {
    width: 100%;
    padding: 12px;
        background-color: #A52A2A;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #B22222;
}

/* Footer */
.footer {
    background-color: #8B0000;
    color: #DAA520;
    padding: 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-info h3 {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-info p {
    margin-bottom: 1rem;
    font-style: italic;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: #F5DEB3;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #A52A2A;
    padding-top: 1rem;
    margin-top: 1rem;
}

/* Google Calendar Widget Styling */
.calendar-widget {
    margin-top: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.calendar-widget h4 {
    color: #A52A2A;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.calendar-widget p {
    color: #666;
    margin-bottom: 1.5rem;
}

.calendar-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.calendar-btn {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 15px 20px;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.calendar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.calendar-info {
    background: #F5F5DC;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #A52A2A;
}

.calendar-info p {
    margin-bottom: 0.5rem;
    color: #654321;
    font-size: 0.95rem;
}

.calendar-info p:last-child {
    margin-bottom: 0;
}

/* Class Card Hover Styling */
.class-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.class-header:hover {
    color: #8B0000;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.class-content {
    display: none;
    opacity: 0;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #E0E0E0;
    transition: opacity 0.3s ease;
}

.trial-btn {
    width: 100%;
    text-align: center;
    padding: 15px 20px;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.trial-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.construction-message {
    color: #8B0000;
    font-style: italic;
    text-align: center;
    padding: 1rem;
    background-color: #FFF8DC;
    border-radius: 5px;
    border: 1px dashed #A52A2A;
    margin: 0;
}

/* Video Gallery Styles */
.video-main-display {
    margin-bottom: 2rem;
}

.main-video-container {
    position: relative;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.main-video-thumbnail {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(165, 42, 42, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: rgba(165, 42, 42, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem;
}

.video-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #FFD700;
}

.video-info p {
    font-size: 1rem;
    opacity: 0.9;
}

.video-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.thumbnail-item {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.thumbnail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.thumbnail-item.active {
    border-color: #A52A2A;
}

.thumbnail-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
}

.thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumbnail-item:hover .thumb-overlay {
    opacity: 1;
}

.play-icon {
    color: white;
    font-size: 1.5rem;
    background: rgba(165, 42, 42, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-item p {
    padding: 0.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #654321;
    background: white;
    margin: 0;
}

/* Video Modal */
.video-modal-content {
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    max-width: 90vw;
    max-height: 90vh;
}

#videoPlayer {
    width: 100%;
    height: 500px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

/* Gallery Tabs */
.gallery-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.tab-btn {
    padding: 12px 24px;
    background: transparent;
    border: 2px solid #A52A2A;
    color: #A52A2A;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    background: #A52A2A;
    color: white;
}

.gallery-content {
    display: none;
}

.gallery-content.active {
    display: block;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    margin: 0;
    font-size: 1.1rem;
}

/* Student Portal Styles */
.login-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #F5F5DC 0%, #FDF5E6 100%);
    min-height: 80vh;
}

.login-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    overflow: hidden;
}

.login-tabs {
    display: flex;
    background: linear-gradient(135deg, #A52A2A 0%, #8B0000 100%);
    border-radius: 20px 20px 0 0;
}

.login-tabs .tab-btn {
    flex: 1;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    color: rgba(255, 215, 0, 0.7);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.login-tabs .tab-btn:hover {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
}

.login-tabs .tab-btn.active {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.15);
}

.login-tabs .tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #FFD700;
}

.login-content {
    display: none;
    padding: 3rem;
}

.login-content.active {
    display: block;
}

.login-form-container {
    max-width: 500px;
    margin: 0 auto;
}

.login-form-container h2 {
    color: #A52A2A;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 700;
}

.login-form-container p {
    color: #666;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.login-form {
    background: #FAFAFA;
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid #E0E0E0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #A52A2A;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #A52A2A;
    box-shadow: 0 0 0 3px rgba(165, 42, 42, 0.1);
    transform: translateY(-2px);
}

.login-btn {
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(135deg, #A52A2A 0%, #8B0000 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(165, 42, 42, 0.3);
}

.login-links {
    text-align: center;
    margin-top: 1.5rem;
}

.login-links a {
    color: #A52A2A;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.login-links a:hover {
    color: #8B0000;
    text-decoration: underline;
}

.portal-features {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #F5F5DC 0%, #FFF8DC 100%);
    border-radius: 15px;
    border: 1px solid #E0E0E0;
}

.portal-features h3 {
    color: #A52A2A;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-item h4 {
    color: #A52A2A;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-item p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { 
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    to { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* Image Modal Styles */
#imageModal .modal-content {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    width: auto;
    max-width: 95vw;
    max-height: 95vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    border-radius: 10px;
    overflow: hidden;
    animation: zoomIn 0.4s ease-out;
}

#imageModal #modalImage {
    width: 100%;
    height: auto;
    max-width: 95vw;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    border-radius: 10px;
}

#imageModal #caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    border-radius: 0 0 10px 10px;
}

.modal .close {
    color: white;
    position: fixed;
    right: 30px;
    top: 30px;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2001;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.modal .close:hover {
    color: #FFD700;
    background: rgba(165, 42, 42, 0.8);
    transform: scale(1.1);
}

/* Regular modal content for other modals */
.modal-content {
    background-color: 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);
}

.modal h3 {
    color: #A52A2A;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Navigation arrows for image modal */
.modal-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 30px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2001;
    border-radius: 5px;
    backdrop-filter: blur(10px);
}

.modal-nav:hover {
    background: rgba(165, 42, 42, 0.8);
    color: #FFD700;
    transform: translateY(-50%) scale(1.1);
}

.modal-prev {
    left: 30px;
}

.modal-next {
    right: 30px;
}

/* Mobile responsive modal */
@media screen and (max-width: 768px) {
    #imageModal .modal-content {
        max-width: 98vw;
        max-height: 98vh;
    }
    
    #imageModal #modalImage {
        max-width: 98vw;
        max-height: 85vh;
    }
    
    .modal .close {
        right: 15px;
        top: 15px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
    
    .modal-nav {
        font-size: 24px;
        padding: 10px 15px;
    }
    
    .modal-prev {
        left: 15px;
    }
    
    .modal-next {
        right: 15px;
    }
    
    #imageModal #caption {
        font-size: 1rem;
        padding: 1.5rem 1rem 1rem 1rem;
    }
}

/* Responsive Design for Login */
@media screen and (max-width: 768px) {
    .login-container {
        margin: 1rem;
        border-radius: 15px;
    }
    
    .login-content {
        padding: 2rem 1.5rem;
    }
    
    .login-form {
        padding: 2rem 1.5rem;
    }
    
    .login-tabs .tab-btn {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .calendar-buttons {
        flex-direction: column;
    }
    
    .calendar-btn {
        min-width: auto;
        width: 100%;
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #8B0000;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .classes-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
        text-align: center;
    }
}
.social-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.social-link {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #111;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
  opacity: 0.92;
}

.social-link:hover { transform: translateY(-1px); opacity: 1; }
.social-link svg { width: 18px; height: 18px; fill: #fff; }

/* If your site has a light background and you want softer buttons: */
.social-link { background: #222; }

/* Optional: size variants */
.social-links.sm .social-link { width: 28px; height: 28px; }
.social-links.lg .social-link { width: 40px; height: 40px; }
.social-links.lg .social-link svg { width: 20px; height: 20px; }

/* === Performances theme sync (Shivakanya palette) === */
:root{
  --brand:#A52A2A;       /* maroon */
  --brand-dark:#8B0000;  /* deep maroon */
  --gold:#FFD700;        /* gold */
  --cream:#FDF5E6;       /* page bg */
  --chip-bg:#FFF8DC;     /* soft gold chip */
  --chip-br:#F3E3A3;     /* chip border */
  --ink:#333;
}

/* Filters: pill group aligned to your palette */
.filters{
  position: sticky; top: 72px; z-index: 2;
  display:flex; flex-wrap:wrap; gap:.6rem; justify-content:center;
  padding:.6rem; margin:.75rem 0 1.25rem;
  background: #fff;                     /* sits on cream background nicely */
  border:1px solid rgba(165,42,42,.25); /* maroon tint */
  border-radius: 999px;
}
.filter-btn{
  border:1px solid rgba(165,42,42,.35);
  background:#F4E4BC;                   /* matches your .btn-primary */
  color:#8B4513;
  font-weight:700; letter-spacing:.01em;
  padding:.55rem .95rem; border-radius:999px; cursor:pointer;
  transition: transform .05s ease, box-shadow .15s ease, border-color .15s ease, background .15s;
}
.filter-btn:hover{ 
  border-color: var(--brand);
  box-shadow: inset 0 0 0 2px rgba(165,42,42,.12);
}
.filter-btn.active{
  background: var(--brand);
  color:#fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(165,42,42,.15) inset;
}

/* Grid: no change to structure, just keep it responsive */
.performance-grid{
  display:grid; gap:14px;
  grid-template-columns: repeat(auto-fit, minmax(320px,1fr));
}

/* Cards: subtle shadow, maroon/gold accents */
.performance-card{
  display:flex; align-items:stretch; justify-content:space-between; gap:18px;
  background:#fff;
  border:1px solid #e9e9e9;
  border-radius:16px;
  padding:18px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease;
}
.performance-card:hover{ transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,.1); border-color:#ddd; }

/* Type color/spacing inside cards */
.performance-info h3{ margin:0 0 .25rem; font-size:1.1rem; line-height:1.25; color: var(--brand-dark); }
.performance-info .venue{ margin:.1rem 0 .35rem; color:#654321; }
.performance-info .description{ margin:.4rem 0 .6rem; color:#444; }

/* Chips for time/price/status with gold vibe */
.performance-details{ display:flex; gap:.75rem; flex-wrap:wrap; font-weight:600; }
.performance-details .price, .performance-details .time, .performance-details .status{
  padding:.25rem .55rem; border-radius:8px;
  background: var(--chip-bg);
  border:1px solid var(--chip-br);
  color:#8B4513;
}

/* Date badge with maroon dashed divider */
.performance-date{
  flex:0 0 auto; align-self:center;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  width:90px; min-height:84px;
  border-left:1px dashed rgba(165,42,42,.3);
  padding-left:14px;
}
.performance-date .month{
  font-weight:800; letter-spacing:.06em; opacity:.9;
  text-transform: uppercase;            /* your past style */
}
.performance-card[data-type="upcoming"] .performance-date .month{
  text-transform: none;                 /* allow 'Sept' for upcoming if typed that way */
}
.performance-date .day{ font-size:1.8rem; line-height:1; font-weight:800; margin:.1rem 0; color: var(--brand-dark); }
.performance-date .year{ font-weight:700; opacity:.9; }

/* Left edge accents using house colors */
.performance-card[data-type="upcoming"]{ border-left:4px solid var(--gold); }
.performance-card[data-type="past"]{     border-left:4px solid var(--brand-dark); }

/* Hidden sections still collapse */
[hidden]{ display:none !important; }

/* Small screens tweak */
@media (max-width:540px){
  .performance-card{ padding:14px; gap:14px; }
  .performance-date{ width:78px; padding-left:12px; }
  .performance-date .day{ font-size:1.6rem; }
}
