:root {
    --primary-color: #e74c3c; 
    --secondary-color: #2c3e50; 
    --text-color: #333;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --transition: 0.3s ease;
}

/* --- GLOBAL RESET & SMOOTH SCROLL --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth; 
    scroll-padding-top: 80px; 
     overflow-x: hidden; /* Sprečava horizontalno skrolovanje */
}



body { font-family: 'Lato', sans-serif; color: var(--text-color); line-height: 1.6; background: var(--bg-light); overflow-x: hidden; }
h1, h2, h3, strong { font-family: 'Poppins', sans-serif; color: var(--secondary-color); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- POBOLJŠANA ANIMACIJA --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

.reveal.active { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* --- HEADER & NAVIGACIJA --- */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky; 
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}
header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo { font-size: 1.5rem; font-weight: 700; color: var(--secondary-color); }
.logo strong { color: var(--primary-color); }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 600; font-size: 1rem; position: relative; padding: 10px 0; }
.nav-links > li > a:hover { color: var(--primary-color); }

/* --- DROPDOWN MENI (NOVO) --- */
.dropdown-parent { position: relative; }
.dropdown-parent .arrow { font-size: 0.7rem; margin-left: 5px; vertical-align: middle; }

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1100;
}

/* Prikaži dropdown na hover */
.dropdown-parent:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li { display: block; }
.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.95rem;
    color: var(--text-color);
    border-bottom: 1px solid #eee;
    font-weight: 500;
}
.dropdown-menu li:last-child a { border-bottom: none; }
.dropdown-menu li a:hover {
    background: #f5f5f5;
    color: var(--primary-color);
    padding-left: 25px; /* Mali efekat pomeranja */
}

/* Hamburger Menu (Mobile) */
.hamburger { display: none; cursor: pointer; }
.hamburger .line { width: 25px; height: 3px; background: var(--secondary-color); margin: 5px; transition: var(--transition); }

/* --- TICKER TRAKA --- */
.ticker-wrapper {
    width: 100%;
    background-color: var(--secondary-color);
    color: var(--white);
    height: 40px;
    line-height: 40px;
    overflow: hidden;
    position: relative;
    z-index: 900;
}
.ticker {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 40s linear infinite;
}
.ticker-content span {
    display: inline-block;
    padding: 0 2rem;
    font-size: 0.9rem;
}
.ticker:hover { animation-play-state: paused; }
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- HERO SLIDER --- */
.hero-slider { position: relative; height: 85vh; overflow: hidden; background: #000; }
.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1s ease-in-out;
}
.slide.active { opacity: 1; }

.slide::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); 
}

.slide-content {
    position: relative; z-index: 2;
    height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    color: var(--white); max-width: 800px;
}
.slide-content h1 { font-size: 3.5rem; margin-bottom: 1rem; color: var(--white); line-height: 1.2; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.slide-content p { font-size: 1.2rem; margin-bottom: 2rem; max-width: 600px; text-shadow: 1px 1px 3px rgba(0,0,0,0.5); }

.cta-button {
    display: inline-block; background: var(--primary-color); color: var(--white);
    padding: 15px 35px; border-radius: 50px; font-weight: 700; text-transform: uppercase;
    border: none; cursor: pointer; transition: transform 0.2s, background 0.2s;
}
.cta-button:hover { background: #c0392b; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4); }

.scroll-down-link { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 10; }
.mouse { width: 30px; height: 50px; border: 2px solid #fff; border-radius: 20px; position: relative; }
.wheel { width: 4px; height: 8px; background: #fff; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); border-radius: 2px; animation: wheel 1.5s infinite; }
@keyframes wheel { 0% { top: 10px; opacity: 1; } 100% { top: 30px; opacity: 0; } }

/* --- TRUST BADGES --- */
.trust-badges-section { padding: 40px 0; background: var(--white); border-bottom: 1px solid #eee; }
.badges-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; text-align: center; }
.badge-item .badge-icon { font-size: 2.5rem; margin-bottom: 10px; display: block; }
.badge-item h3 { font-size: 1.1rem; margin-bottom: 5px; }
.badge-item p { font-size: 0.9rem; color: #777; }

/* --- O NAMA (Centrirano) --- */
.content-section, .testimonials, .process-section { padding: 80px 0; }
.testimonials { background: var(--bg-light); }
.testimonials h2, .content-section h2, .products-overview h2, .process-section h2 { text-align: center; margin-bottom: 50px; font-size: 2.2rem; }

/* Specifično za O Nama - Centriranje */
.text-center-section { text-align: center; }
.centered-content-wrapper { max-width: 900px; margin: 0 auto; }
.text-block { max-width: 800px; margin: 0 auto; text-align: left; /* Tekst paragrafa lepo izgleda levo poravnat unutar centriranog bloka, ili stavi center ako želiš sve u sredini */ text-align: center; }

.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card { background: var(--white); padding: 30px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); font-style: italic; }
.testimonial-card span { display: block; margin-top: 15px; font-weight: 700; color: var(--primary-color); font-style: normal; font-size: 0.9rem; }

/* Osnovni izgled kartice */
.testimonial-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    
    /* Ključno za animaciju */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Efekat na prelazak mišem (HOVER) */
.testimonial-card:hover {
    transform: translateY(-10px); /* Podiže karticu na gore */
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); /* Jaca i meksa senka */
    border-bottom: 3px solid #ff5722; /* Narandžasta linija na dnu */
}

/* Dodatni detalj: Ikonica navodnika koja blago sija na hover */
.testimonial-card::before {
    content: '"';
    font-family: serif;
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 100px;
    color: #f0f0f0;
    z-index: 0;
    transition: color 0.3s ease;
}

.testimonial-card:hover::before {
    color: #fff3e0; /* Blago narandžasti navodnici na hover */
}

/* Osiguraj da tekst ide preko navodnika */
.testimonial-card p, 
.testimonial-card span {
    position: relative;
    z-index: 1;
}

.full-width-image { width: 100%; border-radius: 10px; margin: 30px 0; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* --- PROIZVODI --- */
.products-overview { background: var(--white); padding-bottom: 100px; }
.product-card { display: flex; align-items: center; gap: 50px; margin-bottom: 80px; }
.product-card.reverse { flex-direction: row-reverse; }
.product-card img { width: 50%; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: transform 0.3s; }
.product-card:hover img { transform: scale(1.2); }
.product-info { width: 50%; }
.product-info h3 { font-size: 2rem; margin-bottom: 15px; }
.details-button { display: inline-block; margin-top: 20px; padding: 10px 25px; border: 2px solid var(--secondary-color); color: var(--secondary-color); font-weight: 700; border-radius: 30px; }
.details-button:hover { background: var(--secondary-color); color: var(--white); }

/* --- PROCES --- */
.process-steps { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.step { flex: 1; min-width: 200px; text-align: center; }
.step-icon { width: 60px; height: 60px; background: var(--primary-color); color: var(--white); border-radius: 50%; line-height: 60px; font-size: 1.5rem; font-weight: 700; margin: 0 auto 20px; }

/* --- KONTAKT & FORMA --- */
.contact-section { background: var(--secondary-color); color: var(--white); }
.contact-section h2, .contact-section p { color: var(--white); text-align: center; }
.contact-subtitle { margin-bottom: 50px; opacity: 0.8; }

.contact-wrapper { display: flex; gap: 50px; background: var(--white); color: var(--text-color); padding: 40px; border-radius: 15px; }
.contact-form-container { flex: 2; }
.contact-info-sidebar { flex: 1; border-left: 1px solid #eee; padding-left: 40px;}
.contact-info-sidebar p { color: #000000;}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; font-family: inherit; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-color); }

.product-checkboxes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.product-checkboxes label { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; cursor: pointer; }
.product-checkboxes input[type="checkbox"] { width: auto; }

.file-upload-group input[type="file"] { padding: 10px 0; border: none; }

.phone-cta { display: block; font-size: 1.5rem; font-weight: 700; color: var(--primary-color); margin: 10px 0 20px; }
.social-buttons { display: flex; gap: 10px; margin-bottom: 30px; }
.whatsapp-btn, .viber-btn { flex: 1; text-align: center; padding: 10px; border-radius: 5px; color: white; font-weight: 600; font-size: 0.9rem; }
.whatsapp-btn { background: #25D366; }
.viber-btn { background: #7360f2; }

footer { background: #1a252f; color: #7f8c8d; padding: 20px 0; text-align: center; font-size: 0.9rem; }

.floating-actions { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 15px; z-index: 2000; }
.float-btn { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; box-shadow: 0 4px 15px rgba(0,0,0,0.3); color: white; transition: transform 0.3s; }
.float-btn.phone { background: var(--primary-color); }
.float-btn.whatsapp { background: #25D366; }
.float-btn:hover { transform: scale(1.1); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-links { 
        display: none; 
        position: absolute; 
        top: 70px; 
        left: 0; 
        width: 100%; 
        background: var(--white); 
        flex-direction: column; 
        padding: 20px; 
        box-shadow: 0 5px 10px rgba(0,0,0,0.1); 
        align-items: flex-start; /* Da linkovi budu poravnati levo na mobilnom */
    }
    .nav-links.active { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a { display: block; width: 100%; }
    .hamburger { display: block; }
    
    /* Podešavanje Dropdown-a za mobilni */
    .dropdown-menu {
        position: static; /* Ne lebdi, već je deo liste */
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: #f9f9f9;
        padding-left: 20px; /* Uvučeno unutra */
        display: block; /* Uvek prikazano unutar menija radi lakše navigacije */
        min-width: 100%;
    }
    .dropdown-menu li a { padding: 10px 0; border-bottom: 1px solid #e0e0e0; font-size: 0.9rem; }

    .slide-content h1 { font-size: 2rem; }
    .product-card, .product-card.reverse { flex-direction: column; gap: 20px; text-align: center; }
    .product-card img, .product-info { width: 100%; }
    
    .contact-wrapper { flex-direction: column-reverse; padding: 20px; }
    .contact-info-sidebar { border-left: none; border-bottom: 1px solid #eee; padding-left: 0; padding-bottom: 30px; margin-bottom: 30px; }
    .form-grid { grid-template-columns: 1fr; }
    .product-checkboxes { grid-template-columns: 1fr; }
}


    /* Inline stilovi za ovu sekciju (dodati u style.css kasnije) */
    .design-promo-section {
        padding: 80px 0;
        background: linear-gradient(to right, #f8f9fa, #e9ecef);
        position: relative;
        overflow: hidden;
    }
    .design-promo-wrapper {
        display: flex;
        align-items: center;
        gap: 50px;
    }
    .design-promo-image {
        flex: 1;
        position: relative;
    }
    .design-promo-image img {
        width: 100%;
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);
        transform: rotate(-2deg);
        transition: 0.3s;
    }
    .design-promo-image:hover img { transform: rotate(0); }
    
    .floating-badge {
        position: absolute; bottom: 20px; right: -10px;
        background: #fff; padding: 15px 25px; border-radius: 50px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 10px;
        animation: float 3s ease-in-out infinite;
    }
    .floating-badge span { font-size: 1.5rem; }
    .floating-badge p { margin: 0; font-weight: bold; color: var(--secondary-color); }
    
    .design-promo-content { flex: 1; }
    .subtitle-tag {
        color: var(--primary-color); font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
        display: block; margin-bottom: 10px;
    }
    .design-promo-content h2 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 20px; color: var(--secondary-color); }
    .design-features-list { list-style: none; margin: 25px 0; }
    .design-features-list li { margin-bottom: 10px; font-size: 1.05rem; }
    
    .promo-buttons { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
    .promo-price-tag { font-size: 1.1rem; color: #555; }
    .promo-price-tag strong { color: var(--primary-color); font-size: 1.3rem; }
    
    @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
    @media (max-width: 992px) {
        .design-promo-wrapper { flex-direction: column; text-align: center; }
        .design-promo-image img { transform: none; max-width: 100%; }
        .floating-badge { right: 50%; transform: translateX(50%); bottom: -15px; }
        .design-features-list { text-align: left; display: inline-block; }
        .promo-buttons { justify-content: center; }
    }



/* --- FAQ SEKCIJA STILOVI --- */
.faq-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
    width: 100%;
    background: #fff;
    border: none;
    padding: 20px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #fdfdfd;
    color: var(--primary-color);
}

.faq-question.active {
    background: #f0f7ff; /* Svetlo plava kad je aktivno */
    color: var(--primary-color);
    border-bottom: 1px solid #eee;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg); /* Plus postaje X */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 20px;
    background: #fff;
}

.faq-answer p {
    padding: 20px 0;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.faq-answer code {
    background: #eee;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    color: #333;
}


/* --- POVEĆANJE SLIKE PROIZVODA NA DESKTOPU --- */

@media (min-width: 992px) {
    /* Ovo osigurava da kartica bude flex kontejner */
    .product-card {
        display: flex;
        align-items: center; /* Centrira vertikalno */
        justify-content: space-between;
        gap: 50px; /* Veći razmak između slike i teksta */
        padding: 60px 0; /* Malo više prostora gore/dole */
    }

    /* OVO JE KLJUČNO: Menjamo veličinu dela sa slikom */
    .product-card picture {
        flex: 1;             /* Zauzima 1 deo prostora (50%) */
        min-width: 50%;      /* Osigurava da ne bude manja od pola */
        height: 400px;       /* Povećavamo visinu slike */
        position: relative;
        overflow: hidden;
        border-radius: 15px; /* Lepše zaobljene ivice */
        box-shadow: 0 15px 30px rgba(0,0,0,0.15); /* Jača senka za 3D efekat */
    }

    /* Stilizovanje same slike unutar taga */
    .product-card img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Slika popunjava ceo prostor bez deformacije */
        transition: transform 0.5s ease;
    }

    /* Efekat zumiranja na hover */
    .product-card:hover img {
        transform: scale(1.25);
    }

    /* Deo sa tekstom */
    .product-info {
        flex: 1;             /* Zauzima 1 deo prostora (50%) */
        padding: 0 20px;
    }

    /* Povećanje naslova jer je i slika veća */
    .product-info h3 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .product-info p {
        font-size: 1.1rem;
        line-height: 1.8;
    }
}
/* Dizajn Sekcija sa Pozadinskom Slikom */
.design-full-bg {
    position: relative;
    padding: 100px 0;
    color: #ffffff;
    overflow: hidden;
    text-align: center;
}

/* Pozadinska slika sa parallax efektom (opciono) */
.design-full-bg .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Ovo pravi Parallax efekat (slika stoji dok skrolujes) */
    z-index: 1;
}

/* Crni preliv da se tekst vidi */
.design-full-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(20,20,20,0.7) 100%);
    z-index: 2;
}

.design-full-bg .relative-content {
    position: relative;
    z-index: 3; /* Tekst mora biti iznad slike i overlaya */
}

.design-content-centered {
    max-width: 800px;
    margin: 0 auto;
}

.design-content-centered h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.subtitle-tag-light {
    display: inline-block;
    background: #ff5722; /* Tvoja akcentna boja */
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.lead-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #e0e0e0;
}

/* Ikonice u liniji */
.features-grid-mini {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.features-grid-mini .feat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
}

.price-highlight {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsivnost za mobilne */
@media (max-width: 768px) {
    .design-full-bg h2 {
        font-size: 1.8rem;
    }
    .features-grid-mini {
        gap: 15px;
        flex-direction: column;
    }
}

#faq {
    background-color: #f4f6f8; /* Veoma svetla sivo-plavkasta, deluje profesionalno */
    padding-top: 60px;
    padding-bottom: 60px;
}

.process-section {
    /* Suptilna tačkasta mreža */
    background-color: #ffffff;
    background-image: radial-gradient(#ccc 1px, transparent 1px);
    background-size: 20px 20px; 
}

/* Stil za animiranu cenu */
.price-badge-animated {
    margin-top: 25px;
    display: inline-block;
    background-color: #ffeb3b; /* Jarka žuta boja */
    color: #c62828; /* Jarka crvena slova za kontrast */
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 800;
    box-shadow: 0 0 15px rgba(255, 235, 59, 0.6); /* Žuti sjaj oko dugmeta */
    animation: pulse-glow 2s infinite; /* Pokreće animaciju */
    cursor: default;
}

.price-badge-animated .label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.price-badge-animated .amount {
    display: block;
    font-size: 1.8rem; /* Veoma krupna cena */
    line-height: 1;
}

/* Animacija pulsiranja (Heartbeat) */
@keyframes pulse-glow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 235, 59, 0.7);
    }
    50% {
        transform: scale(1.05); /* Malo se uveća */
        box-shadow: 0 0 20px 10px rgba(255, 235, 59, 0); /* Senka se širi i nestaje */
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 235, 59, 0);
    }
}

/* Prilagođavanje za mobilne telefone */
@media (max-width: 768px) {
    .price-badge-animated .amount {
        font-size: 1.5rem;
    }
}

/* Back to Top Dugme */
#back-to-top {
    position: fixed;
    bottom: 180px; /* Podignuto da ne smeta WhatsApp dugmetu */
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #333; /* Tamna boja za kontrast ili #ff5722 za brend */
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999; /* Da bude iznad svega */
    
    /* Početno stanje - nevidljivo */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

/* Stanje kada dugme postane vidljivo */
#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hover efekat */
#back-to-top:hover {
    background-color: #ff5722; /* Tvoja akcentna narandžasta boja */
    transform: translateY(-5px); /* Malo skoči na gore */
}

/* Prilagođavanje za mobilne */
@media (max-width: 768px) {
    #back-to-top {
        bottom: 160px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* DIZAJN TABELE ZA MALE TIRAŽE */
.modern-table-wrapper {
    overflow-x: auto; /* Za mobilne telefone */
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    background: white;
}

.modern-price-table {
    width: 100%;
    border-collapse: separate; /* Omogućava border-radius */
    border-spacing: 0;
    min-width: 600px; /* Sprečava sabijanje na mobilnom */
}

.modern-price-table thead th {
    background: #2c3e50; /* Tamna boja zaglavlja */
    color: #ffffff;
    padding: 18px 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-bottom: 3px solid var(--primary-color);
}

.modern-price-table tbody tr {
    transition: all 0.2s ease;
}

.modern-price-table tbody tr:hover {
    background-color: #fff8e1; /* Blago žuta na hover */
    transform: scale(1.01); /* Blagi pop-up efekat */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 2;
    position: relative;
}

.modern-price-table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
    vertical-align: middle;
    color: #555;
}

/* Isticanje cene */
.price-highlight {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #333;
}

.price-highlight.color-accent {
    color: var(--primary-color); /* Tvoja narandžasta/crvena */
}

/* Stara cena (precrtana) */
.price-old {
    display: block;
    font-size: 0.85rem;
    text-decoration: line-through;
    color: #999;
    margin-bottom: 2px;
}

/* Bedž za popust */
.discount-badge {
    display: inline-block;
    background: #e74c3c;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    vertical-align: middle;
    font-weight: bold;
}

/* Dugme u tabeli */
.table-btn {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.85rem;
}

.table-btn:hover {
    background: var(--secondary-color);
    color: white;
}

/* Isticanje najboljeg tiraža (npr 500 kom) */
.best-value-row {
    background-color: #f9fcfd;
    border-left: 4px solid var(--primary-color);
}

.faq-section {
    /* Suptilna tačkasta mreža */
    background-color: #ffffff;
    background-image: radial-gradient(#ccc 1px, transparent 1px);
    background-size: 20px 20px; 
}