/* ============================================================
   SERVICES PAGE STYLES
   ============================================================ */

/* --- HERO SECTION --- */
.services-hero-section {
    position: relative;
    height: 85vh; /* Visok hero za premium utisak */
    width: 100%;
    display: flex;
    align-items: center; /* Centrira sadržaj vertikalno */
    justify-content: flex-start; /* Sadržaj levo */
    overflow: hidden;
    color: #ffffff;
}

/* --- PARALLAX POZADINA --- */
.services-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Slika zgrade/arhitekture */
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* OVO PRAVI PARALLAX */
    z-index: 0;
}

/* --- TAMNI OVERLAY (Da se beli tekst čita) --- */
.services-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 1;
}

/* --- CONTENT --- */
.services-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-top: 60px; /* Malo odvajanje od headera */
}

/* Tag iznad naslova */
.hero-tag {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-weight: 500;
}

.hero-tag .line {
    width: 40px;
    height: 1px;
    background-color: #2563EB; /* Tvoja accent plava */
}

/* GLAVNI NASLOV (VELIKI) */
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 5rem; /* Ogromna slova kao na slici */
    line-height: 1.1;
    font-weight: 400; /* Tanji, elegantan font */
    margin-bottom: 30px;
}

.hero-title em {
    font-style: italic;
    font-weight: 400;
    color: #ffffff; /* Ili tvoja plava ako želiš akcenat */
}

/* Opis ispod naslova */
.hero-desc {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    font-weight: 300;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero-title { font-size: 4rem; }
    .services-hero-section { height: 70vh; }
}

@media (max-width: 768px) {
    .services-hero-section { 
        height: 600px; /* Fiksna visina na mobilnom */
        background-attachment: scroll; /* Gasimo parallax na mob zbog performansi */
    }
    
    .hero-title { 
        font-size: 3rem; 
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .services-hero-bg {
        background-attachment: scroll;
    }
}

/* ============================================================
   SERVICES PAGE STYLES (DODAJ NA DNO STYLE.CSS)
   ============================================================ */

/* --- HERO SECTION (PARALLAX & DARK) --- */
.services-hero-section {
    position: relative;
    height: 75vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    color: #ffffff;
}

.services-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax */
    z-index: 0;
}

.services-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 100%);
    z-index: 1;
}

.services-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-top: 60px;
}

.hero-tag { display: flex; align-items: center; gap: 15px; font-size: 0.9rem; letter-spacing: 3px; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); margin-bottom: 30px; font-weight: 500; }
.hero-tag .line { width: 40px; height: 1px; background-color: #2563EB; }

.hero-title { font-family: 'Playfair Display', serif; font-size: 4.5rem; line-height: 1.1; font-weight: 400; margin-bottom: 30px; }
.hero-title em { font-style: italic; font-weight: 400; color: #ffffff; }
.hero-desc { font-size: 1.2rem; line-height: 1.7; color: rgba(255, 255, 255, 0.8); max-width: 500px; font-weight: 300; }


/* --- SERVICES LIST SECTION (TEKST + KARTICE) --- */
.services-list-section {
    padding: 100px 0;
    background-color: var(--white);
}

/* Header Text */
.services-header-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px auto;
}
.services-header-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary-color);
    margin: 20px 0;
    line-height: 1.2;
}
.services-header-text p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* --- DETAILED CARDS WRAPPER --- */
.services-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Razmak između kartica */
}

/* --- PREMIUM CARD DESIGN --- */
.service-detailed-card {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Slika 50% - Tekst 50% */
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background-color: #fff;
}

/* Slika (Levo) */
.card-img-holder {
    width: 100%;
    height: 100%;
    min-height: 350px;
    overflow: hidden;
}
.card-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

/* Sadržaj (Desno) */
.card-content-holder {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

/* Ikonica Kvadrat */
.card-icon-square {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 4px;
    margin-bottom: 25px;
    transition: background-color 0.3s ease;
}

.card-content-holder h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card-content-holder p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Dugme */
.learn-more-btn {
    padding: 12px 28px;
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
    font-weight: 500;
    border-radius: 4px;
    transition: 0.3s;
}
.learn-more-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* --- HOVER EFFEKT NA KARTICU (ONA PLAVA POZADINA) --- */
.service-detailed-card:hover {
    /* Blaga plava pozadina sa niskim opacity-em */
    background-color: rgba(37, 99, 235, 0.04); 
    border-color: rgba(37, 99, 235, 0.3); /* Plavi border */
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08);
}

.service-detailed-card:hover .card-img-holder img {
    transform: scale(1.05); /* Slika se zumira */
}

.service-detailed-card:hover .card-icon-square {
    background-color: var(--accent-color); /* Ikonica postaje svetlo plava */
}


/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    /* Hero */
    .hero-title { font-size: 3rem; }
    .services-hero-section { height: 60vh; background-attachment: scroll; }
    
    /* Kartice na mobilnom: Jedna ispod druge */
    .service-detailed-card {
        grid-template-columns: 1fr; /* Jedna kolona */
    }
    
    .card-img-holder {
        height: 250px;
        min-height: auto;
    }
    
    .card-content-holder {
        padding: 30px;
    }
    
    .services-header-text h2 { font-size: 2.2rem; }
}

/* ============================================================
   NEW SECTIONS FOR SERVICES PAGE (SELLERS & BUYERS)
   ============================================================ */

/* --- GENERAL UTILS --- */
.centered-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.centered-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary-color);
    margin: 20px 0 30px 0;
    line-height: 1.2;
}

.centered-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 35px;
}

.btn-dark {
    background-color: var(--primary-color); /* Tamno plava */
    color: #fff;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
}
.btn-dark:hover {
    background-color: var(--accent-color); /* Svetlija plava na hover */
    transform: translateY(-2px);
}


/* --- SELLERS SECTION (Velika Vision Space Kartica) --- */
.sellers-section {
    padding: 100px 0;
    background-color: var(--white);
}

.vision-card-wrapper {
    display: flex;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.vision-img {
    flex: 1.2; /* Slika malo šira */
    min-height: 450px;
}

.vision-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vision-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.vision-icon {
    width: 50px; height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    border-radius: 4px;
    margin-bottom: 25px;
}

.vision-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.vision-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 30px;
}


/* --- BUYERS SECTION (3 Sive kartice + Experience) --- */
.buyers-section {
    padding: 0 0 100px 0;
    background-color: var(--white);
}

.buyers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 100px;
}

.buyer-card {
    background-color: #F1F5F9; /* Siva boja kao na slici */
    padding: 40px 30px;
    border-radius: 4px;
    transition: 0.3s;
}

.buyer-card:hover {
    transform: translateY(-5px);
}

.buyer-icon {
    width: 45px; height: 45px;
    background-color: var(--primary-color); /* Tamna ikonica */
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    border-radius: 4px;
    margin-bottom: 20px;
}

.buyer-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.buyer-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Driven by Experience (Slika + Tekst) */
.experience-wrapper {
    display: flex;
    gap: 60px;
    align-items: center;
}

.exp-img { flex: 1; height: 500px; border-radius: 4px; overflow: hidden; }
.exp-img img { width: 100%; height: 100%; object-fit: cover; }

.exp-content { flex: 1; }
.exp-content h2 { font-family: 'Playfair Display', serif; font-size: 3rem; margin: 20px 0 30px 0; line-height: 1.1; color: var(--primary-color); }
.exp-content p { color: var(--text-light); font-size: 1.1rem; line-height: 1.7; margin-bottom: 40px; }


/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .centered-header h2 { font-size: 2.2rem; }
    
    .vision-card-wrapper { flex-direction: column; }
    .vision-img { min-height: 250px; }
    .vision-content { padding: 30px; }
    
    .buyers-grid { grid-template-columns: 1fr; }
    
    .experience-wrapper { flex-direction: column-reverse; gap: 40px; } /* Slika dole na mob */
    .exp-img { width: 100%; height: 300px; }
    .exp-content h2 { font-size: 2.2rem; }
}