/* Modern Theatre Website Styles */

:root {
    /* Color Palette */
    --primary-burgundy: #8B1538;
    --primary-navy: #1A2B4C;
    --accent-gold: #D4AF37;
    --light-burgundy: #A64D79;
    --dark-navy: #0F1B2E;
    --warm-white: #FEFCF7;
    --soft-gray: #F5F5F5;
    --medium-gray: #666666;
    --light-gray: #E8E8E8;
    --text-dark: #2C2C2C;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 2rem;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--warm-white);
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.75rem;
}

p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--medium-gray);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-size: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-burgundy);
    color: white;
}

.btn-primary:hover {
    background-color: var(--light-burgundy);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 21, 56, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-navy);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-burgundy);
    border-color: var(--primary-burgundy);
}

.btn-outline:hover {
    background-color: var(--primary-burgundy);
    color: white;
}

.btn-ghost {
    background-color: transparent;
    color: var(--medium-gray);
    border: none;
    padding: 14px 16px;
}

.btn-ghost:hover {
    color: var(--primary-burgundy);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background-color: #1c1c1b;
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background-color: var(--primary-navy);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-logo i {
    color: var(--accent-gold);
    font-size: 1.75rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--accent-gold);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 43, 76, 0.8) 0%,
        rgba(139, 21, 56, 0.6) 100%
    );
    z-index: -1;
}

.hero-content {
    width: 100%;
    color: white;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Section */
.featured {
    padding: var(--section-padding);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.featured-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.featured-card.spotlight {
    border: 2px solid var(--accent-gold);
}

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover .card-image img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-burgundy);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.card-content p {
    margin-bottom: 1.5rem;
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--medium-gray);
}

.detail-item i {
    color: var(--primary-burgundy);
    width: 20px;
}

/* Background Classes */
.grey-bg {
    background-color: var(--soft-gray);
}

.white-bg {
    background-color: white;
}

/* Shows Section */
.shows {
    padding: var(--section-padding);
}

.shows-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    justify-items: center;
}

.show-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
    width: 100%;
    max-width: 400px;
}

.show-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.show-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.show-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.show-card:hover .show-image img {
    transform: scale(1.05);
}

.show-status {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.show-status.current {
    background-color: var(--primary-burgundy);
    color: white;
}

.show-status.upcoming {
    background-color: var(--accent-gold);
    color: var(--primary-navy);
}

.show-status.planning {
    background-color: var(--light-gray);
    color: var(--medium-gray);
}

.show-info {
    padding: 2rem;
}

.show-info h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.show-info p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.show-schedule {
    margin-bottom: 2rem;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--text-dark);
}

.schedule-item i {
    color: var(--primary-burgundy);
    width: 20px;
}

.show-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Show Pagination */
.hidden-show {
    display: none;
}

.show-pagination {
    text-align: center;
    margin-top: 3rem;
}

.expand-shows-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--dark-navy) 100%);
    color: white;
    border: 2px solid var(--accent-gold);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(26, 43, 76, 0.3);
}

.expand-shows-btn:hover {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #F4D03F 100%);
    color: var(--primary-navy);
    border-color: var(--primary-navy);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.expand-shows-btn .expand-text {
    font-weight: 600;
}

.expand-shows-btn .show-count {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
}

.expand-shows-btn .expand-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.expand-shows-btn:hover .expand-icon {
    transform: translateY(2px);
}

/* Classes Section */
.classes {
    padding: var(--section-padding);
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.class-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.class-card.premium {
    border: 2px solid var(--accent-gold);
    position: relative;
}

.class-card.premium::before {
    content: 'Premium Training';
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(45deg, var(--accent-gold), #F4D03F);
    color: var(--primary-navy);
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%);
}

.class-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.class-header {
    position: relative;
}

.class-image {
    height: 250px;
    overflow: hidden;
}

.class-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.class-card:hover .class-image img {
    transform: scale(1.05);
}

.class-tag {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background-color: rgba(139, 21, 56, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.class-content {
    padding: 2rem;
}

.class-content h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.class-content p {
    margin-bottom: 1.5rem;
}

.class-schedule {
    background-color: var(--soft-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.schedule-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.schedule-row:last-child {
    margin-bottom: 0;
}

.schedule-row i {
    color: var(--primary-burgundy);
    width: 20px;
}

.class-benefits {
    margin-bottom: 2rem;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Mission Section */
.mission {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--dark-navy) 100%);
    color: white;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-content h2 {
    color: var(--accent-gold);
    margin-bottom: 2rem;
}

.mission-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.mission-content p:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    background-color: var(--dark-navy);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-logo i {
    color: var(--accent-gold);
    font-size: 1.75rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent-gold);
    color: var(--primary-navy);
    transform: translateY(-2px);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-gold);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
    color: var(--accent-gold);
    width: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 900px) {
    .shows-grid {
        gap: 1.5rem;
    }
    
    .show-card {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .featured-grid,
    .classes-grid,
    .shows-grid {
        grid-template-columns: 1fr;
    }
    
    .show-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .show-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    :root {
        --section-padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }
    
    .card-content,
    .show-info,
    .class-content {
        padding: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (min-width: 1400px) {
    .shows-grid {
        gap: 3rem;
    }
    
    .show-card {
        max-width: 450px;
    }
}