/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: #ffffff;
    border-bottom: 2px solid #0066cc;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-section {
    flex: 0 0 auto;
}

.logo {
    height: 80px;
    width: auto;
}

/* Navigation Styles */
.navigation {
    flex: 1;
    margin-left: 20px;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-end;
}

.nav-link {
    text-decoration: none;
    color: #0066cc;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.nav-link:hover {
    background-color: #0066cc;
    color: white;
}

/* Main Content */
.main-content {
    padding: 30px 0;
    background-color: #f8f9fa;
}

/* Mission Statement Section */
.mission-section {
    background-color: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.mission-section h2 {
    color: #0066cc;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
}

.mission-section p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #555;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.motto-verse {
    font-style: italic;
    color: #0066cc;
    font-weight: 600;
    font-size: 18px;
    margin-top: 20px;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    align-items: start;
}

/* Left Column Styles */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Calendar Section */
.calendar-section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.calendar-section h3 {
    color: #0066cc;
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 5px;
}

.calendar-header h4 {
    color: #333;
    text-align: center;
    margin-bottom: 15px;
    font-size: 18px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 20px;
}

.calendar-day {
    background-color: #f8f9fa;
    padding: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    color: #666;
}

.events-section h4 {
    color: #0066cc;
    margin-bottom: 10px;
}

.events-section p {
    color: #666;
    font-style: italic;
}

/* Photo Gallery */
.photo-gallery {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.photo-gallery h3 {
    color: #0066cc;
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 5px;
}

/* Right Column Styles */
.right-column {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Trending Section */
.trending-section {
    padding: 20px;
}

.trending-section h3 {
    color: #0066cc;
    font-size: 24px;
    margin-bottom: 25px;
    border-bottom: 2px solid #0066cc;
    padding-bottom: 10px;
}

/* News Items */
.news-item {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.news-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 15px;
    border-radius: 4px;
}

.news-item h4 {
    color: #0066cc;
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 700;
}

.news-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 600;
}

.news-item p {
    color: #555;
    margin-bottom: 8px;
    line-height: 1.5;
}

.news-item a {
    color: #0066cc;
    text-decoration: underline;
}

.news-item a:hover {
    color: #004499;
}

/* Footer Styles */
.footer {
    background-color: #0066cc;
    color: white;
    padding: 40px 0 20px 0;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #ffffff;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #cce6ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    color: #cce6ff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: white;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #0080ff;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-info p {
    margin-bottom: 5px;
    color: #cce6ff;
}

.footer-links a {
    color: #cce6ff;
    text-decoration: none;
    margin: 0 5px;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 968px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .left-column {
        order: 2;
    }
    
    .right-column {
        order: 1;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .navigation {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
    }
    
    .nav-menu {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .mission-section {
        padding: 20px;
    }
    
    .mission-section h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .mission-section {
        padding: 15px;
    }
    
    .calendar-section,
    .photo-gallery,
    .trending-section {
        padding: 15px;
    }
}

/* Additional Styling for School Theme */
h1, h2, h3, h4, h5, h6 {
    color: #0066cc;
}

strong {
    color: #0066cc;
}

/* Hover Effects */
.news-item {
    transition: transform 0.2s ease;
}

.news-item:hover {
    transform: translateY(-2px);
}

/* Focus States for Accessibility */
.nav-link:focus,
.footer-section a:focus,
.social-link:focus {
    outline: 2px solid #ffcc00;
    outline-offset: 2px;
}

/* Logo Placeholder */
.logo-placeholder {
    background-color: #0066cc;
    color: white;
    padding: 20px 40px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
}

/* Construction Warning Styles */
.construction-warning {
    background-color: #fff3cd !important;
    border: 2px solid #ffc107 !important;
    color: #856404 !important;
}

.construction-warning h2 {
    color: #dc3545 !important;
    font-size: 24px;
}

.construction-warning strong {
    color: #dc3545 !important;
}

.construction-warning p {
    color: #856404 !important;
}

/* Placeholder Content */
.placeholder-content {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 4px;
    border: 2px dashed #dee2e6;
    text-align: center;
    color: #6c757d;
}

.placeholder-content p {
    margin-bottom: 10px;
    color: #6c757d;
}

.placeholder-content em {
    font-size: 14px;
    color: #868e96;
}

/* Placeholder Image */
.placeholder-image {
    background-color: #e9ecef;
    border: 2px dashed #ced4da;
    padding: 40px 20px;
    text-align: center;
    color: #6c757d;
    font-weight: bold;
    margin-bottom: 15px;
    border-radius: 4px;
}