/*
Theme Name: Astra Child - Chess Jawa
Description: Custom child theme for Chess Jawa website
Author: Chess Jawa
Template: astra
Version: 1.0
*/

/* Desert theme colors */
body, html {
    background-color: #d2b48c !important;
    color: #5c4033 !important;
}

.site-header {
    background-color: #d2b48c !important;
}

.site-title a, .site-description {
    color: #fff !important;
}

/* Chess Jawa site title styling */
.site-title,
.site-header .site-branding .site-title {
    font-size: 2.5em !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
    margin: 10px 0 !important;
}

.site-title a,
.site-header .site-branding .site-title a {
    color: #5c4033 !important;
    text-decoration: none !important;
}

.site-title a:hover,
.site-header .site-branding .site-title a:hover {
    color: #3d2a22 !important;
}

/* Content area */
.ast-container,
.entry-content,
article {
    background-color: #d2b48c !important;
}

/* Navigation - Minimalist Clean Style */
.main-header-bar,
.ast-header-break-point .main-header-bar {
    background-color: #d2b48c !important;
    border-bottom: 2px solid #c2b280 !important;
}

.main-navigation,
.main-header-menu {
    background-color: transparent !important;
}

.main-navigation a,
.main-header-menu a,
.ast-above-header-menu a,
.ast-below-header-menu a {
    color: #5c4033 !important;
    padding: 15px 25px !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    border-bottom: 3px solid transparent !important;
}

.main-navigation a:hover,
.main-header-menu a:hover,
.ast-above-header-menu a:hover,
.ast-below-header-menu a:hover {
    background-color: #5c4033 !important;
    color: #d2b48c !important;
    font-weight: 600 !important;
    border-bottom: 3px solid transparent !important;
}

.main-navigation .current-menu-item > a {
    background-color: #5c4033 !important;
    color: #d2b48c !important;
    font-weight: 600 !important;
    border-bottom: 3px solid transparent !important;
}

/* Gallery styling */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.gallery-item {
    flex: 0 0 calc(33.333% - 10px);
}

.gallery-item img {
    border: 3px solid #c2b280;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* Footer - hidden */
.site-footer {
    display: none !important;
}

/* Page content styling */
.entry-content {
    line-height: 1.8 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Responsive images in posts */
.entry-content img {
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
}

/* Responsive container */
.ast-container,
.site-content,
.ast-article-post {
    max-width: 1200px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.entry-content h2 {
    margin-top: 1.5em !important;
    margin-bottom: 0.5em !important;
    border-bottom: 2px solid #c2b280 !important;
    padding-bottom: 0.3em !important;
}

.entry-content h3 {
    margin-top: 1.2em !important;
    margin-bottom: 0.4em !important;
}

.entry-content ul {
    padding-left: 2em !important;
}

.entry-content li {
    margin-bottom: 0.5em !important;
}

/* Post meta styling */
.entry-header .entry-meta {
    margin-bottom: 1em !important;
}

/* Homepage featured section */
.home .site-content {
    padding-top: 2em !important;
}

/* Mobile menu toggle */
.ast-button-wrap,
.menu-toggle,
.ast-mobile-menu-buttons {
    background-color: transparent !important;
    border: none !important;
}

.ast-mobile-menu-buttons .menu-toggle {
    color: #5c4033 !important;
    padding: 10px !important;
}

.ast-mobile-menu-buttons .menu-toggle .mobile-menu {
    color: #5c4033 !important;
}

/* Mobile menu dropdown */
.ast-header-break-point .main-header-menu,
.ast-header-break-point .main-header-bar-wrap,
.ast-header-break-point .main-header-menu .menu-item,
.ast-header-break-point .main-navigation,
.ast-header-break-point .main-navigation ul,
.ast-header-break-point .main-navigation ul.main-header-menu {
    background-color: #d2b48c !important;
}

.ast-header-break-point .main-navigation a,
.ast-header-break-point .main-header-menu a,
.ast-header-break-point .main-navigation .menu-item > a {
    color: #5c4033 !important;
    background-color: #d2b48c !important;
    border-bottom: 1px solid #c2b280 !important;
    display: block !important;
    padding: 12px 20px !important;
    font-weight: 600 !important;
}

.ast-header-break-point .main-navigation a:hover,
.ast-header-break-point .main-header-menu a:hover,
.ast-header-break-point .main-navigation .current-menu-item > a {
    background-color: #5c4033 !important;
    color: #d2b48c !important;
    font-weight: 600 !important;
}

/* Donation sidebar styling */
.donation-sidebar {
    font-size: 0.95em;
}

.donation-sidebar a {
    text-decoration: underline;
}

.donation-sidebar form img {
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-item {
        flex: 0 0 100%;
    }

    .main-navigation a {
        padding: 8px 12px !important;
    }

    .chessjawa-logos {
        min-height: 100px !important;
        flex-direction: row !important;
        justify-content: space-around !important;
    }

    .chessjawa-logos img {
        height: 60px !important;
        margin: 0 10px !important;
    }

    .ast-container,
    .site-content,
    .ast-article-post {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .entry-content img {
        width: 100% !important;
    }

    .site-title,
    .site-header .site-branding .site-title {
        font-size: 1.8em !important;
        letter-spacing: 1px !important;
    }
}
