/* WP Portfolio Theme - Angjee.Art */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #e8e8e8;
}

#page {
    display: flex;
    min-height: 100vh;
    background: #fff;
    max-width: 1920px;
    margin: 0 auto;
}

/* Left Sidebar */
#masthead {
    width: 220px;
    background: #f5f5f5;
    padding: 30px 20px;
    border-right: 1px solid #ddd;
    flex-shrink: 0;
}

#site-logo {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

#site-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
}

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

#site-description {
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

/* Navigation */
.main-navigation {
    margin-top: 20px;
}

.nav-menu {
    list-style: none;
}

.nav-menu > li {
    margin-bottom: 12px;
}

.nav-menu a {
    color: #666;
    text-decoration: none;
    font-size: 15px;
    display: block;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #333;
}

.sub-menu {
    list-style: none;
    padding-left: 15px;
    margin-top: 8px;
}

.sub-menu li {
    margin-bottom: 8px;
}

.sub-menu a {
    font-size: 14px;
    color: #777;
}

/* Main Content Area */
#content {
    flex: 1;
    padding: 40px 60px;
    overflow-y: auto;
}

#primary {
    max-width: 1200px;
}

/* Entry Content */
.entry-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

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

.entry-content p {
    margin-bottom: 1em;
    color: #666;
}

/* Two Column Layout for Homepage */
.wp-block-columns {
    display: flex;
    gap: 40px;
    margin: 30px 0;
}

.wp-block-column {
    flex: 1;
}

/* Image Slider */
.slider-wrapper {
    position: relative;
    margin: 20px 0;
}

.slider-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Navigation Links */
.goto-links {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.goto-links h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.goto-links a {
    display: block;
    color: #666;
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.3s;
}

.goto-links a:hover {
    color: #333;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    border: 1px solid #ddd;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s;
    display: block;
}

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

.gallery-item a {
    display: block;
    text-decoration: none;
}

.gallery-caption {
    padding: 12px;
    background: #fff;
    text-align: center;
    font-size: 14px;
    color: #666;
}

/* Series Cards */
.series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.series-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 25px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.series-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.series-card a {
    text-decoration: none;
    color: inherit;
}

.series-card h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.series-year {
    font-size: 13px;
    color: #999;
}

/* About Page */
.about-content {
    max-width: 800px;
}

.about-content h2 {
    font-size: 24px;
    color: #333;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.about-content ul {
    list-style: none;
    padding-left: 0;
}

.about-content li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #666;
}

.about-content li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #999;
}

/* Footer */
#colophon {
    padding: 30px 60px;
    background: #f5f5f5;
    border-top: 1px solid #ddd;
    font-size: 13px;
    color: #999;
    text-align: center;
}

#colophon a {
    color: #666;
    text-decoration: none;
}

#colophon a:hover {
    color: #333;
}

/* Image Slider Styles */
.metaslider {
    position: relative;
    max-width: 100%;
}

.metaslider img {
    width: 100%;
    height: auto;
    display: block;
}

.nivo-controlNav {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.nivo-controlNav a {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    margin: 0 5px;
    text-indent: -9999px;
    border: 1px solid rgba(255,255,255,0.8);
}

.nivo-controlNav a.active {
    background: rgba(255,255,255,0.9);
}

.nivo-directionNav a {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    color: #333;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 20px;
    z-index: 10;
    transition: background 0.3s;
}

.nivo-directionNav a:hover {
    background: rgba(255,255,255,1);
}

.nivo-prevNav {
    left: 10px;
}

.nivo-nextNav {
    right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    #page {
        flex-direction: column;
    }

    #masthead {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }

    #content {
        padding: 30px 20px;
    }

    .wp-block-columns {
        flex-direction: column;
    }

    .gallery-grid,
    .series-grid {
        grid-template-columns: 1fr;
    }

    #colophon {
        padding: 20px;
    }
}
