/* Base Styles */
body {
    font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, Sans-Serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    min-width: 1200px;
    background-image: url('../images/theme/Bottom_texture.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: repeat;
    background-size: cover;
    height: 100%;
}

/* Added wrapper for parallax content */
.parallax-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    z-index: 1;
}

/* Layout */
.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
}

/* Header */
.header {
    width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    padding: 20px 0;
    position: relative;
    z-index: 3;
    background-image: url('../images/theme/page_gl.png');
    background-repeat: no-repeat;
    background-position: top right;
}

.logo {
    text-align: center;
}

.logo img {
    max-height: 60px;
}

/* Navigation */
.nav {
    background: #333;
    padding: 10px 0;
    background-image: url('../images/theme/nav.png');
    background-repeat: repeat-x;
}

.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.nav li {
    margin: 0 15px;
    background-image: url('../images/theme/menuitem.png');
    background-repeat: no-repeat;
    background-position: center;
}

.nav a {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
}

.nav li.active a {
    color: #ffd700;
}

/* Content */
.content {
    width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.art-box {
    margin-bottom: 20px;
    width: 1160px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
}

.art-postcontent {
    line-height: 1.8;
    width: 100%;
}

.art-postcontent img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.tpics {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.tpics td {
    padding: 10px;
    vertical-align: top;
}

.wp-caption {
    text-align: center;
    margin: 0 auto;
}

.wp-caption img {
    border: 1px solid #ddd;
    padding: 5px;
    background: #fff;
}

.wp-caption-text {
    margin-top: 10px;
    font-style: italic;
    color: #666;
}

.post {
    margin-bottom: 30px;
    background-image: url('../images/theme/sheet_t.png'), url('../images/theme/sheet_b.png');
    background-repeat: no-repeat;
    background-position: top, bottom;
}

.post-title {
    font-size: 24px;
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background: #333;
    color: #fff;
    padding: 40px 0;
    background-image: url('../images/theme/Bottom_texture.jpg');
    background-repeat: repeat;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-section h3 {
    color: #ffd700;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #555;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 10px 20px;
    background: #ffd700;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
    background-image: url('../images/theme/button.png');
    background-repeat: no-repeat;
    background-position: center;
}

.button:hover {
    background: #ffc000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .nav li {
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav a {
        display: block;
        padding: 10px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-section {
        margin-bottom: 30px;
    }
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

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

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Comments */
.comments {
    margin-top: 40px;
}

.comment {
    padding: 20px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    border-radius: 4px;
}

.comment-meta {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

/* Search */
.search-form {
    display: flex;
    margin: 20px 0;
}

.search-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-image: url('../images/theme/search.png');
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 30px;
}

.search-button {
    margin-left: 10px;
}

/* Widgets */
.widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget li {
    margin-bottom: 10px;
}

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

.widget a:hover {
    color: #ffd700;
}

/* Navigation */
.art-nav {
    position: relative;
    z-index: 100;
    height: 34px;
    width: 1200px;
    margin: 0 auto;
    background: #F9A80B;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.art-nav-l, .art-nav-r {
    display: none;
}

.art-nav-outer {
    position: relative;
    width: 100%;
    background: #F9A80B;
}

.art-hmenu {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    background: #F9A80B;
    height: 34px;
    width: 100%;
}

.art-hmenu li {
    position: relative;
    margin: 0;
    padding: 0;
    border-right: 1px solid #fff;
}

.art-hmenu li:last-child {
    border-right: none;
}

.art-hmenu a {
    display: block;
    position: relative;
    height: 34px;
    padding: 0 15px;
    color: #FFFFFF;
    line-height: 34px;
    text-align: center;
    text-decoration: none;
    font-weight: normal;
    font-size: 12px;
    background: #F9A80B;
    white-space: nowrap;
}

.art-hmenu a:hover {
    background: #FFB52E;
}

.art-hmenu a.active {
    background: #FFB52E;
}

.art-hmenu a .l, .art-hmenu a .r {
    display: none;
}

.art-hmenu a .t {
    color: #FFFFFF;
}

.art-hmenu a:hover .t {
    color: #FFFFFF;
}

.art-hmenu a.active .t {
    color: #FFFFFF;
    background: #FFB52E;
} 