/* Main CSS for מחזמר.com */

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

body {
    font-family: 'Assistant', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
.header {
    background: #f3e9d6;
    color: #2d3436;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

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

.logo-link {
    display: block;
    text-decoration: none;
}

.logo-image {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #2d3436;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-links a {
    color: #2d3436;
    text-decoration: none;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.nav-links a:hover {
    background-color: rgba(45,52,54,0.1);
}

/* Main content */
.main {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

/* Hero section */
.hero {
    text-align: center;
    padding: 3rem 0;
    background: white;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.hero h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Musicals grid */
.musicals-grid h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 400px));
    gap: 2rem;
    margin-bottom: 3rem;
    justify-content: center;
}

/* Musical cards */
/* Override all link styles with high specificity */
a.musical-card,
a.musical-card:link,
a.musical-card:visited,
a.musical-card:hover,
a.musical-card:active,
a.musical-card:focus {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none !important;
    color: #333 !important;
}

a.musical-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    color: #333 !important;
}

/* Force all child elements to inherit proper colors */
a.musical-card *,
a.musical-card h4,
a.musical-card p,
a.musical-card .production-company-card,
a.musical-card .description,
a.musical-card .next-show {
    color: inherit !important;
    text-decoration: none !important;
}

a.musical-card .category-badge {
    color: white !important;
}

a.musical-card .view-details-btn {
    color: white !important;
    text-decoration: none !important;
}

.card-image {
    height: 250px;
    overflow: hidden;
    flex-shrink: 0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.musical-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h4 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.production-company-card {
    color: #667eea;
    font-size: 0.9rem;
    margin: 0 0 0.5rem 0;
    font-weight: 500;
}

/* Category badges */
.category-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.category-לכל-המשפחה {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}

.category-הפקת-חובבים {
    background: linear-gradient(135deg, #FF9800, #f57c00);
    box-shadow: 0 2px 4px rgba(255, 152, 0, 0.3);
}

.category-רגיל {
    background: linear-gradient(135deg, #2196F3, #1976d2);
    box-shadow: 0 2px 4px rgba(33, 150, 243, 0.3);
}

.category-בית-ספר-למשחק {
    background: linear-gradient(135deg, #9C27B0, #7B1FA2);
    box-shadow: 0 2px 4px rgba(156, 39, 176, 0.3);
}

.category-מחזה-מוזיקאלי {
    background: linear-gradient(135deg, #E91E63, #C2185B);
    box-shadow: 0 2px 4px rgba(233, 30, 99, 0.3);
}

.musical-category {
    margin-bottom: 1rem;
}

/* Category Filter Checkboxes */
.category-filters {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.category-filters h3 {
    margin: 0 0 1rem 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.filter-checkboxes {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    user-select: none;
    transition: all 0.3s ease;
}

.filter-checkbox:hover {
    color: #667eea;
}

.filter-checkbox input[type="checkbox"] {
    margin-left: 0.5rem;
    width: 18px;
    height: 18px;
    accent-color: #667eea;
    cursor: pointer;
}

.filter-checkbox input[type="checkbox"]:checked + .checkmark {
    color: #667eea;
}

.checkmark {
    transition: color 0.3s ease;
}

/* Mobile responsive for filters */
@media (max-width: 768px) {
    .category-filters {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .filter-checkboxes {
        gap: 1rem;
    }
    
    .filter-checkbox {
        font-size: 0.9rem;
    }
}

/* Newsletter Button */
.newsletter-simple {
    text-align: center;
    margin: 3rem 0 2rem 0;
}

.newsletter-btn {
    display: inline-block;
    background: #667eea;
    color: white !important;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.newsletter-btn:hover {
    background: #5a6fd8 !important;
    border-color: #5a6fd8 !important;
    text-decoration: none !important;
    color: white !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4) !important;
    transform: translateY(-3px) !important;
    filter: brightness(1.1) !important;
}

.description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
    flex-grow: 1;
    overflow: visible;
    white-space: normal;
    display: block;
}

.next-show {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.next-show .label {
    font-weight: 600;
    color: #f4a261;
}

.next-show .date {
    font-weight: 500;
    color: #333;
}

.view-details-btn {
    background: linear-gradient(135deg, #f4a261 0%, #e76f51 100%);
    color: #2d3436;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(244, 162, 97, 0.3);
}

.view-details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 162, 97, 0.4);
}

/* Musical detail page */
.breadcrumb {
    margin-bottom: 2rem;
    color: #666;
}

.breadcrumb a {
    color: #f4a261;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.musical-detail {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.detail-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    padding: 2rem;
}

.detail-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
}

.detail-info h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.production-company {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.production-company p,
.production-company .production-company-card,
.detail-info .production-company p,
.detail-info .production-company .production-company-card {
    color: #667eea !important;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

.production-company strong {
    color: #2c3e50;
    font-weight: 600;
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-top: 1rem;
}

/* Performances section */
.performances-section {
    padding: 1rem;
    border-top: 1px solid #eee;
}

.performances-section h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 600;
}

.performances-grid {
    display: grid;
    gap: 0.5rem;
}

.performance-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.5rem 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: background-color 0.3s ease;
    min-height: 50px;
    max-height: 60px;
    overflow: hidden;
    box-sizing: border-box;
}

.performance-card:hover {
    background-color: #e9ecef;
}

.performance-date {
    text-align: center;
    min-width: 80px;
    flex-shrink: 0;
}

.performance-date .day {
    display: block;
    font-size: 0.75rem;
    color: #667eea;
    font-weight: 600;
    line-height: 1;
}

.performance-date .date {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1;
}

.performance-date .time {
    display: block;
    font-size: 0.8rem;
    color: #666;
    line-height: 1;
}

.performance-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    overflow: hidden;
    min-height: 0;
    justify-content: center;
    text-align: center;
}

.location {
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.venue {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price {
    font-size: 0.85rem;
    font-weight: 700;
    color: #f4a261;
    line-height: 1.1;
}

.seats .available {
    color: #28a745;
    font-weight: 500;
    font-size: 0.75rem;
    line-height: 1.1;
}

.seats .sold-out {
    color: #dc3545;
    font-weight: 600;
    font-size: 0.75rem;
    line-height: 1.1;
}

.book-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
    height: 32px;
    line-height: 1;
}

.performance-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.book-btn:hover {
    opacity: 0.9;
    color: white;
    text-decoration: none;
}

.book-btn.disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.no-performances {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.back-button {
    padding: 2rem;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #f4a261 0%, #e76f51 100%);
    color: #2d3436;
    font-weight: 600;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-outline {
    background: transparent;
    color: #f4a261;
    border: 2px solid #f4a261;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer p {
    margin-bottom: 0.5rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav {
        position: relative;
        justify-content: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 0;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #f3e9d6;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        border-radius: 8px;
        margin-top: 0.5rem;
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(45,52,54,0.1);
        border-radius: 0;
    }
    
    .nav-links li:last-child a {
        border-bottom: none;
    }
    
    .logo-image {
        height: 60px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .detail-header {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .performance-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.2rem;        
        min-height: 50px;
        max-height: 60px;
    }
    
    .performance-date {
        min-width: 60px;
        flex-shrink: 0;
        text-align: center;
    }
    
    .performance-date .day {
        font-size: 0.65rem !important;
    }
    
    .performance-date .date {
        font-size: 0.8rem !important;
    }
    
    .performance-date .time {
        font-size: 0.7rem !important;
    }
    
    .performance-details {
        flex: 1;
        text-align: center;
        gap: 0.05rem;
        overflow: hidden;
        padding: 0;
    }
    
    .performance-actions {
        flex-shrink: 0;
        display: flex;
        justify-content: center;
    }
    
    .book-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
        height: 24px;
        border-radius: 8px;
        min-width: 60px;
        max-width: 80px;
    }
    
    .location {
        font-size: 0.8rem !important;
        line-height: 1.1 !important;
    }
    
    .venue {
        font-size: 0.65rem !important;
        line-height: 1.1 !important;
    }
    
    .price {
        font-size: 0.75rem !important;
        line-height: 1.1 !important;
    }
    
    .seats .available,
    .seats .sold-out {
        font-size: 0.65rem !important;
        line-height: 1.1 !important;
    }
}

/* Newsletter page styles */
.newsletter-section {
    padding: 2rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.newsletter-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.newsletter-content h1 {
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 2.5rem;
}

.newsletter-content > p {
    font-size: 1.2rem;
    color: #555;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.newsletter-benefits {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    color: white;
}

.newsletter-benefits h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.newsletter-benefits ul {
    list-style: none;
    padding: 0;
}

.newsletter-benefits li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-benefits li:last-child {
    border-bottom: none;
}

.newsletter-form {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.newsletter-form h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.4rem;
}

.newsletter-privacy {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #e8f4f8;
    border-radius: 6px;
    border-left: 4px solid #17a2b8;
}

.newsletter-privacy p {
    color: #666;
    text-align: center;
    margin: 0;
}

/* MailerLite form styling */
.ml-embedded {
    margin: 1rem 0;
}

/* Responsive newsletter styles */
@media (max-width: 768px) {
    .newsletter-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .newsletter-content h1 {
        font-size: 2rem;
    }
    
    .newsletter-benefits,
    .newsletter-form {
        padding: 1rem;
    }
}

/* Contact page styles */
.contact-section {
    padding: 2rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.contact-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-content h1 {
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 2.5rem;
}

.contact-content > p {
    font-size: 1.2rem;
    color: #555;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Message alerts */
.message {
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    text-align: center;
    font-weight: 500;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Contact info section */
.contact-info {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    color: white;
}

.contact-info h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.contact-details {
    display: grid;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item a {
    color: white;
    text-decoration: underline;
}

.contact-item a:hover {
    color: #f0f0f0;
}

/* Contact form container */
.contact-form-container {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.contact-form-container h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.4rem;
}

/* Form styles */
.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Assistant', Arial, sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact FAQ */
.contact-faq {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #e8f4f8;
    border-radius: 8px;
    border-right: 4px solid #17a2b8;
}

.contact-faq h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.faq-item {
    margin-bottom: 1.5rem;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive contact styles */
@media (max-width: 768px) {
    .contact-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .contact-content h1 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-info,
    .contact-form-container,
    .contact-faq {
        padding: 1rem;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
    }
}

/* Calendar page styles */
.calendar-section {
    padding: 2rem 0;
    max-width: 1000px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    color: #666;
    font-size: 1.2rem;
}

/* Calendar container */
.calendar-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 3rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.calendar-nav {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
}

.calendar-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.calendar-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

/* Calendar grid */
.calendar {
    padding: 2rem;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 1rem;
}

.weekday {
    text-align: center;
    padding: 0.8rem 0;
    font-weight: 600;
    color: #667eea;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.9rem;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    background: #e9ecef;
    border-radius: 6px;
    overflow: hidden;
    padding: 2px;
}

.calendar-day {
    background: white;
    padding: 0.8rem;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 4px;
    aspect-ratio: 1;
    box-sizing: border-box;
}

.calendar-day.empty {
    background: #f8f9fa;
    cursor: default;
}

.calendar-day.past {
    background: #f8f9fa;
    color: #adb5bd;
    cursor: default;
}

.calendar-day.today {
    background: #e3f2fd;
    border: 2px solid #2196f3;
}

.calendar-day.has-performances {
    background: linear-gradient(135deg, #667eea20 0%, #764ba240 100%);
    border: 2px solid #667eea;
}

.calendar-day.has-performances:hover {
    background: linear-gradient(135deg, #667eea40 0%, #764ba260 100%);
    transform: scale(1.02);
}

.calendar-day.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.day-number {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    line-height: 1;
}

.performance-count {
    font-size: 0.7rem;
    background: #667eea;
    color: white;
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}

.calendar-day.active .performance-count {
    background: rgba(255, 255, 255, 0.3);
}

/* Performance details */
.performance-details {
    background: white;
    border-radius: 15px;
    padding: 2rem;    
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.performance-details h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.performance-detail-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: box-shadow 0.3s ease;
}

.performance-detail-item:hover {
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.performance-detail-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.performance-detail-item h4 .musical-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.performance-detail-item h4 .musical-link:hover {
    color: #5a6fd8;
    text-decoration: underline;
}

.performance-detail-item .production-company {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 1rem;
    display: block;
}

.performance-info {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    align-items: center;
}

.performance-info span {
    background: #f8f9fa;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #495057;
}

.performance-info .time {
    background: #e3f2fd;
    color: #1976d2;
    font-weight: 600;
}

.performance-info .price {
    background: #e8f5e8;
    color: #2e7d32;
    font-weight: 600;
}

/* Monthly summary */
.monthly-summary {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.monthly-summary h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
}

.performance-summary-grid {
    display: grid;
    gap: 2rem;
}

.day-summary {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
}

.day-summary h4 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.day-performances {
    display: grid;
    gap: 1rem;
}

.performance-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid #667eea;
}

.performance-item strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 0.3rem;
}

.performance-item .production-company {
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}

.performance-details-text {
    color: #666;
    font-size: 0.9rem;
}

.no-performances {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.no-performances p {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.no-performances .website-link {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

.no-performances .website-link:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Responsive calendar styles */
@media (max-width: 768px) {
    .calendar-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem;
    }
    
    .calendar-title {
        font-size: 1.5rem;
    }
    
    .calendar {
        padding: 1rem;
    }
    
    .calendar-day {
        min-height: 70px;
        padding: 0.4rem;
        aspect-ratio: 1;
    }
    
    .day-number {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    .performance-count {
        font-size: 0.6rem;
        padding: 0.1rem 0.2rem;
    }
    
    .weekday {
        padding: 0.5rem 0;
        font-size: 0.8rem;
    }
    
    .calendar-weekdays,
    .calendar-days {
        gap: 1px;
    }
    
    .performance-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .calendar-container,
    .performance-details,
    .monthly-summary {
        margin: 1rem;
    }
}
