/*
Theme Name: ACN Theme
Description: A modern, responsive WordPress theme for ACN project
Author: Your Name
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: acn-theme
*/

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

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FFFFFF;
}

img {
    max-width: 100%;
    height: auto;
}

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

a:hover {
    color: #005177;
    text-decoration: underline;
}

.menu-text {
    font-size: 0.875rem;
    color: #333;
    font-weight: 500;
}

/* Hamburger Animation */
.menu-toggle[aria-expanded="true"] .line-1 {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle[aria-expanded="true"] .line-2 {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .line-3 {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Main Content */
.site-main {
    padding: 2rem 0;
    min-height: 60vh;
}

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

/* Posts */
.post {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.post:last-child {
    border-bottom: none;
}

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

.entry-title a {
    color: #333;
    text-decoration: none;
}

.entry-title a:hover {
    color: #0073aa;
}

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

.entry-content {
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin: 2rem 0 1rem;
    color: #333;
}

/* Sidebar */
.widget-area {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
}

.widget {
    margin-bottom: 2rem;
}

.widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

.widget ul {
    list-style: none;
}

.widget ul li {
    padding: 0.25rem 0;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
    }

    /* Show mobile menu toggle */
    .menu-toggle {
        display: flex;
    }

    /* Hide navigation menu by default on mobile */
    .main-navigation ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        z-index: 999;
    }

    /* Show navigation when toggled */
    .main-navigation.toggled ul,
    .main-navigation ul.toggled {
        display: flex;
    }

    /* Mobile menu items */
    .main-navigation ul li {
        padding: 0.5rem 0;
        border-bottom: 1px solid #eee;
    }

    .main-navigation ul li:last-child {
        border-bottom: none;
    }

    .main-navigation ul a {
        display: block;
        padding: 0.5rem 1rem;
        font-size: 1.1rem;
    }

    .content-area {
        grid-template-columns: 1fr;
    }

    .entry-title {
        font-size: 1.5rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* WordPress Specific */
.alignleft {
    float: left;
    margin: 0 1rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0 0 1rem 1rem;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-top: 0.5rem;
}