/* Styles for Sanitetski Prevoz Website */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa; /* Osnovna pozadina sajta */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header / Navigation - OČIŠĆEN KOD */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    height: 60px; /* Fiksna visina za navigaciju */
}

.logo h1 {
    font-size: 1.5rem;
    color: #d32f2f;
    cursor: default;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem;
}

.nav-link:hover {
    color: #d32f2f;
}

.nav-toggle, .nav-close {
    display: none; /* Sakriveni po defaultu */
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
}

/* Responsive stilovi za Burger Meni */
@media (max-width: 992px) {
    .nav-menu-container {
        position: fixed;
        top: 0;
        right: -100%; /* Počinje van ekrana */
        width: 70%;
        height: 100%;
        background-color: #fff;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transition: right 0.4s ease-in-out;
        z-index: 1001;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        padding: 4rem 2rem 2rem;
        gap: 2rem;
    }

    .nav-toggle {
        display: block; /* Prikazujemo burger ikonu */
    }

    .nav-close {
        display: block; /* Prikazujemo X za zatvaranje */
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 2rem;
    }
    
    .close-btn-li {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
    }

    .show-menu {
        right: 0; /* Klasa koju dodaje JavaScript za prikaz menija */
    }
}

@media (max-width: 768px) {
    .nav-menu-container {
        width: 80%;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1586232702334-a29d384c3b53?q=80&w=2070&auto=format&fit=crop') center center/cover no-repeat;
    color: white;
    padding: 120px 20px;
    text-align: center;
}


.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #d32f2f;
    color: white;
    border: 2px solid #d32f2f;
}

.btn-primary:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-emergency {
    background-color: #f44336;
    color: white;
    font-size: 1.2rem;
    padding: 18px 40px;
}

.btn-emergency:hover {
    background-color: #e64a19;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 87, 34, 0.4);
}

/* Sections */
section {
    padding: 80px 20px;
}
.about, .gallery, .testimonials, .contact-form {
    background-color: #ffffff;
}
.services, .contact {
    background-color: #f8f9fa;
}


.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #d32f2f;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.about-text h3 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1.5rem 0;
    color: #d32f2f;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    color: #555;
}
.feature-list li .fas {
    color: #28a745;
    margin-right: 10px;
}

/* Gallery and Testimonials */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.gallery-item img:hover {
    transform: scale(1.05);
}

.testimonials-grid {
    display: grid;
    justify-content: center;
}
.testimonial-video {
    position: relative;
    width: 100%;
    max-width: 800px;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.testimonial-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Emergency Section */
.emergency {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    text-align: center;
}

.emergency-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.emergency-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #d32f2f;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-item p {
    color: #666;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 16px;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.social-link i {
    font-size: 1.1rem;
}

.social-link:hover {
    color: white;
    transform: translateX(5px);
}

.social-link.facebook:hover { background-color: #1877f2; }
.social-link.instagram:hover { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4); }
.social-link.maps:hover { background-color: #34a853; }

/* Contact Form */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #d32f2f;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d32f2f;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-message i { font-size: 1.2rem; }
.form-message-success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-message-error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
#submitBtn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.lang-btn {
    background-color: #f0f0f0;
    border: 2px solid transparent;
    color: #555;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.lang-btn:hover {
    background-color: #e0e0e0;
}

.lang-btn.active {
    background-color: #d32f2f;
    color: white;
    border-color: #b71c1c;
}


/* Footer */
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2rem 20px;
}

.footer p { margin: 0.5rem 0; }
.footer-note { font-size: 0.9rem; opacity: 0.8; }

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.social-link-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.social-link-footer:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}
.social-link-footer i { font-size: 1.1rem; }

/* Responsive Design */
@media (max-width: 480px) {
    .hero { padding: 80px 20px; }
    .btn { padding: 12px 24px; }
    .service-card, .contact-form { padding: 1.5rem; }
    .social-links { flex-direction: row; flex-wrap: wrap; }
    .footer-social { gap: 0.75rem; }
}