/*
 * Pattonville86.com - 2021 Theme Restoration for Hugo
 * Extracted from Wayback Machine archive: June 16, 2021
 * Simplified for static Hugo site
 */

/* ============================================
   COLOR SCHEME - Pattonville School Colors
   ============================================ */
:root {
    --pville-green: #19630a;
    --pville-yellow: #eeee22;
    --content-bg: #ffffff;
    --text-color: #555555;
    --border-color: #e0e0e0;
    --light-gray-bg: #F6F6F6;
}

/* ============================================
   BASE STYLES
   ============================================ */
body {
    background-color: var(--pville-green);
    color: var(--text-color);
    font-size: 12px;
    font-family: Arial, Tahoma, Verdana, sans-serif;
    line-height: 170%;
    max-width: 1250px;
    margin: 0 auto;
    width: 95%;
}

/* ============================================
   HEADER
   ============================================ */
#header {
    background-image: url(/ClassPicStrip.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
}

#header h1,
#header h1 a,
#header .site-title,
#header .site-title a {
    color: var(--pville-yellow);
    text-decoration: none;
}

#header h1 a:hover,
#header .site-title a:hover {
    color: var(--pville-yellow);
    text-decoration: underline;
}

#search-bar {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 0;
}

#search-bar .padder {
    padding: 19px;
}

/* ============================================
   NAVIGATION
   ============================================ */
#navigation {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 0;
}

#navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#navigation li {
    display: inline-block;
    margin-right: 20px;
}

#navigation a {
    color: var(--pville-yellow);
    text-decoration: none;
    font-weight: bold;
}

#navigation a:hover {
    text-decoration: underline;
}

/* ============================================
   MAIN CONTAINER
   ============================================ */
#container {
    background: var(--content-bg);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 20px;
}

.padder {
    padding: 19px;
}

/* ============================================
   CONTENT AREA
   ============================================ */
#content {
    float: left;
    width: 70%;
}

#content .entry,
#content .page-content,
#content article {
    padding: 20px 0;
}

#content h2 {
    color: var(--text-color);
    font-size: 18px;
    margin-bottom: 15px;
}

#content p {
    margin-bottom: 15px;
}

/* ============================================
   SIDEBAR
   ============================================ */
#sidebar {
    float: right;
    width: 25%;
    background: var(--light-gray-bg);
}

#sidebar .widget {
    margin-bottom: 20px;
}

#sidebar h3 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
    clear: both;
    background: rgba(0, 0, 0, 0.7);
    color: var(--pville-yellow);
    padding: 20px 0;
    margin-top: 20px;
    border-radius: 6px;
}

#footer a {
    color: var(--pville-yellow);
}

#footer-widgets {
    padding: 20px;
}

#site-generator {
    text-align: center;
    padding: 10px;
    font-size: 11px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media screen and (max-width: 768px) {
    body {
        width: 100%;
    }

    #content,
    #sidebar {
        float: none;
        width: 100%;
    }

    #navigation li {
        display: block;
        margin: 5px 0;
    }
}

@media screen and (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .padder {
        padding: 10px;
    }

    #header {
        background-size: auto 100%;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.alignleft {
    float: left;
    margin-right: 15px;
}

.alignright {
    float: right;
    margin-left: 15px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   FORMS (if needed)
   ============================================ */
form input[type="text"],
form input[type="email"],
form input[type="password"],
form textarea,
form select {
    padding: 5px;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    font-family: Arial, Tahoma, Verdana, sans-serif;
}

form input[type="submit"],
form button {
    background-color: var(--pville-yellow);
    color: var(--pville-green);
    padding: 8px 15px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bold;
}

form input[type="submit"]:hover,
form button:hover {
    background-color: #ffff00;
}

/* ============================================
   LINKS
   ============================================ */
a {
    color: var(--pville-green);
    text-decoration: underline;
}

a:hover {
    color: #0d3a05;
}

/* ============================================
   TABLES (if needed)
   ============================================ */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
}

table th,
table td {
    padding: 10px;
    border: 1px solid var(--border-color);
    text-align: left;
}

table th {
    background-color: var(--pville-green);
    color: var(--pville-yellow);
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: var(--light-gray-bg);
}
