/*
Theme Name: OnePress Child
Theme URI: http://example.com/onepress-child
Description: A child theme for the OnePress theme
Author: Ksenija
Template: onepress
Version: 1.0.0
*/

@import url("../onepress/style.css");

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}


.projekti-header {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.projekti-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.projekti-header-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
}

.projekti-title {
    font-size: 2.5rem;
    color: #fff;
    margin: 0;
}

.projekti-subtitle {
    font-size: 1.2rem;
    margin-top: 10px;
}

.projekti-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.projekat-item {
    border: 1px solid #ddd;
    padding: 20px;
    margin: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
}

.projekat-image img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border: none; 
    box-shadow: none;
    border-radius: 0;
}

.projekat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.projekat-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.projekat-single-title {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: bold;
}

.projekat-excerpt {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

.projekat-link {
    display: inline-block;
    padding: 10px 20px;
    background: #03c4eb;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.projekat-link:hover {
    background: #029bb5;
}

.no-projekti {
    text-align: center;
    font-size: 1.2rem;
    color: #999;
}

.service-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    height: 100%; /* Uniformna visina */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.service-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.service-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

.btn-projekti {
    display: inline-block;
    padding: 10px 20px;
    background: transparent; 
    color: #03c4eb; 
    border: 2px solid #03c4eb !important; 
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-projekti:hover {
    background: #03c4eb; 
    color: #FFFFFF;
    border-color: #03c4eb;
}

.projekat-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.projekat-header {
    margin-bottom: 30px;
}

.projekat-thumbnail {
    margin-bottom: 30px;
}

.projekat-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.projekat-footer {
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid #ddd;
    padding-top: 15px;
    margin-top: 30px;
}

.projekat-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 300px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.projekat-hero-overlay {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.biblioteka-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 30px;
}

.dokument-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.dokument-item {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dokument-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.dokument-icon {
    font-size: 3rem;
    color: #03c4eb;
    margin-bottom: 15px;
}

.dokument-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.dokument-content {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

.dokument-preview {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px; 
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background 0.3s ease, color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
}

.dokument-preview {
    background: transparent;
    color: #03c4eb;
    border: 2px solid #03c4eb; 
}

.dokument-preview:hover {
    background: #03c4eb;
    color: #fff;
}


.dokument-grid {
    text-align: center; 
}

.no-dokumenti {
    text-align: center;
    font-size: 1.2rem;
    color: #999;
}

.izvjestaji-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 30px;
}

.footer-menu-container {
    display: block;
    width: 100%;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.footer-menu-container ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease; 
}

.footer-menu-container ul li a:hover {
    color: #029bb5; 
}

.footer-menu-container ul {
    display: inline;
    padding-left: 0px;
}

.footer-menu-container li {
    list-style-type: none;
    display: inline;
}

.footer-menu-container li:before {
    content: "\007C";
    font-family: FontAwesome;
    margin-left: 6px;
    margin-right: 8px;
}

.footer-menu-container li:first-of-type:before {
    content: none;
    margin-right: 0;
}

.footer-menu-container li:last-of-type {
    margin-right: 0;
}

.footer-social-icons {
    text-align: center;
    margin: 15px 0;
}

.footer-social-icons .social-icon {
    display: inline-block;
    margin: 0 10px;
    color: #03c4eb;
    font-size: 1.5rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-social-icons .social-icon:hover {
    color: #029bb5;
}

.site-footer .footer-widgets {
    display: none !important;
}