/* ============================================
   MOBILE RESPONSIVE FIXES
   Dodaj ovo na kraj style.css
   ============================================ */

/* NAVBAR - Hamburger fix */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 24px;
    height: 24px;
}

/* Mobile menu dropdown */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--orange);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }
    
    .navbar-nav {
        gap: 0 !important;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: 8px;
        transition: background 0.3s;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(255,255,255,0.1);
    }
}

/* HERO - Mobile responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
        height: auto;
        padding-top: 100px !important;
        padding-bottom: 60px !important;
    }
    
    #hero h1 {
        font-size: 1.8rem !important;
    }
    
    #hero p {
        font-size: 1rem !important;
    }
    
    #hero .btn {
        font-size: 1rem !important;
        padding: 0.875rem 2rem !important;
    }
    
    /* Hero tekst na mobilnom */
    .hero p[style*="font-size: 1.8rem"] {
        font-size: 1.3rem !important;
    }
    
    .hero p[style*="font-size: 1.4rem"] {
        font-size: 1rem !important;
    }
}

/* SECTIONS - Mobile padding */
@media (max-width: 768px) {
    .py-120 {
        padding: 60px 0 !important;
    }
    
    .py-100 {
        padding: 50px 0 !important;
    }
    
    h2 {
        font-size: 1.6rem !important;
    }
    
    .lead {
        font-size: 1.1rem !important;
    }
}

/* WHY SECTION - Mobile */
@media (max-width: 992px) {
    #why .col-lg-5 {
        margin-top: 2rem;
    }
    
    #why h2 {
        margin-bottom: 1.5rem !important;
    }
    
    .checks.large li {
        font-size: 0.95rem !important;
        margin-bottom: 0.8rem;
    }
    
    .checks.large i {
        font-size: 1.2rem;
        width: 30px;
    }
}

/* HOW IT WORKS - Mobile */
@media (max-width: 992px) {
    #how .col-lg-5 {
        order: 1;
    }
    
    #how .col-lg-6 {
        order: 2;
        margin-top: 2rem;
    }
    
    #how .step-num {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-right: 1rem;
    }
    
    #how .step strong {
        font-size: 1rem !important;
    }
    
    #how p.text-muted {
        font-size: 0.85rem !important;
    }
}

/* PRICING - Mobile */
@media (max-width: 992px) {
    .pricing-card {
        padding: 1.5rem;
    }
    
    .pricing-card h3 {
        font-size: 1.5rem;
    }
}

/* CONTACT SECTION - Mobile fix */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    .contact-form {
        order: 1;
    }
    
    .contact-sidebar {
        order: 2;
        padding: 2rem 1.5rem;
    }
    
    .contact-sidebar h4 {
        font-size: 1.2rem !important;
        margin-bottom: 1rem !important;
    }
    
    .contact-sidebar > p {
        margin-bottom: 1.5rem !important;
    }
    
    .contact-items {
        gap: 1rem;
    }
    
    .contact-item {
        padding: 0.5rem;
    }
    
    .contact-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .contact-form {
        padding: 1.5rem !important;
    }
    
    .contact-sidebar {
        padding: 1.5rem !important;
    }
    
    #contact h2 {
        font-size: 1.4rem !important;
    }
    
    #contact .lead {
        font-size: 1rem !important;
    }
    
    .form-control-lg {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    .contact-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .contact-item strong {
        font-size: 0.9rem;
    }
    
    .contact-label {
        font-size: 0.75rem;
    }
}

/* FOOTER - Mobile */
@media (max-width: 576px) {
    footer {
        padding: 1.5rem 0 !important;
    }
    
    footer p {
        font-size: 0.85rem;
    }
}

/* IMG WRAPPER - Mobile */
@media (max-width: 768px) {
    .img-wrapper {
        border-radius: 8px;
    }
}

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
}

.container {
    max-width: 100%;
}

/* Fix za contact grid na vrlo malim ekranima */
@media (max-width: 400px) {
    .contact-grid {
        padding: 0 0.5rem;
    }
    
    .contact-form,
    .contact-sidebar {
        border-radius: 12px !important;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}