/* Reset default margins and paddings */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}

/* Header styles */
.header {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.header-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
}

.header-content > * {
    margin: 5px 0;
}

/* Reduced spacing for main menu */
.pkp_navigation_primary,
#navigationPrimary,
.navbar-nav,
nav.navbar,
header nav,
#navigationUser + nav,
.main-navigation {
    margin-top: 10px !important;
    padding-top: 10px !important;
}

/* Reduced spacing for header bottom */
.pkp_structure_header,
.site-header,
#headerNavigationContainer,
.header {
    margin-bottom: 10px !important;
    padding-bottom: 10px !important;
}

/* Reduced spacing for more aggressive approach */
body > header {
    margin-bottom: 10px !important;
}

body > header + div,
body > header + nav,
body > header + * {
    margin-top: 10px !important;
}

/* Yeni slogan container stili */
.slogan-container {
    width: 100%;
    text-align: center;
    padding: 5px 0 10px;
    position: relative;
    margin-top: -10px;
}

/* Slogan stili */
.slogan {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-style: italic;
    font-size: 28px;
    color: #000000;
    white-space: nowrap;
    margin: 0 0 10px 0;
    padding: 5px 0;
    letter-spacing: 0.7px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
    line-height: 1.4;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.slogan:hover {
    transform: scale(1.02);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* Turuncu çizgi için yeni stil */
.slogan-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #EE7656;
}

/* Footer styles */
.footer {
    color: #333;
    padding: 30px 0 0;
    text-align: left;
    position: relative;
    padding-bottom: 0;
    margin-bottom: -20px;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: nowrap;
}

.footer .column {
    width: 24%;
    margin-bottom: 20px;
    padding: 0 5px;
    box-sizing: border-box;
}

.footer .follow-us {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #EE7656;
    color: white;
    padding: 5px 15px;
    font-weight: bold;
    font-size: 18px;
    border-radius: 15px;
}

.footer h4 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: bold;
    color: inherit;
}

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

.footer ul li {
    margin-bottom: 4px;
    font-size: 13px;
}

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

.footer a:hover {
    text-decoration: underline;
}

.footer .bottom {
    text-align: center;
    font-size: 14px;
    padding: 10px 0 0;
    position: relative;
    margin-bottom: 0;
}

.footer .bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background-color: #5B3483;
}

/* New styles for OJS Hosting text */
.footer .ojs-hosting {
    text-align: left;
    font-size: 12px;
    padding: 5px 0 0;
    background-color: #f8f8f8;
    border-top: 1px solid #e0e0e0;
    margin-bottom: -20px;
}

.footer .ojs-hosting .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 0;
}

/* Responsive düzenlemeler */
@media (max-width: 1440px) {
    .header {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .footer .container {
        flex-wrap: wrap;
    }
    .footer .column {
        width: 48%;
        margin-bottom: 15px;
    }
    .slogan {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .footer .column {
        width: 100%;
        padding: 0;
    }
    .slogan {
        font-size: 20px;
    }
}

/* OJS logo ve ilgili metni gizle */
.pkp_brand_footer,
.ojsLogo,
.ojs-logo,
.footer .ojs-hosting {
    display: none !important;
}

/* OJS hosting bilgisini içeren alt kısmı gizle */
.footer .ojs-hosting {
    display: none !important;
}
