/* =================================
   homepage.css - Redizajn Boja
================================= */

/* Gumb ostaje žut - to je naš glavni poziv na akciju */
.hero-button {
    background-color: #FFC107;
    color: #111111; /* AŽURIRANO: Crni tekst za bolji kontrast na žutoj */
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.hero-button:hover {
    background-color: #e0a800;
}

/* Hero Sekcija */
.homepage-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/zavrsni-radovi.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 400px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-align: center;
}

.hero-content p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px auto;
}


/* Sekcija Usluge */
.services-section {
    padding: 80px 20px; /* AŽURIRANO: Povećan padding za više prostora */
    text-align: center;
    background-color: #ffffff; /* Eksplicitno bijela pozadina */
}

.services-section h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #212529; /* AŽURIRANO: Tamni ugljen za naslove */
}

.services-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    background-color: #f8f9fa; /* AŽURIRANO: Nova svijetlo siva pozadina */
    padding: 30px;
    border-radius: 5px;
    flex-basis: 25%;
    margin-bottom: 30px;
    border: 1px solid #dee2e6; /* AŽURIRANO: Suptilni obrub */
}

.service-icon {
    font-size: 50px;
    color: #2596be; /* << AŽURIRANO: Ikone su sada u boji logotipa (plava) */
    margin-bottom: 25px;
}

.service-item h3 {
    margin-top: 0;
    color: #212529; /* AŽURIRANO: Tamni ugljen */
}


/* Sekcija s Recenzijama */
.testimonials-section {
    padding: 80px 20px; /* AŽURIRANO: Povećan padding */
    background-color: #ffffff;
    text-align: center;
}

.testimonials-section .section-title { /* Dodajemo pravilo za naslov i ovdje */
    color: #212529;
    font-size: 36px;
    margin-bottom: 10px;
}
.testimonials-section .section-subtitle {
    color: #6c757d; /* AŽURIRANO: Srednje siva za podnaslov */
    font-size: 18px;
    margin-bottom: 50px;
}


.testimonials-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.testimonial-card {
    flex-basis: 30%;
    background-color: #ffffff;
    padding: 20px 25px;
    border-radius: 5px;
    border-left: 5px solid #2596be; /* << AŽURIRANO: Akcentna linija je sada plava */
    box-shadow: 0 4px 15px rgba(0,0,0,0.07); /* AŽURIRANO: Malo jača sjena */
    text-align: left;
    display: flex;
    flex-direction: column;
}

.testimonial-rating {
    color: #FFC107;
    margin-bottom: 15px;
    font-size: 18px;
}

.testimonial-text {
    font-style: italic;
    font-size: 14px;
    color: #555;
    margin-top: 0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-author {
    font-weight: bold;
    color: #212529;
    text-align: right;
}


.cta-section {
    background-color: #212529;
    padding: 80px 20px;
    text-align: center;
}

.cta-section .section-title,
.cta-section .section-subtitle {
    color: #ffffff;
}

.cta-section .section-subtitle {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* =================================
   Sekcija Slider Galerija
================================= */
.gallery-slider-section {
    padding: 20px 0 60px;
    background-color: #f8f9fa;
    text-align: center;
}

.gallery-swiper {
    height: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .gallery-swiper {
        height: 600px;
    }
}

.gallery-swiper .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: background-color 0.3s;
}
.gallery-swiper .swiper-button-next:hover,
.gallery-swiper .swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.5);
}
.gallery-swiper .swiper-button-next::after,
.gallery-swiper .swiper-button-prev::after {
    font-size: 20px;
}

@media(max-width: 820px) {
    .services-section, .testimonials-section {
        padding: 60px 20px;
    }
    .service-item {
        flex-basis: 100%;
    }
    .testimonials-grid {
        flex-direction: column;
        align-items: center;
    }
    .testimonial-card {
        flex-basis: 100%;
        max-width: 400px;
    }
    .cta-section {
        padding: 60px 20px;
    }
}