/* =========================================
   1. CSS VARIJABLE I FONTOVI
========================================= */
:root {
    --primary-orange: #FF5F15;
    --dark-orange: #CC4C11;
    --dark-bg: #1a1a1a;
    --light-bg: #f4f4f4;
    --text-dark: #333333;
    --text-light: #ffffff;
    --transition: all 0.3s ease;
}

@font-face {
    font-family: 'Satoshi';
    src: url('./fonts/Satoshi-Variable.woff2') format('woff2');
    font-weight: 300 900;
    font-display: swap;
}

/* =========================================
   2. OSNOVNA PODEŠAVANJA (RESET)
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Satoshi', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =========================================
   3. ANIMACIJE I EFEKTI
========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}



.bg-blur-circle {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
}

.bg-blur-circle.orange {
    width: 400px;
    height: 400px;
    background: rgba(255, 95, 21, 0.15);
    top: 10%;
    right: -100px;
}

.bg-blur-circle.dark {
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.03);
    bottom: -100px;
    left: -100px;
}

/* =========================================
   4. DUGMIĆI (BUTTONS)
========================================= */
.btn {
    display: inline-block;
    background-color: var(--primary-orange);
    color: var(--text-light);
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    border: 2px solid var(--primary-orange);
}

.btn:hover {
    background-color: transparent;
    color: var(--primary-orange);
}

.btn-dark {
    background-color: var(--dark-bg);
    border-color: var(--dark-bg);
}

.btn-dark:hover {
    background-color: transparent;
    color: var(--dark-bg);
}

.cta-button {
    display: inline-block;
    padding: 14px 30px;
    background: #FF5F15;
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 95, 21, 0.35);
}

.cta-button:active {
    transform: translateY(-1px);
}

.glow-button {
    
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 12px;
    background: var(--primary-orange);
    color: var(--text-dark);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    transition: 0.4s;
    box-shadow: 0 0 20px rgba(255, 95, 21, 0.4);
    letter-spacing: 0.5px;
}

.glow-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(255, 95, 21, 0.6);
    letter-spacing: 1px;
}

/* =========================================
   5. NAVIGACIJA
========================================= */
nav {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(35, 35, 35, 0.85));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--text-light);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    overflow: visible;
    box-sizing: border-box;
}

nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.12), transparent);
    transform: skewX(-25deg);
    transition: 0.8s;
    pointer-events: none;
}

nav:hover::before {
    left: 130%;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-light);
    text-decoration: none;
    z-index: 1002;
}

.logo span {
    color: var(--primary-orange);
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.45);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.nav-links li a:hover {
    background: rgba(255, 140, 0, 0.15);
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.25);
    color: white;
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    color: var(--primary-orange);
    z-index: 1002;
    transition: 0.3s ease;
}

.mobile-menu-btn i {
    font-size: 1.5rem;
    transition: all 0.35s ease;
}

.mobile-menu-btn i.fa-xmark {
    transform: rotate(180deg);
    color: white;
}

/* =========================================
   6. HERO SEKCIJA
========================================= */
header {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    text-align: center;
    color: var(--text-light);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header .btn.fade-in {
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, background-color 0.3s ease;
    transition-delay: 0.6s;
}

header .btn.fade-in.visible {
    transition-delay: 0s;
}

header .btn:hover {
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    transform: scale(1.05);
}

header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

header h1 span {
    color: var(--primary-orange);
}

header p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.buttons {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

/* =========================================
   7. OPŠTE SEKCIJE I NASLOVI
========================================= */
.main-wrapper {
    max-width: 100%;
    width: 100%;
    margin: 0;
}

.sekcija {
    padding: 5rem 5%;
}

.sekcija-naslov {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.sekcija-naslov span {
    color: var(--primary-orange);
}

.sekcija-podnaslov {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    color: #555;
}

.sekcija-podnaslov strong {
    display: block;
    font-size: 1.3rem;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
    line-height: 1.2;
    color: #000;
}

.section-title .text-orange {
    color: var(--primary-orange);
    text-shadow: 0 0 30px rgba(255, 107, 0, 0.2);
}

section .section-title {
    padding-top: 20px;
}

/* =========================================
   8. PROMO BANER
========================================= */
.promo-banner {
    background-color: var(--primary-orange);
    color: var(--text-light);
    text-align: center;
    padding: 4rem 5%;
}

.promo-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.promo-banner h2 span {
    color: var(--dark-bg);
}

.promo-banner p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    font-weight: 600;
}

/* =========================================
   9. KALKULATOR
========================================= */
.dest-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 35px;
    width: 90%;
    margin: auto;
}

.dest-btn {
    background: #111;
    border: 1px solid #222;
    color: #fff;
    padding: 12px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    text-transform: uppercase;
    width: 100%;
}

.dest-btn:hover {
    border-color: #444;
    background: #151515;
}

.dest-btn.active {
    background: var(--primary-orange);
    color: #000;
    border-color: var(--primary-orange);
}

.calc-box {
    background: var(--card);
    border: 3px solid rgba(255, 106, 0, 0.411);
    border-radius: 24px;
    padding: 50px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    width: 90%;
    margin: auto;
    margin-top: 16px;
}

.calc-box>div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calc-box>div:nth-child(2) {
    border-left: 1px solid #1a1a1a;
    padding-left: 50px;
}

.price-val {
    font-size: clamp(2.5rem, 4.5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin: 15px 0;
    display: block;
    white-space: nowrap;
}

.bad {
    color: #333;
    text-decoration: line-through;
}

.good {
    color: var(--primary-orange);
}

.calc-box p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* =========================================
   10. PAKETI KARTICE
========================================= */
.paketi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.paketi-cta {
    text-align: center;
    margin-top: 40px;
}

.paket-kartica {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
    border-bottom: 5px solid var(--primary-orange);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.paket-kartica:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 95, 21, 0.2);
}

.paket-kartica .sta-obuhvata {
    display: block;
    margin-top: -20px;
    margin-bottom: 14px;
    color: #777;
    font-size: 0.9rem;
    letter-spacing: 0.2px;
}

.paket-ikona {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.paket-kartica h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-bg);
}

.paket-kartica ul {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.paket-kartica ul li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.paket-kartica ul li i {
    color: var(--primary-orange);
    margin-right: 10px;
}

.paket-kartica .btn {
    padding: 10px;
    width: 45%;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
}

.cena {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-bg);
    margin-bottom: 1rem;
}

.detalji {
    text-decoration: none;
    text-align: center;
    color: #464444;
    font-size: 0.8em;
    margin-top: 8px;
}

.lista {
    font-size: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.lista li i {
    flex-shrink: 0;
    font-size: 14px;
}

/* =========================================
   11. INFO I STATISTIKA
========================================= */
.info-sekcija {
    background-color: var(--dark-bg);
    color: var(--text-light);
    text-align: center;
}

.info-sekcija .sekcija-naslov {
    color: var(--text-light);
}

.info-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.info-box {
    flex: 1 1 300px;
    padding: 2rem;
}

.info-box i {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.statistika-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.stat-box i {
    font-size: 5rem;
    color: #FF5F15;
    margin-bottom: 15px;
}

.stat-box .broj {
    font-size: 4rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 5px;
}

.stat-box p {
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* =========================================
   12. FORME I DETALJI KARTICE
========================================= */
.detalji-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding: 120px 5% 60px;
    flex-wrap: wrap;
    background: #f9f9f9;
}

.forma-kartica {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 320px;
    max-width: 500px;
}

.forma-grupa {
    margin-bottom: 15px;
}

.forma-grupa label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.forma-grupa input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.paket-opis {
    margin: 15px 0;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* =========================================
   13. CHECKOUT & GLASSMORPHISM FORMA
========================================= */
.checkout-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.checkout-intro p {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.checkout-intro p span {
    color: var(--primary-orange);
    font-weight: bold;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.badge i {
    color: var(--primary-orange);
}

.glass-container {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.glass-card {
    position: relative;
    width: 100%;
    max-width: 800px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}





.form-header {
    margin-bottom: 2.5rem;
}

.form-header h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.form-header .line {
    width: 60px;
    height: 4px;
    background: var(--primary-orange);
    border-radius: 2px;
}

.input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 3rem;
}

.input-box {
    position: relative;
    border-bottom: 1px solid #444;
}

.input-box i {
    position: absolute;
    left: 0;
    bottom: 12px;
    color: var(--primary-orange);
}

.input-box input,
.input-box select {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 10px 10px 10px 30px;
    color: #070707;
    font-size: 1rem;
}

.input-box select {
    cursor: pointer;
    appearance: none;
}

.input-box select option {
    background-color: rgb(255, 136, 0);
    color: #ffffff;
}

.input-box label {
    position: absolute;
    left: 30px;
    bottom: 12px;
    color: #777;
    transition: 0.3s;
    pointer-events: none;
}

.input-box input:focus~label,
.input-box input:not(:placeholder-shown)~label,
.input-box select:focus~label,
.input-box select:valid~label {
    bottom: 35px;
    font-size: 0.8rem;
    color: var(--primary-orange);
}

.glow-text {
    margin-top: 100px;
    font-size: 2em;
    font-weight: 900;
    color: #f58505;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
}

/* SUCCESS SCREEN EKRAN */
.success-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fd8700;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.5s ease-in-out;
    z-index: 100;
}

.success-screen.active {
    opacity: 1;
    pointer-events: auto;
}

.success-content {
    text-align: center;
}

.check-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-close {
    margin-top: 20px;
    background: transparent;
    border: 1px solid #444;
    color: #fff;
    padding: 10px 30px;
    border-radius: 8px;
    cursor: pointer;
}

/* =========================================
   14. FOOTER & KONTAKT
========================================= */
.kontakt-info {
    background-color: #fff;
    padding: 4rem 5%;
    text-align: center;
}

footer {
    background-color: #111;
    color: #aaa;
    padding: 3rem 5% 1rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h4 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 2px;
    background-color: var(--primary-orange);
}

.footer-col p,
.footer-col a {
    color: #aaa;
    text-decoration: none;
    margin-bottom: 0.8rem;
    display: block;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.social-links a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #222;
    border-radius: 50%;
    color: #fff;
    margin-bottom: 0;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary-orange);
    color: #000;
    padding-left: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    width: 100%;
}

/* =========================================
   15. RESPONZIVNI DIZAJN (MEDIA QUERIES)
========================================= */

/* Tableti i manji ekrani (Kalkulator) */
@media (max-width: 900px) {
    .dest-selector {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .calc-box {
        grid-template-columns: 1fr;
        padding: 40px 30px;
        gap: 40px;
        text-align: center;
    }

    .calc-box>div:nth-child(2) {
        border-left: none;
        border-top: 1px solid #1a1a1a;
        padding-left: 0;
        padding-top: 40px;
    }
}

/* Mobilni telefoni (Navigacija, Hero i Detalji) */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    /* Ovdje su spojena tvoja dva pravila za navigaciju, redosled preklapanja je sačuvan */
    .nav-links {
        position: absolute;
        top: 100%;
        left: -100%;
        /* Ovo je sačuvalo tvoj "slide in" efekat sa leva */
        width: 100%;
        flex-direction: column;
        gap: 10px;
        padding: 20px 0;
        background-color: var(--dark-bg);
        backdrop-filter: blur(14px);
        border-bottom-left-radius: 18px;
        border-bottom-right-radius: 18px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        text-align: center;
        transition: var(--transition);
        box-sizing: border-box;
    }

    .nav-links.active {
        left: 0;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: block;
        width: 100%;
        padding: 14px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.03);
        text-align: center;
    }

    .detalji-container {
        padding-top: 100px;
    }

    header h1 {
        font-size: 2.2rem;
    }

    .promo-banner h2 {
        font-size: 1.8rem;
    }

    header {
        background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('roadside2.webp');
    }
}

/* Manji ekrani (Forme) */
@media (max-width: 550px) {
    .form-header h2 {
        font-size: 28px;
    }
}

/* Veoma mali ekrani */
@media (max-width: 430px) {
    .form-header h2 {
        font-size: 22px;
    }
}