/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
header {
    background: #2d9b6f;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    /* padding: 2rem 0; */
}

/* Decorative elements on header */
header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: rgba(249, 168, 71, 0.15);
    border-radius: 0 0 0 100%;
    pointer-events: none;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #f9a847;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-section img {
    height: 80px;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.journal-title {
    display: flex;
    flex-direction: column;
    color: white;
}

.journal-title h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.journal-title p {
    font-size: 0.9rem;
    opacity: 0.95;
    font-weight: 300;
}

/* Navigation Styles */
nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

nav a {
    /* color: white; */
    /* text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.7rem 1.3rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden; */
}

nav a::before {
    /* content: ''; */
    /* position: absolute; */
    /* top: 0; */
    /* left: -100%; */
    /* width: 100%; */
    /* height: 100%; */
    /* background: rgba(249, 168, 71, 0.3); */
    /* transition: left 0.3s ease; */
    /* z-index: -1; */
}

/* nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #f9a847;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 168, 71, 0.3);
} */

nav a:hover::before {
    left: 0;
}

nav a:active {
    transform: translateY(0);
}

/* PKP Navigation Styles */
.pkp_navigation_primary {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.pkp_navigation_primary>li {
    margin: 0;
}

.pkp_navigation_primary>li>a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.7rem 1.3rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: block;
}

.pkp_navigation_primary>li>a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #f9a847;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 168, 71, 0.3);
}

.pkp_navigation_primary_wrapper {
    background: transparent;
    margin-top: 0;
}

.pkp_navigation_search_wrapper a {
    color: white;
}

/* Decorative bar styles */
.header-bar {
    height: 0;
    display: none;
}

/* Main content area */
main {
    flex: 1;
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* PKP Site Name */
.pkp_site_name {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.pkp_site_name .is_img img {
    width: 160px;
    max-height: 150px;
    border-radius: 50%;
}

/* Journal Title Styling */
.journal_title_wrapper {
    display: flex;
    flex-direction: column;
    color: white;
}

.journal_main_title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    color: white;
}

.journal_subtitle {
    font-size: 1rem;
    opacity: 0.95;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

/* Additional Content */
.additional_content p img {
    width: 200px;
    height: 300px;
    object-fit: cover;
}

/* Footer Styles */
footer {
    background: #2d9b6f;
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: auto;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right,
            #2d9b6f 0%,
            #2d9b6f 33%,
            white 33%,
            white 66%,
            #f9a847 66%,
            #f9a847 100%);
}

.footer-bar {
    display: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #f9a847;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.footer-section p {
    padding-top: 2rem;
}

.footer-section a:hover {
    color: #f9a847;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background-color: #f9a847;
    transform: translateY(-3px);
    padding-left: 0;
    box-shadow: 0 4px 12px rgba(249, 168, 71, 0.3);
    border-color: #f9a847;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-logo {
    height: 100px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

/* PKP Footer Styles */
.pkp_brand_footer {
    padding: 0;
}

.pkp_brand_footer img {
    display: none;
}

.pkp_structure_footer_wrapper {
    background: #2d9b6f;
}

.pkp_footer_content {
    padding: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 1.5rem 0;
    }

    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .logo-section {
        flex-direction: column;
    }

    .logo-section img {
        height: 70px;
    }

    .pkp_site_name {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .journal_main_title {
        font-size: 1.5rem;
    }

    .journal_subtitle {
        font-size: 0.9rem;
    }

    nav {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    nav a {
        width: 100%;
        text-align: center;
    }

    .pkp_navigation_primary {
        flex-direction: column;
        width: 100%;
    }

    .pkp_navigation_primary>li {
        width: 100%;
    }

    .pkp_navigation_primary>li>a {
        width: 100%;
        text-align: center;
    }

    .journal-title h1 {
        font-size: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    header::before {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .logo-section img {
        height: 60px;
    }

    .journal_main_title {
        font-size: 1.2rem;
    }

    .journal_subtitle {
        font-size: 0.85rem;
    }

    .journal-title h1 {
        font-size: 1.3rem;
    }

    nav a {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

.pkp_structure_head {
    background-color: #2d9b6f;
}

.pkp_navigation_primary_wrapper {
    background: #2d9b6f;
}

.copyright-info {
    margin-left: 26rem;
}

.cmp_breadcrumbs a {
    display: inline;
}

.homepage_about {
    h2 {
        display: none;
    }
}