/* GLOBALNI STILOVI I RESET */
:root {
    --primary-color: #007bff; /* Plava boja za Call-to-Action */
    --secondary-color: #28a745; /* Zelena boja za naglašavanje (može se promeniti) */
    --text-color: #333;
    --light-bg: #f8f9fa; /* Svetlo siva pozadina */
    --accent-bg: #e9ecef; /* Malo tamnija pozadina za sekciju */
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: white;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

h1, h2, h3 {
    margin-bottom: 0.8em;
    font-weight: 700;
    color: #212529;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5em;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
}

/* HEADER - HERO SEKCIJA */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(''); /* Ovde treba staviti pravu sliku */
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 0.5em;
}

.hero .subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2em;
}

/* POZIV NA AKCIJU - CTA BUTTON */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.secondary-cta {
    background-color: var(--secondary-color);
}
.secondary-cta:hover {
    background-color: #1e7e34;
}

/* OPŠTE SEKCIJE */
.section {
    padding: 60px 0;
}

.light-bg {
    background-color: var(--light-bg);
}

.accent-bg {
    background-color: var(--accent-bg);
    padding: 40px 0;
}

.accent-bg h2 {
    color: var(--primary-color);
}

/* GRID ZA PREDNOSTI */
.benefits-grid {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.benefits-grid ul {
    list-style: none;
    padding: 0;
    flex: 1;
}

.benefits-grid li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23007bff"><path d="M0 0h24v24H0z" fill="none"/><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}


/* KARTICE ZA VRSTE SEPARATORA */
.type-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    text-align: center;
}

.card {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border-top: 5px solid var(--primary-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
}

/* FAQ STILOVI */
.faq-item {
    background-color: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    margin-bottom: 0.5em;
    font-size: 1.15rem;
    color: var(--primary-color);
}

/* KONTAKT SEKCIJA */
.contact-section {
    text-align: center;
    background-color: var(--light-bg);
    padding-bottom: 80px;
}

.contact-info {
    margin: 30px 0;
    font-size: 1.2rem;
}

.placeholder-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    border: 1px dashed #ccc;
    border-radius: 8px;
}

.placeholder-form input, 
.placeholder-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.placeholder-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* FOOTER */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* RESPONZIVNOST (MOBILNI TELEFONI) */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.6rem;
    }
    
    .benefits-grid {
        flex-direction: column;
    }

    .benefits-grid li {
        font-size: 1rem;
    }
}
/* Dodatni CSS za formu */
.contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 25px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.contact-form .form-description {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #555;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
#zasto-mi .container .cta-button.secondary-cta {
    display: block;
    margin: 20px auto 0 auto; /* 10px od vrha + centrirano */
    width: fit-content;       /* da dugme ostane prirodne širine */
}
/* Hero sekcija */
.hero-section {
    padding: 80px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.hero-section .subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    color: #555;
}

/* Dugmad */
.cta-button {
    display: inline-block;
    background: ##007bff;
    color: #fff;
    padding: 14px 26px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s;
    margin: 5px;
}

.cta-button:hover {
    background: #0056c9;
}

/* Sekundarno dugme */
.secondary-cta {
    background: #ffffff;
    color: #333;
    border: 1px solid #ccc;
}

.secondary-cta:hover {
    background: #f0f0f0;
}

/* Linkovi galerije su skriveni */
.hidden-gallery {
    display: none;
}
.cta-button.secondary-cta {
    background: #28a745;
    color: #fff !important;
    border: none;
}

.cta-button.secondary-cta:hover {
    background: #218838;
}
.fb-posts-section {
    padding: 40px 0;
}

.fb-posts-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.fb-post-item {
    flex: 1 1 30%;
    max-width: 30%;
    min-width: 280px;
}

/* Da embed bude 100% širine kartice */
.fb-post-item > * {
    width: 100% !important;
}
/* CENTRIRAN FB POST NA MOBILNIM */
@media (max-width: 768px) {

    .fb-posts-container {
        justify-content: center !important;
        text-align: center !important;
    }

    .fb-post-item {
        max-width: 100% !important;
        flex: 1 1 100% !important;
        display: flex;
        justify-content: center;
    }

    /* Facebook ubacuje inline width — ovo ga pegla */
    .fb-post-item iframe,
    .fb-post-item > span,
    .fb-post-item .fb-post,
    .fb-post-item > * {
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 380px !important; /* lepo izgleda na mobilnom */
        display: block !important;
    }
}
