/* ===================================================
   R&M GPS - VERZIJA 6.0 (Totalni Fix za sečenje)
   =================================================== */

@import url("https://fonts.googleapis.com/css2?family=Sen:wght@400;700;800&display=swap");

:root {
    --primary-color: #5864ff; 
    --primary-dark: #424bd6;
    --header-height: 80px;
}

html { scroll-behavior: smooth; }

body {
    font-family: "Sen", sans-serif;
    color: rgba(0, 0, 0, 0.7);
    overflow-x: hidden;
    margin: 0;
}

* { box-sizing: border-box; outline: none; }
a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; padding: 0; margin: 0; }

/* --- GLOBALNO REŠENJE ZA SEČENJE --- */
section {
    padding: 100px 0; 
    
    position: relative;
    height: auto !important; 
    min-height: auto !important; 
    display: block !important; 
    /* KLJUČNO: Dozvoljava da senke i dugmad "vire" van okvira */
    overflow: visible !important; 
    z-index: 1;
}

/* ============================
   HEADER & MENI
=============================== */
.navbar-area {
    position: absolute; top: 0; left: 0; width: 100%; z-index: 999;
    transition: all 0.3s ease-out;
}

.sticky {
    position: fixed; background: #fff; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    padding: 5px 0;
    animation: fadeInDown 0.8s;
}

.navbar {
    height: var(--header-height);
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    max-height: 48px;
    width: auto;
    transition: 0.3s;
}

.sticky .navbar-brand img {
    max-height: 42px;
}


/* Razmak linkova */
.navbar-nav .nav-item { margin-left: 25px; }
.navbar-nav .nav-item a { 
    color: #333; font-weight: 700; padding: 10px 5px; font-size: 16px;
}
.navbar-nav .nav-item a:hover, .navbar-nav .nav-item a.active { color: var(--primary-color); }

/* Hamburger */
.navbar-toggler { border: none !important; padding: 5px; outline: none; }
.toggler-icon {
    width: 25px; height: 2px; background-color: #333; 
    display: block; margin: 5px 0; transition: 0.3s;
}
.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-of-type(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-of-type(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-of-type(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobilni meni pozadina */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #ffffff;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        margin-top: 15px;
        position: absolute; top: 100%; left: 0; width: 100%;
        z-index: 9999;
    }
    .navbar-nav .nav-item { margin-left: 0; }
    .navbar-nav .nav-item a { display: block; border-bottom: 1px solid #eee; padding: 12px 0; }
}

/* ============================
   HERO SECTION
=============================== */
.hero-section {
    background: linear-gradient(180deg, #eef0ff 0%, #fff 100%);
    padding-top: 180px; padding-bottom: 100px;
}
.hero-header-block h1 { font-weight: 800; font-size: 48px; color: #000; margin-bottom: 15px; }
.hero-header-block h2 { font-weight: 700; font-size: 36px; }
.hero-header-block h2 span { color: #2979ff; font-style: italic; }
.hero-badge { color: #00c853; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: 14px; margin-bottom: 10px; display: block; }

.hero-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; margin-bottom: 40px; }
.hero-list li { display: flex; align-items: center; font-weight: 600; color: #444; font-size: 16px; }
.hero-list li i { color: #00c853; margin-right: 10px; font-size: 20px; }

/* Dugmad */
.main-btn {
    display: inline-block; font-weight: 700; text-align: center;
    padding: 15px 30px; font-size: 16px; border-radius: 8px;
    color: #fff; background: var(--primary-color); cursor: pointer;
    border: 2px solid transparent; transition: 0.3s;
    position: relative; overflow: hidden; z-index: 10;
}
.main-btn:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.buy-now-btn { background-color: #28a745 !important; border-color: #28a745 !important; }
.buy-now-btn:hover { background-color: #218838 !important; }
.border-btn { background: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); }
.border-btn:hover { background: var(--primary-color); color: #fff; }
.hero-btns { display: flex; gap: 15px; }

/* ============================
   PRICING SECTION (Fix za sečenje dugmeta)
=============================== */
.pricing-section { 
    background: #fdfdfd; 
    padding-bottom: 40px;
}


.service-plan-card {
    background: #fff; border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05); border: 1px solid #eee;
    max-width: 1000px; margin: 0 auto;
    display: flex; flex-wrap: wrap;
    /* KLJUČNO: Mora biti visible da se senke i dugmad vide */
    overflow: visible !important; 
    position: relative;
    z-index: 2;
}

.plan-price-side {
    flex: 1 1 350px; background: #f9faff;
    padding: 50px 30px; text-align: center;
    border-right: 1px solid #eee;
    border-top-left-radius: 20px; border-bottom-left-radius: 20px;
    display: flex; flex-direction: column; justify-content: center;
}

.plan-features-side {
    flex: 1 1 450px; padding: 50px;
    display: flex; flex-direction: column; justify-content: center;
}

.plan-amount { font-size: 60px; font-weight: 900; color: #111; margin: 5px 0; }
.plan-label { font-size: 12px; font-weight: 800; color: var(--primary-color); letter-spacing: 1px; background: rgba(88, 100, 255, 0.1); padding: 5px 15px; border-radius: 50px; display: inline-block; margin-bottom: 15px; }
.trust-icons-row { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.trust-item { font-weight: 700; color: #555; font-size: 14px; }
.plan-features-list li { display: flex; align-items: flex-start; margin-bottom: 18px; font-size: 15px; line-height: 1.5; color: #555; }
.plan-features-list li i { color: #28a745; font-size: 20px; margin-right: 12px; margin-top: 2px; }

/* ============================
   FEATURES & PROCESS (Ikonice Fix)
=============================== */
.single-feature { text-align: center; margin-bottom: 40px; padding: 20px; transition: 0.3s; }
.single-feature:hover { transform: translateY(-5px); }
.single-feature .feature-icon i { font-size: 45px; color: #444; transition: 0.3s; }
.single-feature:hover .feature-icon i { color: var(--primary-color); }

/* Smanjene ikonice na 50px (Zlatna sredina) */
.process-icon { margin-bottom: 25px; }
.process-icon i { font-size: 50px !important; color: var(--primary-color); }

/* ============================
   CONTACT FORM (Fix za sečenje)
=============================== */
.contact-section { 
    padding-bottom: 40px;
}


.contact-form-wrapper {
    background: #fff; padding: 50px; border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    /* Mora biti visible da dugme ne bi bilo odsečeno */
    overflow: visible !important; 
    position: relative;
    z-index: 2;
}
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; padding: 15px; border-radius: 8px; border: 1px solid #eee; margin-bottom: 20px;
}
.contact-form button { width: 100%; }

/* ============================
   FOOTER (Sređen)
=============================== */
.footer {
    background: #f9f9ff;
    padding: 80px 0 40px;
    border-top: 1px solid #eee;
    margin-top: 0; /* Uklanja prazninu ako postoji */
}
.footer-widget { margin-bottom: 40px; }
.footer-widget .logo img { max-width: 150px; margin-bottom: 20px; }
.footer-widget p { font-size: 15px; line-height: 26px; color: #666; }
.footer-widget h3 { font-size: 20px; font-weight: 700; margin-bottom: 25px; color: #000; }
.footer-widget .links li { margin-bottom: 12px; }
.footer-widget .links li a { color: #666; font-size: 16px; font-weight: 500; }
.footer-widget .links li a:hover { color: var(--primary-color); padding-left: 5px; }

/* ============================
   BACK TO TOP DUGME
=============================== */
.scroll-top {
    width: 50px; height: 50px;
    background: var(--primary-color);
    display: none; 
    justify-content: center; align-items: center;
    color: #fff; border-radius: 50%;
    position: fixed; bottom: 30px; right: 30px;
    z-index: 999999;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ============================
   MOBILNI FIX (Ekrani manji od 768px)
=============================== */
@media (max-width: 767px) {
    section { padding: 60px 0 !important; }
    
    .hero-section { padding-top: 140px !important; padding-bottom: 60px !important; }
    .hero-header-block h1 { font-size: 32px; }
    .hero-list { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; }
    .hero-btns .main-btn { width: 100%; margin-bottom: 10px; }

    /* Pricing Fix */
    #pricing { padding-top: 40px !important; }
    .service-plan-card { margin: 0 10px; border-radius: 15px; }
    .plan-price-side { 
        border-right: none; border-bottom: 1px solid #eee; 
        padding: 30px 20px; border-radius: 15px 15px 0 0;
    }
    .plan-features-side { padding: 30px 20px; }
    .plan-amount { font-size: 45px; }
    .plan-features-list li { font-size: 14px; margin-bottom: 12px; }
    .plan-features-side .buy-now-btn { width: 100%; display: block; margin-top: 10px; }
    
    /* Footer Fix */
    .footer { padding-top: 50px; text-align: center; }
}



/* Preloader */
.preloader { position: fixed; top: 0; left: 0; height: 100%; width: 100%; background: #fff; z-index: 99999; display: flex; justify-content: center; align-items: center; }



