/*
Theme Name: Underscore
Theme URI: https://example.com/underscore
Author: Your Name
Author URI: https://example.com
Description: A clean, simple WordPress theme with a responsive hamburger menu.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: underscore
Tags: responsive, clean, minimal, hamburger-menu
*/

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

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

a {
    color: #0073aa;
    text-decoration: none;
}

a:hover {
    color: #005177;
}

/* Header Styles */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-branding {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: inline-block;
}

.logo-image {
    max-height: 60px;
    width: auto;
}

/* Navigation */
.main-navigation {
    display: inline-block;
    width: auto;
    vertical-align: middle;
    margin-left: 20px;
    position: relative;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.menu {
    display: flex;
    list-style: none;
    justify-content: center;
}

.menu li {
    position: relative;
    margin-right: 1.5rem;
}

.menu a {
    display: block;
    padding: 0.5rem 0;
    color: #118e7e;
    text-transform: uppercase;
    font-weight: bold;
    font-size: .8rem;
}

.menu a:hover {
    color: #0a6b5e;
}

/* Hamburger Menu for Mobile */
@media screen and (max-width: 768px) {
    .main-navigation {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    
    .menu-toggle {
        display: block;
        position: static;
        transform: none;
    }
    
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        z-index: 999;
        text-align: left;
    }
    
    .menu.active {
        display: flex;
    }
    
    .menu li {
        margin-right: 0;
        border-bottom: 1px solid #eee;
    }
    
    .menu a {
        padding: 0.8rem 1rem;
    }
    
    .main-navigation {
        width: 100%;
        margin-left: 0;
        margin-top: 15px;
    }
    
    .site-branding {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
}

/* Content Styles */
.site-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.content-area {
    background-color: #fff;
    padding: 2rem;
}

.entry-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.entry-meta {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.entry-content {
    margin-bottom: 2rem;
}

/* Three-column layout for posts/events - Masonry style */
.posts-grid {
    column-count: 3;
    column-gap: 20px;
    text-align: center;
}

.grid-post {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    break-inside: avoid;
    margin-bottom: 20px;
    display: inline-block;
    width: 100%;
}

.grid-post .entry-header {
    padding: 20px 20px 10px;
}

.grid-post .entry-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    padding: 0 10px;
}

.grid-post .entry-title a {
    color: #333;
}

.grid-post .entry-meta {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
    color: #666;
    padding: 0 10px;
}

.post-thumbnail {
    margin-top: 10px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.grid-post .entry-content {
    padding: 10px 20px 20px;
}

@media screen and (max-width: 768px) {
    .posts-grid {
        column-count: 2;
    }
}

@media screen and (max-width: 480px) {
    .posts-grid {
        column-count: 1;
    }
}

/* Sidebar */
.widget-area {
    margin-top: 2rem;
}

.widget {
    background-color: #fff;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

/* Footer */
.site-footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 1rem;
    text-align: center;
    margin-top: 2rem;
}

.site-footer a {
    color: #fff;
}

/* Pagination */
.pagination {
    margin: 2rem 0;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 3px;
    border: 1px solid #ddd;
    color: #118e7e;
    text-decoration: none;
    border-radius: 3px;
    background-color: #fff;
}

.pagination .page-numbers.current {
    background-color: #118e7e;
    color: #fff;
    border-color: #118e7e;
}

.pagination .page-numbers:hover {
    background-color: #f5f5f5;
}

.pagination .page-numbers.current:hover {
    background-color: #118e7e;
}

.pagination .prev,
.pagination .next {
    padding: 8px 15px;
} 