/* Denver Chinese School - Static Website Styles */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

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

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #c41e3a;
    margin-bottom: 0.2rem;
}

.logo-text p {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

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

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav a:hover {
    background: #c41e3a;
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #c41e3a 0%, #8b1538 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    line-height: 1.7;
}

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

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #ffd700;
    color: #333;
    border-color: #ffd700;
}

.btn-primary:hover {
    background: #ffed4a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-tel {
    background: white;
    color: #333;
    border-color: white;
}

.btn-secondary:hover, .btn-tel:hover {
    background: white;
    color: #c41e3a;
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #c41e3a;
    border-radius: 2px;
}

/* Campuses Section */
.campuses {
    background: #f8f9fa;
}

.campus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.campus-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.campus-card:hover {
    transform: translateY(-5px);
}

.campus-card h3 {
    color: #c41e3a;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.campus-info p {
    margin-bottom: 1rem;
    color: #555;
}

.staff-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.staff-info h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Registration Section */
.registration {
    background: white;
}

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

.registration-info h3 {
    color: #c41e3a;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.registration-info ol {
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.registration-info li {
    margin-bottom: 0.5rem;
    color: #555;
}

.registration-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.contact-buttons .btn {
    text-align: center;
}

/* Calendar Section */
.calendar {
    background: #f8f9fa;
}

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

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

.calendar-item h3 {
    color: #c41e3a;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.calendar-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.calendar-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(196, 30, 58, 0.2);
}

/* Modal styles for calendar zoom */
.calendar-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.calendar-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-modal-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalZoom 0.3s ease-out;
}

.calendar-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.calendar-modal-close:hover {
    opacity: 0.7;
}

@keyframes modalZoom {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

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

.important-dates h3 {
    color: #c41e3a;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.important-dates ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.8rem;
}

.important-dates li {
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 6px;
    color: #555;
}

/* Partners Section */
.partners {
    background: white;
    padding: 3rem 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    text-align: center;
}

.partner-item {
    background: #f8f9fa;
    padding: 1.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    color: #555;
    transition: all 0.3s ease;
}

.partner-item:hover {
    background: #c41e3a;
    color: white;
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    background: #f8f9fa;
}

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

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

.contact-info p {
    margin-bottom: 1rem;
    color: #555;
}

.contact-info a {
    color: #c41e3a;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
    color: #8b1538;
}

/* Contact Form */
.contact-form-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form-section h3 {
    color: #c41e3a;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c41e3a;
}

/* Footer */
.footer {
    background: #333;
    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 h3,
.footer-section h4 {
    color: #ffd700;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-section a:hover {
    color: #ffd700;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .campus-grid,
    .contact-grid,
    .registration-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .nav ul {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .calendar-grid {
        grid-template-columns: 1fr;
    }
    
    .important-dates ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .campus-card,
    .registration-form,
    .contact-form-section {
        padding: 1.5rem;
    }
}