/* === STILOVI ZA STRANICU ODŠTOPAVANJE (USKLAĐENO S POČETNOM) === */

/* === HERO SEKCIJA (FIXED: TRANSPARENT HEADER & FULL HEIGHT) === */
.drain-hero {
    /* Slika se mora protezati do samog vrha (top: 0), ne ispod headera */
    margin-top: 0; 
    height: 100vh; /* Puna visina ekrana kao na početnoj */
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    
    /* Pozadinska slika s overlayem */
    background: linear-gradient(rgba(175, 180, 184, 0.85), rgba(118, 140, 155, 0.5)), url('images/odstopavanje-hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Overlay za bolju čitljivost */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Gradient koji ide od prozirnog na vrhu (za header) do tamnijeg dolje */
    background: linear-gradient(to bottom, rgba(238, 236, 236, 0.1) 0%, rgba(224, 222, 222, 0.5) 100%);
    z-index: 1;
}

.drain-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    text-align: left; /* Lijevo poravnanje */
    margin-top: 60px; /* Malo spuštanje sadržaja da ne bude pod headerom */
}

.hero-tag {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    padding: 8px 15px;
    font-weight: 700;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.drain-hero h1 {
    font-size: clamp(2.5rem, 7vw, 5.5rem); /* Ogroman font na laptopu, manji na mobitelu */
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    word-break: break-word;
}

.drain-hero p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.95);
    max-width: 700px;
    line-height: 1.6;
}

/* Prilagodba Hero sekcije za mobitel */
@media (max-width: 768px) {
    .drain-hero-content {
        text-align: center; /* Centrirano na mobitelu */
    }
    .drain-hero h1 {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }
    .drain-hero p {
        margin-left: auto;
        margin-right: auto;
        font-size: 1.1rem;
    }
}


/* 2. SEKCIJA "PROBLEM" */
/* === NOVA SEKCIJA: PROBLEM I RJEŠENJE === */
.drain-problems-section {
    padding: 100px 0;
    background-color: #fff;
}

.dp-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Lijeva strana malo šira */
    gap: 60px;
    align-items: center;
}

/* LIJEVA STRANA */
.section-subtitle-left {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.dp-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.dp-intro {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.6;
}

.causes-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Kartice uzroka */
.cause-card {
    display: flex;
    align-items: center;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.cause-card:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-left-color: #e74c3c; /* Crvena boja upozorenja */
    transform: translateX(10px);
}

.cause-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e74c3c;
    font-size: 1.2rem;
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.cause-text h4 {
    margin: 0 0 5px 0;
    color: var(--primary-color);
    font-weight: 700;
}

.cause-text p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
}

/* DESNA STRANA - RJEŠENJE */
.solution-box {
    background: #183263; /* Tamno plava pozadina */
    color: #fff;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 90, 156, 0.25);
    overflow: hidden;
}

/* Suptilni krug u pozadini */
.solution-box::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 200px; height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.solution-icon-large {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 30px auto;
    animation: pulse-white 2s infinite;
}

@keyframes pulse-white {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.solution-box h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.solution-desc {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.solution-benefits {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 0 auto;
    display: inline-block; /* Da lista bude centrirana ali poravnata lijevo */
}

.solution-benefits li {
    margin-bottom: 15px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.solution-benefits li i {
    color: var(--accent-color);
}

/* Responzivnost */
@media (max-width: 992px) {
    .dp-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .solution-benefits {
        display: block;
    }
}

/* 3. SEKCIJA "RJEŠENJA" (KARTICE) - IDENTIČAN STIL KAO NA POČETNOJ */
/* === REDIZAJNIRANE NATUKNICE (MODERNE KARTICE 3x2) === */

/* Kontejner sekcije */
.service-highlights-modern {
    margin: 60px 0;
    text-align: center;
}

.service-highlights-modern h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

/* Narančasta crta ispod naslova */
.service-highlights-modern h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

/* GRID SUSTAV (KLJUČNO ZA RASPOLD) */
.highlights-grid {
    display: grid;
    /* Laptop/Desktop: UVIJEK Fiksno 3 kolone */
    grid-template-columns: repeat(3, 1fr) !important; 
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* DIZAJN KARTICE (MODERNO & INTERAKTIVNO) */
.highlight-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Hover efekt */
.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 90, 156, 0.15);
    border-color: rgba(255, 165, 0, 0.3);
}

/* Animirana crta na dnu */
.highlight-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.highlight-card:hover::after {
    width: 100%;
}

/* Ikona u krugu */
.h-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 165, 0, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.highlight-card:hover .h-icon {
    background-color: var(--accent-color);
    color: #fff;
    transform: rotate(10deg) scale(1.1);
}

.h-content h4 {
    margin: 0 0 10px 0;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
}

.h-content p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* RESPONZIVNOST - Ovdje mijenjamo broj kolona */

/* Tableti (ekrani manji od 992px) -> 2 kolone */
@media (max-width: 992px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobiteli (ekrani manji od 600px) -> 1 kolona */
@media (max-width: 600px) {
    .highlights-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
}


/* === CTA BLOKOVI === */
.cta-blocks-section {
    background-color: var(--light-gray);
    padding: 100px 0;
}
.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.cta-block {
    padding: 50px 40px;
    border-radius: var(--border-radius);
    text-align: center;
    text-decoration: none;
    color: var(--white-color);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.cta-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.cta-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1;
}
.cta-block h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white-color);
}
.cta-block p {
    font-size: 1rem;
    opacity: 0.9;
    color: var(--white-color);
    margin-bottom: 20px;
}
.cta-link {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: background-color 0.3s ease;
}
.cta-block:hover .cta-link {
    background-color: rgba(255, 255, 255, 0.3);
}

.cta-block-primary {
    background-color: var(--accent-color); /* Narančasta */
}
.cta-block-secondary {
    background-color: var(--primary-color); /* Plava */
}

@media (max-width: 768px) {
    .cta-grid {
        grid-template-columns: 1fr;
    }
}

/* === INFO TRAKA === */
.info-strip {
    background-color: var(--accent-color); /* Vaša narančasta boja */
    color: var(--white-color);
    padding: 25px 0; /* Tanji padding za manju visinu */
}

.info-strip .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 kolone */
    gap: 20px;
}

.info-strip-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.3); /* Linija između */
}

.info-strip-item:last-child {
    border-right: none; /* Uklanja liniju s zadnjeg elementa */
}

.info-strip-item i {
    font-size: 2rem;
    margin-right: 15px;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-text strong {
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
}

.info-text span {
    font-size: 0.9rem;
}
/* Dodatak za boju posjećenih linkova u info traci */
.info-strip a.info-strip-item,
.info-strip a.info-strip-item:visited {
    color: var(--white-color);
    text-decoration: none;
}

/* Responzivnost za info traku */
@media (max-width: 992px) {
    .info-strip .container {
        grid-template-columns: repeat(2, 1fr); /* 2 kolone na tabletima */
        gap: 25px 20px;
    }
    .info-strip-item {
        justify-content: flex-start; /* Poravnanje ulijevo na manjim ekranima */
    }
    .info-strip-item:nth-child(2) {
        border-right: none;
    }
    .info-strip-item:nth-child(1), .info-strip-item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        padding-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .info-strip .container {
        grid-template-columns: 1fr; /* 1 kolona na mobitelima */
    }
    .info-strip-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        padding-bottom: 15px;
    }
    .info-strip-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}
/* === LOKACIJSKA TRAKA (STIL KAO KONTAKT TRAKA) === */
.locations-strip {
    background-color: var(--accent-color); /* Plava boja */
    color: var(--white-color);
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.locations-strip .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 kolone */
    gap: 20px;
}

.loc-strip-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.3); /* Linija između */
}

.loc-strip-item:last-child {
    border-right: none; /* Nema linije na zadnjem */
}

.loc-strip-item i {
    font-size: 2.2rem;
    margin-right: 15px;
    color: #e0e0e0 /* Narančasta ikona za kontrast */
}

.loc-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.loc-text strong {
    font-weight: 900;
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.loc-text span {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Responzivnost (isto kao gornja traka) */
@media (max-width: 992px) {
    .locations-strip .container {
        grid-template-columns: repeat(2, 1fr); /* 2 reda po 2 na tabletu */
        gap: 30px 20px;
    }
    .loc-strip-item {
        justify-content: flex-start;
    }
    .loc-strip-item:nth-child(2) {
        border-right: none;
    }
    .loc-strip-item:nth-child(1), .loc-strip-item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        padding-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .locations-strip .container {
        grid-template-columns: 1fr; /* 1 po 1 na mobitelu */
        gap: 0;
    }
    .loc-strip-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        padding: 20px 0;
    }
    .loc-strip-item:last-child {
        border-bottom: none;
    }
}
/* === STIL ZA NAPOMENU O LOKACIJAMA === */
.locations-footer-note {
    text-align: center;
    margin-top: 30px;     /* Razmak od kvadrata */
    margin-bottom: 0;
    font-size: 0.9rem;    /* Sitnija slova */
    color: rgba(0, 59, 121, 0.9); /* Bijela boja */
    width: 100%;          /* Osigurava da je ispod svega */
    grid-column: 1 / -1;  /* Ako je unutar grida, ovo ga rasteže preko cijele širine */
}

.locations-footer-note a {
    color: #003877;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.locations-footer-note a:hover {
    opacity: 0.8;
    text-decoration: none;
}