/*
Theme Name: CBSE School Theme
Theme URI: https://example.com/
Author: Custom Theme Builder
Description: A custom WordPress theme tailored for CBSE affiliated schools, including mandatory disclosure templates.
Version: 1.0
Text Domain: cbse-school
*/

/* Reset & Basics */
body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    margin: 0; 
    padding: 0; 
    background-color: #f4f7f6; 
    color: #333; 
}
.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 15px; 
}

/* Header */
header { 
    background-color: #004080; 
    color: #fff; 
    padding: 20px 0; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
header a { 
    color: #fff; 
    text-decoration: none; 
}
.site-title { 
    font-size: 2.2em; 
    font-weight: 700; 
    margin: 0; 
}
.site-description { 
    font-size: 1em; 
    margin-top: 5px; 
    opacity: 0.9; 
}

/* Navigation */
nav { 
    margin-top: 15px; 
}
nav ul { 
    list-style: none; 
    padding: 0; 
    margin: 0;
    display: flex; 
    gap: 20px; 
}
nav a { 
    color: #fff; 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 1.1em;
    transition: color 0.3s;
}
nav a:hover {
    color: #ffcc00;
}

/* Main Content */
main { 
    padding: 40px 0; 
    min-height: 60vh; 
}

/* Footer */
footer { 
    background-color: #1a1a1a; 
    color: #fff; 
    padding: 30px 0; 
    text-align: center; 
    margin-top: 40px;
}

/* CBSE Mandatory Disclosure Tables */
.cbse-table { 
    width: 100%; 
    border-collapse: collapse; 
    margin-bottom: 40px; 
    background: #fff; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.cbse-table th, .cbse-table td { 
    border: 1px solid #e0e0e0; 
    padding: 15px; 
    text-align: left; 
}
.cbse-table th { 
    background-color: #004080; 
    color: #fff; 
    font-weight: 600;
}
.cbse-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Front Page Hero */
.hero { 
    background: #fff; 
    padding: 60px 20px; 
    text-align: center; 
    border-radius: 8px; 
    margin-bottom: 40px; 
    border-top: 4px solid #ffcc00;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.hero h2 {
    font-size: 2.5em;
    color: #004080;
    margin-bottom: 15px;
}

/* Lists and Notices */
.latest-notices {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.latest-notices h3 {
    border-bottom: 2px solid #004080;
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #004080;
}
.latest-notices ul {
    list-style: none;
    padding: 0;
}
.latest-notices li {
    padding: 10px 0;
    border-bottom: 1px dashed #ccc;
}
.latest-notices a {
    color: #004080;
    text-decoration: none;
    font-weight: 600;
}
.latest-notices span {
    color: #666;
    font-size: 0.9em;
    margin-left: 10px;
}
