* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Plynulý scroll */
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}

header {
    background: #fff;
    position: sticky;
    top: 0;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #2B6CB0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

nav a:hover {
    color: #2B6CB0;
}

/* Hero section */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('/images/campaign-creators-e6n7uoEnYbA-unsplash.jpg') no-repeat center/cover;
    overflow: hidden;
}

.hero-content {
    padding: 2rem;
    border-radius: 10px;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Hero-specific button */
.hero-btn {
    background: #F6AD55;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
    margin: 0 0.5rem; /* Spacing between buttons */
}

.hero-btn:hover {
    background: #DD6B20;
}

/* Page-specific hero background images */
.hero-index {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('/images/campaign-creators-e6n7uoEnYbA-unsplash.jpg') no-repeat center/cover;
}

.hero-kandidati {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('/images/kandidati.jpg') no-repeat center/cover;
}

.hero-partneri {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('/images/partneri-background.jpg') no-repeat center/cover;
}
.hero-onas {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('/images/onas.avif') no-repeat center/cover;
}
.hero-kontakt {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('/images/kontakt.jpg') no-repeat center/cover;
}

/* General button (used outside hero section) */
.btn {
    padding: 12px 28px;
    border-radius: 8px;
    background: #146ebe;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn:hover {
    background: #115a9c;
}

.section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: #2B6CB0;
    margin-bottom: 1rem;
}

footer {
    background: #2B6CB0;
    color: #fff;
    text-align: center;
    padding: 2rem;
}

/* Admin table */
table.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
    font-family: sans-serif;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.admin-table th, .admin-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.admin-table th {
    background-color: #a4b6c3;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.admin-table tr:hover {
    background-color: #eef6ff;
    cursor: default;
}

/* Form styles */
.form-container {
    max-width: 600px;
    margin: 2rem 0;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-input, .form-textarea, .form-select, .form-file {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-select {
    appearance: none;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23333" d="M6 9L2 5h8z"/></svg>') no-repeat right 0.75rem center/12px 12px;
    cursor: pointer;
}

.form-file {
    padding: 0.5rem;
}

.form-input:focus, .form-textarea:focus, .form-select:focus, .form-file:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}
/*
.form-input:invalid:not(:placeholder-shown), 
.form-textarea:invalid:not(:placeholder-shown), 
.form-select:invalid:not(:placeholder-shown), 
.form-file:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
    background-color: #fff5f5;
}*/

.success-message {
    margin-bottom: 16px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
    font-size: 0.92rem;
}

.error-message {
    margin-bottom: 16px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    font-size: 0.92rem;
}

.form-submit {
    background-color: #007bff;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-submit:hover {
    background-color: #0056b3;
}

.form-submit:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

.form-submit::after {
    content: '';
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
}

.form-submit.loading::after {
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-input.invalid, .form-textarea.invalid, .form-select.invalid, .form-file.invalid {
    border-color: #dc3545;
    background-color: #fff5f5;
}

/* Responsive design */
@media (max-width: 768px) {

    header {
        padding: 0.5rem 1rem;
    }

    nav {
        flex-wrap: wrap;              /* dozvoli da se raspadne u 2 reda */
        gap: 0.25rem 0.75rem;
        align-items: center;
    }

    nav .logo {
        font-size: 1.2rem;            /* malo manji logo */
        margin-right: 0;
    }

    header nav ul {
        flex: 1 1 100%;               /* meni ide u novi red ispod loga */
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .language-switcher {
        margin-left: auto;
    }

    .hero {
        height: 60vh;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-btn {
        display: inline-block;
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }

    .form-container {
        margin: 1rem 0;
        padding: 1rem;
    }

    .form-input, .form-textarea, .form-select, .form-file {
        font-size: 0.9rem;
    }

    .form-submit {
        width: 100%;
    }
}

/* Accessibility: High contrast for required fields */
.form-group label::after {
    content: '*';
    color: #dc3545;
    margin-left: 0.25rem;
    display: none;
}

.form-group input[required] + label::after,
.form-group textarea[required] + label::after,
.form-group select[required] + label::after,
.form-group input[type="file"][required] + label::after {
    display: inline;
}
header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
}

/* meni */
header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

/* logo levo */
header .logo {
    font-weight: 700;
    margin-right: 24px;
}

/* language switcher desno */
.language-switcher {
    margin-left: 16px;
}

.language-switcher select {
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 0.9rem;
}
/* --- Welcome sekcija --- */

.section-welcome {
    background: #f5f7fb;          /* blago siva pozadina ispod hero slike */
    padding: 60px 0 80px;
}

.container-welcome {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px;
}

.welcome-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    padding: 40px 40px 32px;
}

.welcome-title {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 2rem;
    margin-bottom: 16px;
    color: #1f64c9;               /* približno kao plava na dugmićima */
}

.welcome-lead {
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 22px;
    color: #394150;
}

.welcome-list {
    list-style: none;
    margin: 0 0 18px 0;
    padding: 0;
}

.welcome-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 8px;
    color: #1f2933;
    line-height: 1.5;
}

/* mala plava tačka umesto standardnog bullet-a */
.welcome-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #1f64c9;
}

.welcome-bottom {
    margin-top: 10px;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #394150;
}

.welcome-bottom strong {
    color: #1f64c9;
}

/* responsive – na mobilnom malo zbijenije */
@media (max-width: 768px) {
    .welcome-card {
        padding: 28px 20px 24px;
    }

    .welcome-title {
        font-size: 1.6rem;
    }
}
/* --- Benefits sekcija (3 kartice) --- */

.benefits-section {
    background: #ffffff;
    padding: 40px 0 80px;
}

.benefits-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

.benefits-heading {
    text-align: center;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.9rem;
    margin-bottom: 32px;
    color: #1f2933;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.benefit-card {
    background: #f9fafb;
    border-radius: 16px;
    padding: 24px 22px 20px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.4);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1f64c9;
}

.benefit-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 14px;
    color: #4b5563;
}

.benefit-list {
    list-style: none;
    margin: 0 0 14px 0;
    padding: 0;
}

.benefit-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 6px;
    font-size: 0.92rem;
    color: #111827;
    line-height: 1.5;
}

.benefit-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: #16a34a;
}

.benefit-link {
    margin-top: auto;
    font-size: 0.92rem;
    font-weight: 600;
    color: #1f64c9;
    text-decoration: none;
}

.benefit-link:hover {
    text-decoration: underline;
}

/* Responsive: na tablet/mobil 2 kolone ili 1 kolona */
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefits-heading {
        font-size: 1.6rem;
        margin-bottom: 24px;
    }
}
.about-section {
    background: #f5f7fb;           /* ista blaga siva kao na home welcome */
    padding: 60px 0 80px;
}

.about-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px;
}

.about-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    padding: 40px 40px 32px;
}

.about-title {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 2rem;
    margin-bottom: 16px;
    color: #1f64c9;
}

.about-intro,
.about-outro {
    font-size: 1.02rem;
    line-height: 1.7;
    color: #394150;
    margin-bottom: 20px;
}

.about-intro strong {
    font-weight: 700;
}

/* lista sa tri vrednosti */

.about-list {
    list-style: none;
    margin: 0 0 18px 0;
    padding: 0;
}

.about-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    line-height: 1.6;
    color: #1f2933;
}

/* mala plava tačka levo od reda */
.about-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #1f64c9;
}

.about-list strong {
    display: inline-block;
    margin-right: 4px;
    color: #111827;
}
/* --- Kontakt forma (kontakt.html) --- */

.contact-section {
    background: #f5f7fb;
    padding: 60px 0 80px;
}

.contact-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 16px;
}

.contact-title {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 2rem;
    margin-bottom: 24px;
    color: #111827;
}

/* kartica oko forme */
.contact-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    padding: 32px 28px 28px;
}

/* grupe polja u kontakt formi – koristi postojeći .form-group ali ga malo uskladimo */

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #374151;
}

/* inputi / textarea u kontakt formi – naslanjamo se na postojeće .form-input/.form-textarea */

.contact-form .form-input,
.contact-form .form-textarea {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 10px 12px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-form .form-textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form .form-input:focus,
.contact-form .form-textarea:focus {
    outline: none;
    border-color: #1f64c9;
    box-shadow: 0 0 0 3px rgba(31, 100, 201, 0.18);
}

/* dugme */

.contact-actions {
    margin-top: 8px;
}

.contact-btn {
    padding: 10px 28px;
    font-size: 0.96rem;
}

/* responsive */
@media (max-width: 640px) {
    .contact-card {
        padding: 24px 18px 22px;
    }

    .contact-title {
        font-size: 1.6rem;
    }
}

/* responsive */
@media (max-width: 768px) {
    .about-card {
        padding: 28px 20px 24px;
    }

    .about-title {
        font-size: 1.6rem;
    }
    .hero .btn {
        display: block;
        width: 100%;
        max-width: 280px;      /* da ne budu preširoka, možeš menjati */
        margin: 0.5rem auto;   /* razmak i centriranje */
        text-align: center;
    }
}
/* --- Kontakt forma --- */

.contact-section {
    background: #f5f7fb;
    padding: 60px 0 80px;
}

.contact-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 16px;
}

.contact-title {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 2rem;
    margin-bottom: 24px;
    color: #111827;
}

/* kartica oko forme */
.contact-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    padding: 32px 28px 28px;
}

/* grupe polja */

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #374151;
}

/* inputi / textarea */

.contact-form .form-input,
.contact-form .form-textarea {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 10px 12px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-form .form-textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form .form-input:focus,
.contact-form .form-textarea:focus {
    outline: none;
    border-color: #1f64c9;
    box-shadow: 0 0 0 3px rgba(31, 100, 201, 0.18);
}

/* dugme */

.contact-actions {
    margin-top: 8px;
}

.contact-btn {
    padding: 10px 28px;
    font-size: 0.96rem;
}

/* uspech / error poruke */

.success-message {
    margin-bottom: 16px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
    font-size: 0.92rem;
}

.error-message {
    margin-bottom: 16px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    font-size: 0.92rem;
}

/* mobile */

@media (max-width: 640px) {
    .contact-card {
        padding: 24px 18px 22px;
    }

    .contact-title {
        font-size: 1.6rem;
    }
}
.contact-form .form-file {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 8px 10px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #ffffff;
}
.thankyou-section {
    background: #f5f7fb;
    padding: 80px 0 100px;
}

.thankyou-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 16px;
}

.thankyou-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    padding: 40px 32px 32px;
    text-align: center;
}

.thankyou-title {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 2rem;
    margin-bottom: 16px;
    color: #111827;
}

.thankyou-text {
    font-size: 1.02rem;
    line-height: 1.7;
    color: #394150;
    margin-bottom: 20px;
}

.thankyou-btn {
    margin-top: 4px;
    font-size: 0.98rem;
}

/* responsive */
@media (max-width: 640px) {
    .thankyou-card {
        padding: 28px 20px 24px;
    }

    .thankyou-title {
        font-size: 1.6rem;
    }
}
.contact-info-block {
	max-width: 600px;
    margin-top: 2rem auto 2.5rem;
    padding: 1.5rem 1.75rem;
    background: #f3f4f6;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
    font-size: 0.95rem;
}

.contact-info-block h2 {
    font-family: "Poppins", sans-serif;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #1f64c9;
}

.contact-info-block p {
    margin-bottom: 0.25rem;
}

.contact-info-block .contact-note {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.gdpr-section {
    background-color: #f5f7fb;      /* svetla pozadina iza kartice */
    padding: 3rem 1rem;
}

.gdpr-card {
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    line-height: 1.6;
}

.gdpr-card h1 {
    font-size: 2rem;
    font-weight: 700;
}

.gdpr-card h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.gdpr-card p {
    margin-bottom: 0.75rem;
}

.gdpr-card .lead {
    font-size: 1.05rem;
    color: #4b5563;
}

/* malo prilagođavanje za mobilni */
@media (max-width: 768px) {
    .gdpr-card {
        padding: 1.75rem 1.25rem;
    }

    .gdpr-card h1 {
        font-size: 1.6rem;
    }
}
/* Osnova zaglavlja */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 50;
}

.main-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
}

/* Gornji red: hamburger + logo + jezik */
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: center; /* logo u sredini */
    gap: 0.5rem;
    position: relative;
}

/* Hamburger dugme */
.menu-toggle {
    border: none;
    background: transparent;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    position: absolute;
    left: 0.25rem;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #111827;
    border-radius: 999px;
}



