/* === Usluge Section === */
.usluge-section {
    padding: 0;
}

.usluge-section h2 {
    text-align: left;
    font-weight: bold;
    font-size: 20px;
    margin: 0 -20px;
    margin-bottom: 2rem;
    color: #333;
    line-height: 1;
    background: yellow;
    padding: 30px 10px 10px 10px
}

/* === Grid Layouts === */
.usluge-list,
.usluge-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* === Usluga Block (Modern Layout) === */
.usluga {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

/* === Icon (Left Column) === */
.usluga-icon {
    flex-shrink: 0;
    max-width: 140px;
}

.usluga-icon img,
.usluga picture,
.usluga img {
    width: 100%;
    height: auto;
    display: block;
}

/* === Text (Right Column) === */
.usluga-text h3,
.usluga h3 {
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.usluga-text p,
.usluga p {
    line-height: 1.4;
}

/* === Mobile-Centered Legacy Layout Fallback (if ever used) === */
.usluga.text-align-center {
    text-align: center;
}

.image-left-wrapper {
    display: block;
}

.image-left-wrapper picture {
    float: left;
    margin: 0;
    width: 300px;
    margin-top: -65px
}

.image-left-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.image-left-wrapper::after {
    content: "";
    display: table;
    clear: both;
}

#why ul {
    list-style: none;
    text-align: center;
    line-height: 1
}

#why ul li {
    padding-bottom: 15px
}

#recenzije p {
    text-align: center
}

.review-strip {
    overflow: hidden;
    position: relative;
}

.review-track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    width: 100%;
    animation: none !important;
    /* Stop animation */
}

.review-strip:hover .review-track {
    animation: none;
    /* Disable pause on hover */
}

.review-item {
    flex: 1 1 300px;
    /* Flexible width with min size */
    max-width: 400px;
    margin: 10px;
    background: #eee;
    border-radius: 0;
    padding: 20px;
    box-sizing: border-box;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border: 1px solid #ccc;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.review-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

.review-name {
    font-weight: 700;
    font-size: 20px;
    color: #000;
}

.review-rating {
    color: #f5c518;
    font-size: 20px;
}

.review-item p {
    font-style: italic;
    font-size: 18px;
    color: #333;
    line-height: 1.4;
    text-align: left !important;
}


.site-footer {
    background: #999;
    color: #000;
    padding: 2rem 1rem;
    font-family: 'EB Garamond', serif;
    text-align: center;
    padding-bottom: 3.5rem !important
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-col img {
    display: block;
    margin: 0 auto;
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.footer-col p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.footer-col .tel {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 900;
}

.footer-col .tel a {
    text-decoration: none;
    color: #000
}

.footer-col .tel span {
    display: block;
    font-size: 16px;
    font-family: 'EB Garamond', serif;
}

.copyright {
    font-size: 18px;
    border-top: 1px solid #000;
    padding-top: 20px;
    margin-top: 20px
}

.accordion {
    max-width: 800px;
    margin: 20px auto;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #fff;
    line-height: .9
}

.accordion-item {
    border-bottom: 1px solid #ccc
}

.accordion-item:last-child {
    border-bottom: none
}

.accordion-header {
    width: 100%;
    padding: 15px;
    background-color: #53546d;
    color: #fff;
    text-align: left;
    font-size: 20px;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    font-family: 'EB Garamond', serif;
}

.accordion-icon {
    font-size: 20px
}

.accordion-content {
    padding: 15px;
    background-color: #f9f9f9;
    display: none
}

.accordion-content h3 {
    text-transform: uppercase;
    margin: 20px 0
}

.accordion-content h4 {
    font-size: 22px !important;
    margin: 20px 0
}

.accordion-content p {
    margin: 0;
    text-align: justify !important;
    line-height: 1.2
}

.accordion-content ul li {
    margin-top: 10px;
    font-size: 20px;
    line-height: 1.2
}

.accordion-content hr {
    margin-top: 10px;
    margin-bottom: 10px
}

#reon {
    background: #ccc;
}

.tag-cloud {
    text-align: center;
    line-height: 1.7;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    padding-bottom: 0
}

.tag {
    background: #53546d;
    color: #fff;
    padding: 6px 12px;
    font-weight: normal;
    display: inline-block
}

.reon-flex {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.reon-left,
.reon-right {
    flex: 1;
}

.reon-left picture,
.reon-left img {
    width: 100%;
    height: auto;
    display: block;
    padding: 0
}

/* On larger screens, align left and right side by side */
@media (min-width: 768px) {
    .reon-flex {
        flex-direction: row;
        align-items: flex-start;
    }
}


/* === Responsive (Large Screens) === */
@media (min-width: 768px) {

    .usluge-grid,
    .usluge-list {
        grid-template-columns: 1fr 1fr;
    }

    .usluga h3,
    .usluga-text h3 {
        font-size: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 3rem;
        padding: 3rem;
        align-items: center
    }

    .footer-col p {
        font-size: 1.05rem;
    }

    .tag-cloud {
        font-size: 1.5rem
    }

    .reon-left picture,
    .reon-left img {
        padding: 20px;
        max-width: 500px
    }

    .site-footer {
        padding-bottom: 2rem !important
    }

}