﻿/* ------------------------------
   GLOBAL STYLES
------------------------------ */

/* ========================================
   POPPINS FONT + FONT AWESOME - SVE RADI
======================================== */
/* POPPINS + FONT AWESOME - MINIMALNO */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ========================================
   POPPINS + FONT AWESOME - BEZ KONFLIKTA
   ======================================== */

/* 1. BODY i TEKST - Poppins OVO MI TREBA ZBOG GLOBALNOG STILA*/
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    background-color: #faf7f2;
    color: #333;
    overflow-x: hidden;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    /* Android Chrome optimizacija */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-feature-settings: 'kern';
    font-kerning: normal;
}

/* Android specifično */
@supports (-webkit-overflow-scrolling: touch) {
    body {
        font-family: 'Poppins', 'Roboto', -apple-system, sans-serif !important;
        font-weight: 400;
        -webkit-font-smoothing: antialiased;
    }
}
.seo-content {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* 2. HEADING-ovi i tekst */
h1, h2, h3, h4, h5, h6, p, a, span, button, input, label {
    font-family: 'Poppins', sans-serif;
}

/* 3. UKLONI !important sa * selektora - SAMO SPECIFIČNI */
.text-elements {
    font-family: 'Poppins', sans-serif;
}

/* 4. FONT AWESOME - SPECIFIČNO I PRIORITETNO */
.fas, .fa, .paw-icon-visible, .paw-icon-hero,
.fa-solid, .fa-brands, .fa-regular {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
    font-weight: 900 !important;
    font-style: normal !important;
}

/* 5. MOBILNA optimizacija */
@media (max-width: 768px) {
    body {
        font-size: 1.05rem;
        line-height: 1.65;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    /* Ikonice veće na mobilonu */
    .fas, .fa {
        font-size: 1.4rem !important;
    }
}


/*END*/

html, body {
    height: 100%;
    margin: 0;
}

/*.page-wrapper {
    background-image: url('/images/Petshop-wallpaper.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}*/

.page-content {
    flex: 1; /* Gura footer na dno */
    display: flex;
    flex-direction: column;
}

/*.page-container {
    display: flex;
    flex-direction: column;
}*/

h1, h2, h3 {
    color: #2d4f7c;
}

p {
    line-height: 1.6;
}
/* Glavni sadržaj da zauzme sav prostor između headera i footera */
main {
    margin-top: 0; /* uklanja dodatni razmak */
}

/* ------------------------------
   HEADER / NAVIGATION
------------------------------ */
/*.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px 5%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(8px);
}*/
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    padding: 15px 5%;
    position: relative; /* 🎯 RELATIVAN - NIJE FIKSIRAN */
    z-index: 1000;
    border: none;
    background: #1e293b !important;
    margin-top: -5px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .logo-container,
    .logo-container * {
        outline: none !important;
        border: none !important;
        box-shadow: none !important;
    }

        .logo-container:focus,
        .logo-container:focus-visible,
        .logo-container:focus-within,
        .logo-container:active {
            outline: 0 !important;
            outline-offset: 0 !important;
            border: 0 solid transparent !important;
            box-shadow: none !important;
        }

        /* Blazor specifično */
        .logo-container[tabindex],
        .logo-container:focus-within {
            outline: none !important;
        }



.logo-image {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover; /* ✅ CROPPING za savršen krug */
    object-position: center; /* ✅ Centrirano */
    border: 3px solid rgba(255,255,255,0.25);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3), inset 0 2px 4px rgba(255,255,255,0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.logo-text h1 {
    margin: 0;
    font-size: 1.8rem;
    color: white;
    display: flex;
    align-items: baseline; /* Bolje poravnanje */
    gap: 18px; /* Više prostora */
}

.logo-text strong {
    color: white !important; /* 🎯 BELE BOJE */
    font-weight: 500 !important; /* Manje bold */
    opacity: 0.95;
}

.paw-icon-visible {
    font-size: 2.2rem !important; /* VEĆA šapa */
    color: white !important; /* TAMNIJA NARANDŽASTA */
    transform: rotate(15deg); /* Nagib na desno */
    transition: all 0.3s ease;
    line-height: 1;
}

.logo-container:hover .paw-icon-visible {
    transform: rotate(20deg) scale(1.15); /* Još veća na hover */
    color: #2d4f7c !important;
}

.logo-container:hover .logo-image {
    transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .paw-icon-visible {
        font-size: 1.9rem !important;
    }
}

.logo-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #6b6b6b;
}

.nav-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.nav-btn {
    position: relative;
    background: none;
    border: none;
    /*color: #333;*/
    color: white;
    font-size: 1.3rem;
    padding: 10px 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .nav-btn:disabled,
    .nav-btn.coming-soon {
        cursor: not-allowed;
        opacity: 0.6;
    }

        .nav-btn.coming-soon:hover::after {
            content: "Stiže uskoro!";
            position: absolute;
            bottom: -35px;
            left: 50%;
            transform: translateX(-50%);
            background: #333;
            color: white;
            padding: 6px 12px;
            font-size: 0.85rem;
            border-radius: 6px;
            white-space: nowrap;
            opacity: 1;
            pointer-events: none;
            z-index: 20;
        }

        /* Mala strelica ispod tooltipa */
        .nav-btn.coming-soon:hover::before {
            content: "";
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            border-width: 6px;
            border-style: solid;
            border-color: #333 transparent transparent transparent;
            opacity: 1;
            z-index: 20;
        }

/* Pseća šapa sa desne strane */
.paw-icon {
    margin-left: auto; /* guramo desno */
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    color: #008000;
    font-size: 1rem;
}

.nav-btn:hover .paw-icon {
    opacity: 1;
    transform: translateX(0);
}

/* Hover efekat dugmeta */
.nav-btn:hover {
    color: #478778;
    background-color: #f8f9fa;
    border-radius: 12px !important;
}


/* Hamburger dugme */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .menu-toggle i {
        transition: transform 0.3s ease;
    }

    .menu-toggle.open i {
        transform: rotate(180deg);
        color: #008000;
    }

@media (max-width: 768px), (max-height: 600px) and (orientation: landscape) {
    .menu-toggle {
        display: block !important;
        width: 52px !important;
        height: 52px !important;
        font-size: 1.4rem !important;
        z-index: 1001 !important; /* Hamburger gore */
    }

    .nav-buttons {
        display: none;
        flex-direction: column;
        flex-wrap: nowrap !important; /* ✅ SAMO JEDNA KOLONA */
        background-color: #1e293b;
        position: absolute;
        top: 80px;
        right: 20px;
        width: 260px;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.15);
        padding: 12px;
        z-index: 1000; /* Visok z-index */
    }

        .nav-buttons.open {
            display: flex !important;
            flex-wrap: nowrap !important; /* ✅ ZABRANI dve kolone */
            width: 260px !important;
            padding: 12px !important;
            gap: 12px !important;
            top: 85px !important;
            right: 18px !important;
            z-index: 1001 !important; /* ✅ NAJVIŠI z-index */
        }

            .nav-buttons.open .nav-btn {
                padding: 16px 20px !important;
                font-size: 1.15rem !important;
                min-height: 58px !important;
                gap: 10px !important;
                border-radius: 12px !important;
                width: 100%; /* ✅ Popuni širinu */
                z-index: 1002 !important; /* Dugmad NAJ GORE */
            }

                .nav-buttons.open .nav-btn i {
                    font-size: 1.45rem !important;
                }
}

.hero-text,
.novet-title {
    z-index: 1 !important; /* Slider IDE ISPOD menija */
}


.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 40px;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 180px;
    overflow: hidden;
    animation: fadeIn 0.3s ease;
}

.dropdown-item {
    display: block;
    padding: 10px 15px;
    color: #333;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .dropdown-item:hover {
        background-color: #f0f4fa;
    }

.dropdown-icon {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

    .dropdown-icon.open {
        transform: rotate(180deg);
    }

/* ------------------------------
   HERO SECTION
------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* === HERO SLIDER === */
.hero-slider {
    width: 100vw;
    height: 80vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
    margin-top: -20px;
    /*margin-top: -152px;ovo je za providan nav bar*/
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

    .slide::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* PLAVIČASTO ZATAMNJENJE */
        z-index: 1;
    }

    .slide.active {
        opacity: 1;
    }

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        z-index: 0;
    }

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%; /* LEVO na slici */
    transform: translate(-50%, -50%);
    color: white;
    z-index: 3;
    max-width: 550px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
}

.novet-title-nav-menu {
    color: white !important; /* NOVET - BELA BOJA */
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 800;
    line-height: 0.9;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
    letter-spacing: -0.02em;
    z-index: 2;
}

.novet-title {
    color: white !important;
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 800;
    line-height: 1.1;
    /* 🎯 PRISILNO CENTRIRANJE - NADJAČAVA SVE */
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important; /*🎯 SAVRŠENO CENTRIRANO */
    text-align: center !important;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
    letter-spacing: -0.02em;
    z-index: 2;
    margin: 0 0 1.5rem 0 !important;
    width: max-content !important;
    max-width: 90vw !important;
}

.hero-text h1 {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 900;
    margin: 0 auto 1rem auto !important; /* 🎯 CENTRIRA HORIZONTALNO */
    text-align: center !important; /* 🎯 TEKST CENTRIRAN */
    text-shadow: 0 4px 20px rgba(0,0,0,0.7);
    letter-spacing: 4px;
    text-transform: uppercase;
    max-width: 90vw !important; /* 🎯 RESPONSIVNO */
    width: fit-content !important; /* 🎯 SAMO ŠIRINA TEKSTA */
    display: block !important; /* 🎯 OMOGUĆAVA margin:auto */
}

.hero-text p {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 15;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .dot.active,
    .dot:hover {
        background: white;
        transform: scale(1.2);
    }
/* HERO ŠAPA - NOVA ODVOJENA */
.paw-icon-hero {
    font-size: 6.2rem !important; /* Veća */
    color: white !important; /* Crvenija */
    transform: rotate(18deg); /* Više nagiba */
    margin-left: -2px;
    transition: all 0.4s ease;
    line-height: 1;
    display: inline-block;
}

.novet-title-hero {
    display: flex !important;
    align-items: baseline;
    gap: 15px !important;
}

.slide:hover .paw-icon-hero {
    transform: rotate(25deg) scale(1.2); /* Još dramatičnije */
    color: white !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-slider {
        height: 70vh !important;
        min-height: 400px !important;
    }

    /* 🎯 DOTS SEKA SLUŠAJU SL^IKE */
    .slider-dots {
        bottom: 5% !important; /* 5% OD VISINE slider-a = uvek unutra */
        max-width: 90% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    .novet-title {
        font-size: clamp(2rem, 10vw, 4rem) !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .paw-icon-hero {
        font-size: clamp(3rem, 8vw, 5rem) !important; /* 🎯 VEĆA NA MOBILU */
        display: block !important;
        margin: 0.5rem auto 0 auto !important; /* Centrirana */
        line-height: 1 !important;
        width: fit-content !important;
    }

        .paw-icon-hero i {
            font-size: inherit !important; /* Naslijedi veličinu */
        }
    .hero-text p {
        font-family: 'Poppins', sans-serif !important;
        font-weight: 600 !important;
        font-size: 1.4rem !important;
        line-height: 1.4 !important;
        margin: 15px 0 0 0 !important;
        padding: 0 20px !important;
    }
}

@media (max-width: 480px) {
    .paw-icon-hero {
        font-size: clamp(2.5rem, 10vw, 4rem) !important; /* Još veća na malim */
    }
    .hero-text p {
        font-size: 1.2rem !important;
        padding: 0 15px !important;
    }
}
/* === SERVICES CARDS === */
.services-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 100px 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.container {
    position: relative;
    z-index: 3;
}

.services-section::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #f97316, #fb923c);
    border-radius: 2px;
    z-index: 4;
    box-shadow: 0 1px 8px rgba(249, 115, 22, 0.4);
}

/* Alternativa - WAVE razmak (kao hero slider) */
.services-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 190px;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 320' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='none' stroke='%23f97316' stroke-width='8' d='M0,160 C120,80 240,240 360,160 480,80 600,240 720,160 840,80 960,240 1080,160 1200,80 1320,240 1440,160'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: center;
    background-size: contain;
    opacity: .85;
    z-index: 0;
}


/* HEADER SEKCIJA - isti stil */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.main-title {
    font-size: 48px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #7f8c8d;
    margin-bottom: 25px;
    font-style: italic;
}

.mission-text {
    font-size: 22px;
    color: #5a6c7d;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}

/* KARTICE GRID */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    background: white;
}
/* IKONICE */
.card-icon-contact {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ff6b6b;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
    z-index: 3;
    transition: all 0.3s ease;
    border: 3px solid rgba(255,255,255,0.8);
}

    .card-icon-contact i {
        font-size: 24px;
        color: #007bff; /* Zameni sa bojom tvoje teme */
        margin: 0;
        padding: 0;
        line-height: 1; /* Osigurava tačno centriranje */
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

/* IKONICE */
.card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    transition: all 0.3s ease;
    line-height: 1; /* Ključno za vertikalno centriranje */
}

    .card-icon i {
        font-size: 24px;
        color: #007bff; /* Zameni sa bojom tvoje teme */
        margin: 0;
        padding: 0;
        line-height: 1; /* Osigurava tačno centriranje */
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

/* MOBILNO - manji krug, ali savršeno centrirana ikona */
@media (max-width: 768px) {
    .card-icon {
        width: 50px;
        height: 50px;
        top: 15px;
    }

        .card-icon i {
            font-size: 20px;
        }

    .cards-grid {
        grid-template-columns: 1fr;
    }
}

/* TABLET */
@media (min-width: 769px) and (max-width: 1024px) {
    .card-icon {
        width: 55px;
        height: 55px;
    }

        .card-icon i {
            font-size: 22px;
        }
}

/* Hover efekat */
.service-card:hover .card-icon {
    transform: translateX(-50%) scale(1.1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.service-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    background: white;
    box-shadow: 0 12px 35px rgba(255,107,107,0.3);
}

.service-card.veterinary .card-icon i {
    color: #ff6b6b;
}

.service-card.pharmacy .card-icon i {
    color: #4ecdc4;
}

.service-card.petshop .card-icon i {
    color: #45b7d1;
}

.card-image {
    width: 100%;
    height: 100%;
}

    .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.service-card:hover .card-image img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.service-card:hover .card-overlay {
    opacity: 1;
    visibility: visible;
}

.card-title {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.card-description {
    font-size: 16px;
    color: rgba(255,255,255,0.95);
    line-height: 1.6;
    max-width: 80%;
    margin-bottom: 30px;
    font-weight: 300;
}

.card-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
}

    .card-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(255,107,107,0.4);
        background: linear-gradient(135deg, #ee5a24, #ff6b6b);
    }
/* CONTACT PAGE - FULL WIDTH MAP */
/*.contact-map-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-bottom: 0;
}

.full-map {
    width: 100%;
    height: 500px;
    border: 0;
    border-radius: 0;
    display: block;
}

.contact-content-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.modern-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

    .modern-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #2d4f7c, #3b82f6, #2d4f7c);
    }

    .modern-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 30px 80px rgba(0,0,0,0.12);
    }

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.card-icon {
    font-size: 2.5rem;
    color: #2d4f7c;
    margin-bottom: 1rem;
    display: block;
}

.card-icon-contact {
    font-size: 2.5rem;
    color: #2d4f7c;
    margin-bottom: 1rem;
    display: block;
}

.card-header h3 {
    color: #1e293b;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.contact-info-card .card-header p {
    margin: 0;
    color: #64748b;
    font-size: 1.1rem;
}

.info-highlight {
    background: linear-gradient(135deg, #2d4f7c10, #3b82f610);
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    border: 1px solid rgba(45,79,124,0.1);
}

    .info-highlight h4 {
        color: #2d4f7c;
        margin: 0 0 0.5rem 0;
        font-size: 1.3rem;
    }

.address {
    font-size: 1.1rem;
    color: #1e293b;
    font-weight: 600;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.petshop-vetAm-vetApo-list {
    margin-left: 25px;
    padding-left: 15px;
    list-style-type: disc;
}

    .petshop-vetAm-vetApo-list li {
        margin-bottom: 8px;
        line-height: 1.6;
    }

.contact-icon {
    font-size: 1.3rem;
    color: #2d4f7c;
    width: 24px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-item strong {
    color: #1e293b;
    font-size: 1rem;
}

.contact-item span,
.contact-item div {
    color: #64748b;
    font-size: 0.95rem;
}

.working-hours {
    background: rgba(45,79,124,0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #2d4f7c;
}*/

/* FORMA */
/*.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group label {
        font-weight: 600;
        color: #374151;
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

.form-control {
    padding: 1rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

    .form-control:focus {
        outline: none;
        border-color: #2d4f7c;
        box-shadow: 0 0 0 3px rgba(45,79,124,0.1);
        transform: translateY(-1px);
    }

.textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit {
    background: linear-gradient(135deg, #2d4f7c, #3b82f6);
    color: white;
    border: none;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    text-decoration: none;
}

    .contact-submit:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(45,79,124,0.3);
    }*/

/* RESPONSIVE */
/*@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .full-map {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .contact-content-section {
        padding: 60px 0;
    }

    .modern-card {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .full-map {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .modern-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }
}*/


/* Responsive */
/*@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }

    .main-title {
        font-size: 36px;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        top: 15px;
        right: 15px;
    }

    .card-icon-contact {
        width: 50px;
        height: 50px;
        font-size: 20px;
        top: 15px;
        right: 15px;
    }

    .service-card {
        height: 350px;
    }
}*/

/*NOV CONACT*/
/* GLAVNA SEKCIJA */
.contact-map-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-bottom: 0;
}

.full-map {
    width: 100%;
    height: 500px;
    border: 0;
    border-radius: 0;
    display: block;
}
.contact-modern-section {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 120px 0;
    background: white;
    overflow: hidden;
}
.contact-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* WAVE / BLOB POZADINA */
.contact-wave-bg {
    position: absolute;
    right: -40%;
    top: 0;
    width: 70%;
    height: 100%;
    background: #fdf7ee;
    clip-path: path( "M 200 0 Q 350 120 260 260 Q 180 380 300 520 Q 420 700 260 900 L 1000 900 L 1000 0 Z" );
    z-index: 0;
}

/* HEADER */
.contact-header {
    max-width: 420px;
    margin-bottom: 70px;
    position: relative;
    z-index: 1;
}

    .contact-header h2 {
        font-size: 42px;
        font-weight: 800;
        margin-bottom: 15px;
    }

    .contact-header p {
        color: #666;
    }

/* GRID */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    position: relative;
    z-index: 1;
}

/* INFO */
.contact-info-card h3 {
    font-size: 26px;
    margin-bottom: 30px;
}

.info-highlight {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 15px;
}

    .contact-item i {
        color: #f1c36b;
        font-size: 18px;
    }

/* FORMA */
.contact-form-card h3 {
    font-size: 26px;
    margin-bottom: 10px;
}

.contact-form-card p {
    margin-bottom: 40px;
    color: #666;
}

.contact-form .form-group {
    margin-bottom: 30px;
}

.contact-form .form-control {
    width: 100%;
    border: none;
    border-bottom: 2px solid #f97316;
    background: transparent;
    padding: 12px 5px;
    font-size: 15px;
}

    .contact-form .form-control:focus {
        outline: none;
        border-bottom-color: #f59e0b;
    }

.textarea {
    resize: none;
}
.contact-modern-section::before {
    content: '';
    position: absolute;
    top: 30px; /* ⬅ koliko od vrha sekcije */
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #f97316, #fb923c);
    border-radius: 3px;
    z-index: 5;
    box-shadow: 0 2px 10px rgba(249, 115, 22, 0.45);
}


/* DUGME */
.contact-submit {
    margin-top: 25px;
    padding: 14px 45px;
    background: #f1c36b;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    cursor: pointer;
}

    .contact-submit:hover {
        transform: translateY(-2px);
    }

/* RESPONSIVE */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-wave-bg {
        width: 100%;
        right: 0;
        clip-path: none;
    }
}

/*END*/


/* ------------------------------
   INFO SECTIONS
------------------------------ */
.info-section {
    padding: 60px 5%;
    text-align: center;
}

    .info-section h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
        color: #2d4f7c;
    }

    .info-section p {
        color: #555;
        margin-bottom: 15px;
    }

.service-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .service-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

.service-img {
    width: 180px;
    height: 130px;
    object-fit: cover;
    border-radius: 10px;
}

.service-content h3 {
    margin: 0 0 0.5rem 0;
    color: #b40000;
}

.price {
    font-weight: bold;
    margin-top: 0.5rem;
    color: #222;
}

.section-subtitle {
    color: #555;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.services-header {
    text-align: center;
    padding: 80px 20px 40px;
}

    .services-header h1 {
        font-size: 2.5rem;
        margin-bottom: 10px;
        color: #222;
    }

    .services-header p {
        font-size: 1.1rem;
        color: #666;
    }

.service-grid, .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.service-item, .product-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 20px;
    cursor: pointer;
    transition: transform 0.2s ease;
    text-align: center;
}

    .service-item:hover, .product-item:hover {
        transform: translateY(-6px);
    }


    .service-item img, .product-item img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        border-radius: 10px;
        margin-bottom: 15px;
    }

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    text-align: left;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease;
}

    .modal-content img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 10px;
        margin-bottom: 15px;
    }

    .modal-content h2 {
        margin-top: 0;
        color: #2d4f7c;
        font-size: 1.6rem;
    }

.modal-author {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.modal-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.modal-description {
    color: #444;
    font-size: 1rem;
    line-height: 1.5;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: #ff4b4b;
    border: none;
    color: white;
    font-size: 1.4rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 28px;
    transition: 0.3s;
}

    .close-btn:hover {
        background: #d43737;
    }

/* Animacije */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-15px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ------------------------------
   GALLERY
------------------------------ */
.gallery {
    width: 100vw; /* 🎯 PUN EKRAN */
    margin-left: calc(-50vw + 50%);
    position: relative;
    left: 0;
    right: 0;
    margin-top: 80px;
    margin-bottom: 60px;
    padding: 120px 0;
    z-index: 2;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem; /* Samo unutrašnji padding */
    position: relative;
    z-index: 3;
}
/* 🟠 MALA NARANDŽASTA LINija */
.gallery::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #f97316, #fb923c);
    z-index: 4;
    box-shadow: 0 1px 8px rgba(249, 115, 22, 0.4);
}

/* CELO PODRUČJE SA POZADINOM */
.gallery-bg {
    width: 100%;
    max-width: 1300px; /* 🆕 SUŽENO na 1300px */
    margin: 0 auto;
    min-height: 650px;
    position: relative;
}

.gallery-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    margin: 3rem 0 2rem 0;
}

.nav-arrow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: white;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4);
}

    .nav-arrow:hover:not(.disabled) {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 15px 40px rgba(249, 115, 22, 0.6);
    }

    .nav-arrow.disabled {
        background: rgba(249, 115, 22, 0.3);
        cursor: not-allowed;
        transform: none;
    }

.page-info {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e3a8a;
    min-width: 80px;
    text-align: center;
}

/* NASLOV */
.gallery-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 5;
}

    .gallery-header h3 {
        font-size: 48px;
        font-weight: 800;
        color: #2c3e50;
        margin-bottom: 10px;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    .gallery-header p {
        font-size: 18px;
        color: #5a6c7d;
        line-height: 1.7;
        max-width: 800px;
        margin: 0 auto;
        font-weight: 300;
    }

/* GRID */
.gallery-grid {
    display: flex;
    justify-content: space-between; /* Razvlači na cele strane */
    width: 100vw; /* PUN EKRAN */
    margin-left: calc(-50vw + 50%); /* Isto kao gallery */
    padding: 0 5%; /* Mali padding sa strane */
    gap: 0;
    margin-top: 3rem;
}

.gallery-item.empty {
    display: none !important;
}
.gallery-viewport {
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0 5%;
    margin-top: 3rem;
}

.gallery-track {
    display: flex;
    transition: transform 0.6s ease;
}

.gallery-page {
    flex: 0 0 100%;
    display: flex;
    justify-content: center; /* <-- CENTRIRANO */
    gap: 1.3%; /* prostor između slika */
    padding: 0;
    box-sizing: border-box;
}
gallery-page .gallery-item {
    width: 100%;
    height: auto; /* ili height: 320px ako želiš fiksnu visinu */
}
@media (max-width: 768px) {
    .gallery-page {
        flex-direction: column;
        gap: 20px;
    }

        .gallery-page .gallery-item {
            flex: 0 0 100%;
        }
}
@media (max-width: 1024px) {
    .gallery-page {
        flex-direction: column;
        gap: 20px;
    }

        .gallery-page .gallery-item {
            flex: 0 0 100%;
        }
}

/* STAVKE GALERIJE */
.gallery-item {
    flex: 0 0 32%; /* 3 slike po stranici */
    height: 510px;
    aspect-ratio: 1/1;
    border-radius: 16px;
    -webkit-touch-callout: none; /* iOS */
    -webkit-user-select: none;
    user-select: none;
}
.gallery-track::after {
    content: "";
    flex: 0 0 20px; /* prostor na kraju track-a */
}

    .gallery-item img {
        width: 100%;
        height: 450px; /* Slika gore */
        object-fit: cover;
        flex-shrink: 0;
        border-radius: 16px;
    }

    .gallery-item:hover img {
        transform: translateY(-20px) scale(1.03);
        box-shadow: 0 40px 100px rgba(0,0,0,0.2);
        border-color: rgba(249,115,22,0.3);
    }

/* SAMO NAZIV - POZICIONIRAN NA DONJOJ IVICI SLIKE */
.image-caption {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    color: #2c3e50;
    text-align: center;
    font-weight: 700;
    font-size: 1.5rem;
    z-index: 3;
    background: none; /* BEZ POZADINE */
    padding: 0;
}

    .image-caption h4 {
        margin: 0;
    }

    .image-caption p {
        display: none; /* Sakriven opis */
    }

/* MOBIL - CENTRIRANA SLIKA */
/* MOBIL - PRISILNO CENTRIRANJE */
@media (max-width: 768px) {
    .gallery-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 20px 20px !important;
        box-sizing: border-box !important;
    }

    .gallery-item {
        width: 100% !important;
        max-width: 360px !important;
        height: 250px !important;
        margin: 0 auto !important;
        display: block !important; /* 🎯 KLJUČNO */
        position: relative !important;
    }

        .gallery-item img {
            width: 100% !important;
            height: 85% !important;
            max-width: 360px !important;
            display: block !important;
            margin: 0 auto !important;
            object-fit: cover;
            border-radius: 16px;
        }

    /* Container centriranje */
    .container.gallery-content {
        padding-left: 20px !important;
        padding-right: 20px !important;
        max-width: 100% !important;
    }
}







.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,107,107,0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none; /* KLJUCNO - ne blokira klikove */
}

.gallery-item:hover .image-overlay {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

.image-overlay i {
    color: white;
    font-size: 2rem;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.gallery-item:hover .image-overlay i {
    transform: scale(1);
}

/* MODAL */
.image-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.image-modal-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
}

    .image-modal-content img {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 20px;
        box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    }
.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 5;
}

/* LEVO dugme – svetlo narandžasto */
.gallery-btn-prev {
    left: 30px;
    background: #f97316;
    color: white;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.25);
}

    .gallery-btn-prev:hover {
        background: #fb923c;
        transform: translateY(-50%) scale(1.05);
    }

/* DESNO dugme – puno narandžasto */
.gallery-btn-next {
    right: 30px;
    background: #f97316;
    color: white;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.45);
}

    .gallery-btn-next:hover {
        background: #fb923c;
        transform: translateY(-50%) scale(1.05);
    }
.gallery-btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.6);
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
}
.gallery-counter {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    font-weight: 600;
    color: #1e3a8a;
    background: rgba(255,255,255,0.85);
    padding: 6px 16px;
    border-radius: 20px;
}





/* ------------------------------
   FOOTER
------------------------------ */

/*LTT DIZAJN POCETAK*/
.novet-footer {
    padding: 12px 5%; /* Smanjen padding */
    background: linear-gradient(135deg, #2d4f7c 0%, #1e3a5f 100%);
    color: #fff;
    margin-top: auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Poppins', sans-serif;
}

    .novet-footer a {
        color: #e2e8f0;
        text-decoration: none;
        transition: all 0.2s ease;
    }

        .novet-footer a:hover {
            color: #fff;
            transform: translateY(-1px);
        }

/* Gornji deo */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 15px;
}


.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

    .footer-logo img {
        width: 60px;
        height: auto;
        filter: brightness(1.1);
    }

    .footer-logo p {
        margin: 0;
        font-size: 14px;
        opacity: 0.9;
    }

        .footer-logo p:first-child {
            font-weight: 600;
            font-size: 15px;
        }

/* Meniji */
.footer-nav {
    display: flex;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
}

    .footer-nav a,
    .footer-links a {
        color: #ccc;
        margin-right: 15px;
        text-decoration: none;
    }

        .footer-nav a:hover,
        .footer-links a:hover {
            color: #fff;
        }

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #4a6fa5 50%, transparent 100%);
    margin: 12px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    opacity: 0.9;
}

.beta-badge {
    background: rgba(255,193,7,0.3);
    color: #ffd700;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .novet-footer {
        padding: 15px 5%;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-logo img {
        width: 50px;
    }
}

@media (max-width: 480px) {
    .footer-nav {
        gap: 16px;
        font-size: 13px;
    }

    .social-media a {
        width: 28px;
        height: 28px;
    }
}
@media (max-width: 768px) {

    .footer-col.contact-col {
        text-align: center;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .contact-item {
        display: flex;
        align-items: flex-start; /* ikona vrh sa tekstom */
        text-align: left;
        gap: 12px; /* razmak između ikone i teksta */
        margin-bottom: 1rem;
    }

        .contact-item i {
            flex: 0 0 40px; /* fiksna širina ikone */
            font-size: 24px;
            line-height: 1.2;
            text-align: center; /* centriraj ikonu horizontalno */
        }

        .contact-item div {
            flex: 1 1 auto; /* tekst zauzima ostatak prostora */
        }

    .footer-bottom {
        text-align: center;
    }

    .bottom-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .bottom-links {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
}
/*LTT DIZAJN KRAJ*/
.footer {
    background-color: #2d4f7c;
    color: white;
    text-align: center;
    padding: 15px 10px;
    font-size: 14px;
    position: relative;
    bottom: 0;
    width: 100%;
}

    .footer .social-media {
        margin-top: 8px;
    }

    .footer .social-icon {
        color: #fff;
        margin: 0 8px;
        text-decoration: none;
        transition: color 0.3s;
    }

        .footer .social-icon:hover {
            color: #ffcc00;
        }

.social-media {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

    .social-media a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background: rgba(255,255,255,0.1);
        border-radius: 50%;
        transition: all 0.3s ease;
    }

        .social-media a:hover {
            background: rgba(255,255,255,0.2);
            transform: translateY(-2px) scale(1.05);
        }

.social-icon {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

    .social-icon:hover {
        color: #fdd86d;
    }

.footer p {
    margin: 0;
    font-size: 0.9rem;
}

.disabled-link {
    opacity: 0.6;
    pointer-events: none;
}

    .disabled-link:hover::after {
        content: "Uskoro";
        position: absolute;
        top: -25px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #333;
        color: #fff;
        padding: 3px 8px;
        border-radius: 4px;
        font-size: 12px;
        white-space: nowrap;
        z-index: 10;
    }
/* ------------------------------
   ANIMATIONS
------------------------------ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ------------------------------
   TOP BANNER
------------------------------ */
.top-banner {
    background: #1e293b;
    color: white;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    padding: 4px 0;
    width: 100%;
}

.banner-content {
    display: flex;
    justify-content: center; /* centrira sve stavke */
    align-items: center;
    flex-wrap: wrap; /* ako je ekran uzak, prelomi u novi red */
    gap: 18px; /* manji i ujednačen razmak između elemenata */
    text-align: center;
}

.banner-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

    .banner-item a {
        color: white;
        text-decoration: none;
    }

        .banner-item a:hover {
            text-decoration: underline;
        }

.icon {
    font-size: 15px;
}


/* ------------------------------
   RESPONSIVE MEDIA QUERIES
------------------------------ */
@media (max-width: 1024px) {
    .header {
        padding: 15px 3%;
    }

    .nav-buttons {
        gap: 10px;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .service-card {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 20px 2%;
    }

    .info-section {
        padding: 40px 2%;
    }

    .gallery {
        padding: 40px 2%;
    }

    .hero-img {
        width: 90%;
        height: auto;
    }

    .service-card {
        padding: 15px;
        margin: 15px 0;
    }

    .banner-content {
        flex-direction: column;
        gap: 10px;
    }
    .banner-item {
        font-size: 13.2px;
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 1.4rem;
    }

    .logo-text p {
        font-size: 0.8rem;
    }

    .nav-btn {
        font-size: 14px;
        padding: 6px 12px;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

    .banner-content {
        justify-content: center;
    }
}

.contact-section {
    padding: 60px 5%;
    background-color: #ffffff;
    text-align: center;
}

    .contact-section .section-title {
        font-size: 2rem;
        color: #2d4f7c;
        margin-bottom: 40px;
    }

.modern-form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 200px;
}

    .form-group label {
        font-weight: 600;
        color: #003366;
        margin-bottom: 8px;
    }

.contact-input,
.contact-textarea {
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

    .contact-input:focus,
    .contact-textarea:focus {
        border-color: #2d4f7c;
        box-shadow: 0 0 8px rgba(45, 79, 124, 0.3);
        outline: none;
    }

.contact-submit {
    align-self: flex-start;
    padding: 12px 30px;
    background-color: #2d4f7c;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

    .contact-submit:hover {
        background-color: #4068a0;
        transform: scale(1.05);
    }

/* ------------------------------
   RESPONSIVE
------------------------------ */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }

    .contact-submit {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 40px 3%;
    }

        .contact-section .section-title {
            font-size: 1.6rem;
            margin-bottom: 30px;
        }
}

.section-main-create {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.section-title-create {
    color: #2d4f7c;
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-subtitle-create {
    color: #555;
    margin-bottom: 30px;
    font-size: 1rem;
}

.btn-primary-create {
    background-color: #2d4f7c;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 10px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 600;
}

    .btn-primary-create:hover {
        background-color: #3a639a;
        transform: scale(1.05);
    }

.toggle-btn-create {
    margin-bottom: 30px;
}

.blog-form-card-create {
    background-color: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    text-align: left;
}

.form-row-create {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-group-create {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

    .form-group-create label {
        font-weight: 600;
        color: #2d4f7c;
        margin-bottom: 5px;
    }

.form-control-create {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

    .form-control-create:focus {
        border-color: #2d4f7c;
        box-shadow: 0 0 6px rgba(45,79,124,0.3);
        outline: none;
    }

.editor-toolbar-create {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    flex-wrap: wrap;
}

    .editor-toolbar-create button {
        padding: 8px 12px;
        border: 1px solid #ddd;
        background: white;
        border-radius: 6px;
        cursor: pointer;
        font-size: 0.9rem;
    }

        .editor-toolbar-create button:hover {
            background: #2d4f7c;
            color: white;
        }

    .editor-toolbar-create select {
        padding: 8px 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        background: white;
    }

.rich-editor-create {
    min-height: 200px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    font-size: 1rem;
    line-height: 1.6;
    overflow-y: auto;
    background: #fafbfc;
}

.blog-grid-create {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    justify-content: center;
    justify-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

.blog-card-create {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s;
    width: 100%;
    max-width: 280px;
}

    .blog-card-create:hover {
        transform: translateY(-5px);
    }

.blog-img-create {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content-create {
    padding: 15px;
    cursor: pointer;
}

.blog-actions-create {
    display: flex;
    justify-content: space-between;
    padding: 0 15px 15px 15px;
}

.btn-edit-create, .btn-delete-create {
    cursor: pointer;
    border: none;
    background: none;
    color: #007bff;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.blog-content-create h3 {
    color: #2d4f7c;
    margin-bottom: 10px;
}

.blog-content-create {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.author-create {
    margin-top: auto;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    color: #555;
}

.blog-description-short-create {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3.2em;
}

.current-image-preview-create {
    margin-bottom: 10px;
}

.preview-img-create {
    width: 200px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.modal-overlay-create {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content-create {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.close-btn-create {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

.modal-author-create {
    color: #2d4f7c;
    font-weight: 600;
    margin: 10px 0 20px 0;
}

.modal-image-create {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin: 20px 0;
}

.modal-description-create {
    line-height: 1.6;
    color: #333;
    font-size: 1rem;
}

@media (max-width: 1200px) {
    .blog-grid-create {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .blog-grid-create {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-grid-create {
        grid-template-columns: 1fr;
    }
}

/*obicna blog stranica */

.section-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.section-title {
    color: #2d4f7c;
    font-size: 2.7rem;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #555;
    margin-bottom: 30px;
    font-size: 2rem;
}

.btn-primary {
    background-color: #2d4f7c;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 10px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 600;
}

    .btn-primary:hover {
        background-color: #3a639a;
        transform: scale(1.05);
    }

.toggle-btn {
    margin-bottom: 30px;
}

.blog-form-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

    .form-group label {
        font-weight: 600;
        color: #2d4f7c;
        margin-bottom: 5px;
    }

.form-control {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    font-size: 0.95rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

    .form-control:focus {
        border-color: #2d4f7c;
        box-shadow: 0 0 6px rgba(45,79,124,0.3);
        outline: none;
    }

.editor-toolbar {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    flex-wrap: wrap;
}

    .editor-toolbar button {
        padding: 8px 12px;
        border: 1px solid #ddd;
        background: white;
        border-radius: 6px;
        cursor: pointer;
        font-size: 0.9rem;
    }

        .editor-toolbar button:hover {
            background: #2d4f7c;
            color: white;
        }

    .editor-toolbar select {
        padding: 8px 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        background: white;
    }

.editor-toolbar {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

    .editor-toolbar button,
    .editor-toolbar select {
        padding: 6px 10px;
        border: 1px solid #ccc;
        background: #fff;
        cursor: pointer;
        border-radius: 6px;
    }

        .editor-toolbar button:hover,
        .editor-toolbar select:hover {
            background: #f0f0f0;
        }

.rich-editor {
    min-height: 250px;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    background: #fff;
    outline: none;
}

    .rich-editor:focus {
        border-color: #4a90e2;
    }
.editor-toolbar button[title*="Uvuci"],
.editor-toolbar button[title*="Izvuci"] {
    font-size: 1rem;
    padding: 8px 12px;
    margin: 0 2px;
    border-radius: 6px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
}
.rich-editor ul, .rich-editor ol {
    padding-left: 30px; /* Početni indent */
}

    .rich-editor ul ul, .rich-editor ol ol {
        padding-left: 40px; /* Više nivoa */
    }

    .editor-toolbar button[title*="Uvuci"]:hover {
        background: #e9ecef;
        transform: translateX(2px);
    }

    .editor-toolbar button[title*="Izvuci"]:hover {
        background: #e9ecef;
        transform: translateX(-2px);
    }

.rich-editor {
    min-height: 200px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    font-size: 1rem;
    line-height: 1.6;
    overflow-y: auto;
    background: #fafbfc;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    justify-content: center;
    justify-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

.blog-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s;
    width: 100%;
    max-width: 280px;
}

    .blog-card:hover {
        transform: translateY(-5px);
    }

.blog-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 15px;
    cursor: pointer;
}

.blog-actions {
    display: flex;
    justify-content: space-between;
    padding: 0 15px 15px 15px;
}

.btn-edit, .btn-delete {
    cursor: pointer;
    border: none;
    background: none;
    color: #007bff;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.blog-content h3 {
    color: #2d4f7c;
    margin-bottom: 10px;
}

.blog-content {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.author {
    margin-top: auto;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    color: #555;
}

.blog-description-short {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3.2em;
}

.current-image-preview {
    margin-bottom: 10px;
}

.preview-img {
    width: 200px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

.modal-author {
    color: #2d4f7c;
    font-weight: 600;
    margin: 10px 0 20px 0;
}

.modal-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin: 20px 0;
}

.modal-description {
    line-height: 1.6;
    color: #333;
    font-size: 1rem;
}

@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
/*END*/


/* RESPONSIVE DESIGN */
/*@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }

    .btn-primary, .toggle-btn {
        width: 100%;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .blog-content {
        padding: 15px;
    }
}*/

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

.calendar-day {
    background: #f5f5f5;
    padding: 10px;
    border-radius: 8px;
}

    .calendar-day h4 {
        margin-bottom: 10px;
    }

    .calendar-day ul {
        list-style: none;
        padding: 0;
    }

    .calendar-day li {
        padding: 5px;
        margin-bottom: 5px;
        text-align: center;
        border-radius: 5px;
        cursor: pointer;
    }

        .calendar-day li.free {
            background: #4CAF50;
            color: white;
        }

        .calendar-day li.booked {
            background: #ccc;
            color: #666;
            cursor: not-allowed;
        }
/* Modal */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.btn-cancel {
    margin-left: 10px;
    background: #ccc;
    color: #333;
    padding: 6px 12px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

    .btn-cancel:hover {
        background: #bbb;
    }

.toast-banner {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 14px 22px;
    border-radius: 8px;
    font-weight: 500;
    color: #fff;
    z-index: 2000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    animation: fadeInOut 3s ease-in-out;
    transition: all 0.3s ease;
}

.toast-success {
    background-color: #28a745;
}

.toast-error {
    background-color: #dc3545;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    10%, 90% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

@keyframes fadein {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.aboutus-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.aboutus-content {
    background-color: #fff;
    border-radius: 12px;
    padding: 2rem;
    line-height: 1.8;
    font-size: 1.05rem;
    color: #333;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

    .aboutus-content p {
        margin-bottom: 1rem;
    }

.aboutus-highlight {
    text-align: center;
    font-size: 1.2rem;
    color: #d63384;
    margin-top: 1.5rem;
}

.aboutus-image-container {
    text-align: center;
}

.aboutus-image {
    width: 80%;
    max-width: 700px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

/* Body deo (scrollable) */
/*.layout-body {
    max-width: 1200px;*/ /* maksimalna širina za desktop */
/*margin: 0 auto;*/ /* centriraj horizontalno */
/*padding: 20px;*/ /* unutrašnji razmak */
/*box-sizing: border-box;
    width: 100%
}*/
.layout-body {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    width: 100%;
    min-height: 75vh;
    display: flex;
    flex-direction: column;
}

    /* Kada je layout-body skoro prazan */
    .layout-body:has(main:empty),
    .layout-body:has(main > *:only-child) {
        min-height: 85vh; /* Još više prostora */
        justify-content: center; /* Centriraj vertikalno */
    }


@media (max-width: 768px) {
    .layout-body {
        padding: 15px;
        max-width: 95%; /* gotovo cela širina ekrana */
    }
}

/* ✅ Za veoma male ekrane (telefoni) */
@media (max-width: 480px) {
    .layout-body {
        padding: 10px;
        max-width: 100%;
    }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    display: flex; /* uvek flex */
    justify-content: center;
    align-items: center;
    z-index: 99999;
    pointer-events: none; /* klikovi prolaze kroz overlay ako je animacija */
}

    .loading-overlay .paw-icon-load {
        position: fixed;
        top: 50%;
        left: 50%;
        font-size: 5rem;
        color: #ff6f61;
        display: block;
        animation: paw-bounce 1s infinite ease-in-out;
        z-index: 9999;
    }

    .loading-overlay.hidden {
        display: none; /* sakriva overlay kada nije vidljiv */
    }

/* Loading Pseća Šapa */
.paw-loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    color: #ff6f61;
    animation: paw-bounce 1s infinite ease-in-out;
    z-index: 9999;
}

@keyframes paw-bounce {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.25);
        opacity: 0.7;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}
/*.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #2b2b2b;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    gap: 15px;
    align-items: center;
    z-index: 999999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    font-size: 0.95rem;
    animation: fadeIn 0.4s ease-out;
}

    .cookie-banner button {
        background: #ff6f61;
        color: white;
        border: none;
        padding: 8px 14px;
        border-radius: 5px;
        cursor: pointer;
        font-weight: 600;
    }

        .cookie-banner button:hover {
            opacity: .85;
        }

    .cookie-banner.hidden {
        display: none;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}*/
/* KONTEJNER U DONJEM LEVOM UGLU */
.review-bubble-container {
    position: sticky;
    bottom: 24px;
    margin-left: 20px;
    display: flex;
    gap: 10px;
    align-items: flex-end;
    z-index: 10;
}

/* PAS I MAČKA */
.review-characters {
    display: flex;
    gap: 5px;
    align-items: flex-end;
}

/* SLICE */
.character {
    width: 70px;
    height: auto;
    opacity: 0;
    transform: translateY(40px);
    animation: character-pop 0.7s ease-out forwards;
}

    /* Pas prvi izlazi */
    .character.dog {
        animation-delay: 0.3s;
    }

    /* Mačka zatim */
    .character.cat {
        animation-delay: 0.6s;
    }

/* OBLACIĆ */
.review-bubble {
    background: white;
    border-radius: 15px;
    padding: 12px 18px;
    font-size: 1rem;
    max-width: 240px;
    border: 2px solid #ff6f61;
    opacity: 0;
    transform: translateY(20px);
    animation: bubble-pop 0.7s ease-out forwards;
    animation-delay: 1.1s;
}

    /* TROUGAO oblačića */
    .review-bubble::after {
        content: "";
        position: absolute;
        bottom: -12px;
        left: 40px;
        width: 0;
        height: 0;
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-top: 12px solid white;
    }

/* ANIMACIJE */

@keyframes character-pop {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes bubble-pop {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.review-bubble {
    position: relative;
}

.close-bubble {
    position: absolute;
    top: 6px;
    right: 8px;
    background: transparent;
    border: none;
    font-size: 18px;
    font-weight: bold;
    color: #ff6f61;
    cursor: pointer;
    z-index: 10;
    padding: 0;
}

    .close-bubble:hover {
        transform: scale(1.2);
    }

.modern-footer {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    color: #94a3b8;
    padding: 60px 5% 30px;
    border-top: 4px solid #2d4f7c;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.newsletter-col {
    display: flex;
    flex-direction: row; /* Desktop: pored */
    gap: 30px;
    align-items: flex-start;
}

.newsletter-with-cat {
    display: flex;
    width: 100%;
    gap: 30px;
    align-items: flex-start;
}

.newsletter-section {
    flex: 1; /* Newsletter zauzme više prostora */
    min-width: 0; /* Spreči overflow */
}

.footer-cat-image {
    flex: 0 0 260px; /* 🆕 ŠIRE - 220px umesto 160px */
    height: 220px; /* 🆕 Više visine */
}

    .footer-cat-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Footer grid ostaje 4 kolone */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}


/* 🆕 MOBILON - ISPOD newsletter-a */
@media (max-width: 768px) {
    .newsletter-col {
        flex-direction: column !important;
        gap: 20px;
        align-items: center; /* ← CENTRIRAJ sve */
        text-align: center; /* ← Tekst takođe */
    }

    .newsletter-with-cat {
        flex-direction: column;
        width: 100%;
        align-items: center; /* ← CENTRIRAJ kontejner */
    }

    .newsletter-section {
        width: 100%;
        max-width: 350px; /* ← Ograniči newsletter */
    }

    .footer-cat-image {
        flex: 0 0 280px; /* Širina slike */
        height: 240px;
        width: 100%;
        max-width: 300px; /* Maksimalna širina */
        display: flex; /* ← FLEX za centriranje */
        justify-content: center; /* ← HORIZONTALNO CENTRIRANO */
        align-items: center; /* ← VERTIKALNO CENTRIRANO */
    }
}

.footer-col h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

    .footer-col h4::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 0;
        width: 40px;
        height: 3px;
        background: linear-gradient(90deg, #2d4f7c, #3b82f6);
        /*background: linear-gradient(90deg, #f97316, #fb923c);*/
        border-radius: 2px;
    }

/* Logo */
.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-logo-img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover; /* ✅ CROPPING za savršen krug */
    object-position: center; /* ✅ Centrirano */
    border: 3px solid rgba(255,255,255,0.25);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3), inset 0 2px 4px rgba(255,255,255,0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.logo-text h3 {
    color: white;
    font-size: 1.3rem;
    margin: 0 0 0.5rem 0;
    font-weight: 800;
}

.logo-text p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.95rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.3rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

    .social-link:hover {
        background: linear-gradient(135deg, #3b82f6, #8b5cf6);
        color: white;
        transform: translateY(-4px) scale(1.05);
        box-shadow: 0 15px 35px rgba(59,130,246,0.4);
    }

/* Navigacija */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .footer-nav a {
        color: #64748b;
        text-decoration: none;
        font-weight: 500;
        padding: 0.75rem 0;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        position: relative;
    }

        .footer-nav a:hover:not(.disabled) {
            color: white;
            padding-left: 1rem;
        }

        .footer-nav a.disabled {
            color: #6b7280;
            cursor: not-allowed;
            opacity: 0.6;
        }

/* Kontakt */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
}

    .contact-item i {
        color: #2d4f7c;
        font-size: 1.2rem;
        margin-top: 2px;
        width: 20px;
    }

/* Newsletter */
.newsletter-text {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

    .newsletter-form input {
        flex: 1;
        min-width: 200px;
        padding: 0.875rem 1rem;
        border: 2px solid rgba(255,255,255,0.1);
        border-radius: 12px;
        background: rgba(255,255,255,0.05);
        color: white;
        font-size: 0.95rem;
        backdrop-filter: blur(10px);
    }

        .newsletter-form input::placeholder {
            color: #64748b;
        }

    .newsletter-form button {
        padding: 0.875rem 1.5rem;
        background: linear-gradient(135deg, #2d4f7c, #3b82f6);
        color: white;
        border: none;
        border-radius: 12px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .newsletter-form button:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(45,79,124,0.4);
        }

.beta-badge {
    display: inline-block;
    background: linear-gradient(135deg, #eab308, #f59e0b);
    color: #1e293b;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Footer bottom */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #334155, #2d4f7c, transparent);
    margin: 2.5rem 0;
}

.bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.bottom-links {
    display: flex;
    gap: 2rem;
}

    .bottom-links a {
        color: #94a3b8;
        text-decoration: none;
        font-size: 0.9rem;
        transition: color 0.3s ease;
    }

        .bottom-links a:hover {
            color: white;
        }

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Centriraj SVE footer kolone */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
        padding: 40px 20px;
    }

    .footer-col {
        align-items: center !important;
        text-align: center !important;
        justify-content: center !important;
    }

    .footer-col {
        text-align: center;
    }

        .footer-col h4::after {
            left: 50%;
            transform: translateX(-50%);
        }

    /* Logo kolona - SPECIFIČNO centriranje */
    .logo-col {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .logo-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .social-icons {
        display: flex;
        justify-content: center;
        gap: 15px;
        width: 100%;
    }

    /* Newsletter + mače (kao što smo već napravili) */
    .newsletter-col {
        flex-direction: column !important;
        gap: 25px;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: 20px 0;
    }
}

@media (max-width: 768px) {
    .contact-col {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .contact-info {
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important; /* ← SAMO OVO centrira */
    }
}

/*BLOG POST PAGE DEO*/
.blog-sidebar {
    display: flex;
    justify-content: flex-start; /* poravnaj sadržaj levo */
    padding: 10px; /* po želji */
}

.back-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

    .back-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    }

    .back-btn:active {
        transform: translateY(0);
    }

.blog-text,
.blog-text * {
    font-family: 'Poppins', sans-serif !important;
}

    .blog-text h1,
    .blog-text h2,
    .blog-text h3,
    .blog-text h4,
    .blog-text h5,
    .blog-text h6 {
        font-family: 'Poppins', sans-serif;
    }

    /* LISTE - VIDLJIVO UVLAČENJE */
    .blog-text ul {
        padding-left: 30px !important;
        margin: 2px 0 !important;
        list-style-type: disc !important;
    }

        .blog-text ul ul {
            padding-left: 55px !important; /* 🎯 UVUČENO nivo 2 */
            margin: 6px 0 !important;
            list-style-type: circle !important;
        }

            .blog-text ul ul ul {
                padding-left: 80px !important; /* 🎯 UVUČENO nivo 3 */
                list-style-type: square !important;
            }

    .blog-text ol {
        padding-left: 30px !important;
        margin: 12px 0 !important;
        list-style-type: decimal !important; /* 🎯 BROJEVI 1,2,3 */
    }

        .blog-text ol ol {
            padding-left: 55px !important; /* 🎯 UVUČENO */
            list-style-type: lower-alpha !important; /* a,b,c za podliste */
        }

            .blog-text ol ol ol {
                padding-left: 85px !important;
                list-style-type: lower-roman !important; /* i,ii,iii */
            }

    /* LEPSI PREGLED */
    .blog-text li {
        margin-bottom: 4px;
        padding: 8px 0;
    }

    .blog-text p {
        margin-bottom: 12px;
    }
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    /* Safari iPhone specifično */
    .blog-text ol {
        list-style-type: decimal !important;
        -webkit-padding-start: 35px !important;
        padding-left: 35px !important;
    }

        .blog-text ol ol {
            -webkit-padding-start: 55px !important;
            list-style-type: lower-alpha !important;
        }
}

/* 📱 SVI MOBILNI */
@media (max-width: 768px) {
    .blog-text ol {
        padding-left: 28px !important;
        list-style-type: decimal !important; /* 🎯 BROJEVI NA IPHONE */
        margin-left: 0 !important;
    }

        .blog-text ol li {
            padding: 12px 0 !important;
        }

        .blog-text ol ol {
            padding-left: 45px !important;
            list-style-type: lower-alpha !important; /* a,b,c */
        }
}

/* 🐦 IPHONE SPECIFIČNO - Safari bug fix */
@supports (-webkit-appearance: none) {
    .blog-text ol {
        list-style-type: decimal !important;
        -webkit-padding-start: 30px !important;
    }
}
.blog-content-row {
    display: flex;
    gap: 20px;
}

.blog-text-side {
    flex: 2;
}

.blog-image-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 60px; /* Desktop padding */
}
.blog-content-row {
    padding-top: 20px; /* Desktop padding */
}

    .blog-image-side img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }

@media (max-width: 767px) {
    .blog-content-row {
        flex-direction: column;
        gap: 15px;
    }

    .blog-text-side {
        flex: unset;
    }

    .blog-image-side {
        flex: unset;
        width: 100%;
        display: block;
        text-align: center;
    }

        .blog-image-side img {
            max-width: 100%;
            height: auto;
            margin: 0 auto;
        }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9998;
}

.loading-text {
    margin-top: 20px;
    font-size: 1.2rem;
    color: #666;
    animation: textPulse 1.5s infinite;
}

@keyframes textPulse {
    0%, 100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}


/*END*/
/*Vet amb, vet apo, pet shop*/
.content-wrapper {
    display: flex;
    justify-content: center;
    padding: 40px 16px;
}

.content-card {
    width: 100%;
    max-width: 1200px; /* 🎯 POVEĆANO sa 900px na 1200px = ŠIRI */
    min-height: 260px;
    border-radius: 24px;
    background-image: url("/images/pharmacy-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

/* Poluprovidna bela podloga za tekst */
.content-overlay {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 20px;
    margin: 18px;
    padding: 28px 35px; /* 🎯 Povećan padding za više prostora */
    backdrop-filter: blur(4px);
    max-width: none; /* Bez ograničenja */
}

    .content-overlay h3 {
        margin-bottom: 12px;
        font-family: "Poppins", sans-serif;
        font-weight: 700;
        color: #2d4f7c;
        font-size: 2rem; /* POVEĆANO sa default */
        line-height: 1.3;
    }

    .content-overlay p {
        margin: 0;
        font-family: "Poppins", sans-serif;
        font-size: 1.2rem;
        line-height: 1.7;
        color: #333;
    }

/* Mobilno prilagođavanje */
@media (max-width: 768px) {
    .content-card {
        max-width: 95%; /* skoro pun ekran */
    }

    .content-overlay {
        margin: 15px;
        padding: 24px 25px;
    }

        .content-overlay h3 {
            font-size: 1.2rem;
            text-align: center;
        }

        .content-overlay p {
            font-size: 0.95rem;
            text-align: center;
        }
}
.blog-full-width-bg {
    position: relative;
    width: 100vw !important;
    max-width: 100vw !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding: 60px 20px !important;
    background-image: url('/images/as.png');
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    min-height: 100vh;
}

/* RESET */
.vet-services,
.vet-services ul,
.vet-services ol {
    margin: 0;
    padding: 0;
}

/* NIVO 1 — • Preventiva */
.vet-services {
    list-style-type: disc;
    padding-left: 22px; /* uvlačenje tačke */
    margin-left: 10px;
}

    /* Sekcija naslov */
    .vet-services > li {
        margin-bottom: 14px;
    }

/* Bold naslov */
.section-title {
    font-weight: 600;
}

/* NIVO 2 — 1. 2. 3. */
.vet-services ol {
    list-style-type: decimal;
    padding-left: 28px; /* UVLAČENJE BROJEVA */
    margin-top: 6px;
}

/* NIVO 3 — – */
.vet-services ul {
    list-style-type: none;
    padding-left: 26px; /* UVLAČENJE CRTICA */
    margin-top: 4px;
}

    /* Ručna crtica */
    .vet-services ul li::before {
        content: "– ";
        position: absolute;
        margin-left: -18px;
    }

/* Stavke */
.vet-services li {
    position: relative;
    margin-bottom: 4px;
    line-height: 1.45;
    color: #444;
    max-width: 650px; /* da se tekst prelomi kao na slici */
}

/* Prelom dugog teksta */
.vet-services li {
    text-indent: 0;
}

/* Responsive */
@media (max-width: 768px) {

    .vet-services {
        padding-left: 18px;
    }

        .vet-services ol {
            padding-left: 22px;
        }

        .vet-services ul {
            padding-left: 20px;
        }
}

/*.petshop-vetAm-vetApo-list ul {
    list-style-type: disc !important;
    margin: 8px 0 8px 15px !important;*/ /* 🎯 MAKSIMALNO UVUČENO */
    /*padding-left: 25px !important;
}

    .petshop-vetAm-vetApo-list ul li {
        font-size: 0.90em !important;
        color: #555 !important;
        margin-bottom: 4px !important;
    }
@media (max-width: 768px) {
    .petshop-vetAm-vetApo-list ul {
        margin: 6px 0 6px 25px !important;
    }
}*/
/* ANDROID + iOS - MOBILNI FIX za editor */
@media (max-width: 768px) {
    .rich-editor {
        -webkit-padding-start: 25px !important; /* Android Chrome */
        padding-left: 25px !important;
        font-size: 16px; /* Native mobilni font */
    }

        .rich-editor ol {
            list-style-type: decimal !important;
            -webkit-padding-start: 35px !important;
            padding-left: 35px !important;
        }

        .rich-editor ul {
            -webkit-padding-start: 30px !important;
            list-style-type: disc !important;
        }

    /* BROJEVI + UVLAČENJE - ANDROID FIX */
    .blog-text ol {
        list-style-type: decimal !important;
        padding-left: 35px !important;
        -webkit-padding-start: 35px !important; /* Chrome Android */
        margin-left: 0 !important;
    }

        /* UVLAČENO - nivo 2 */
        .blog-text ol ol {
            padding-left: 55px !important;
            -webkit-padding-start: 55px !important;
            list-style-type: lower-alpha !important; /* a,b,c */
            margin-left: 0 !important;
        }

            .blog-text ol ol ol {
                padding-left: 75px !important;
                -webkit-padding-start: 75px !important;
            }

    /* TAČKE liste */
    .blog-text ul {
        list-style-type: disc !important;
        padding-left: 30px !important;
        -webkit-padding-start: 30px !important;
    }

        .blog-text ul ul {
            padding-left: 50px !important;
            -webkit-padding-start: 50px !important;
            list-style-type: circle !important;
        }

    /* VIDLJIVO UVLAČENJE - background */
    .blog-text li {
        margin-bottom: 8px;
        padding: 15px;
        position: relative;
    }
}

/* ANDROID CHROME SPECIFIČNO */
@supports (-webkit-appearance: button) {
    .blog-text ol {
        -webkit-padding-start: 35px !important;
    }

    .blog-text ul {
        -webkit-padding-start: 30px !important;
    }

    .blog-text li {
        margin-bottom: 8px;
        padding: 15px;
        position: relative;
    }
}

/* Safari iPhone specifično */
@supports (-webkit-appearance: none) {
    .rich-editor ol {
        list-style-type: decimal !important;
        -webkit-padding-start: 30px !important;
    }
}
/* 🖥️ MOBILNI BlogPost - čisto i uredjeno */
@media (max-width: 768px) {
    .blog-content-row {
        flex-direction: column; /* Slika ispod teksta */
    }

    .blog-text-side {
        width: 100%;
        padding: 20px;
    }

    .blog-image-side {
        width: 100%;
        max-height: 600px;
    }

        .blog-image-side img {
            width: 100%;
            height: 550px;
            object-fit: cover;
            border-radius: 15px;
            padding-bottom: 15px;
        }

    /* LISTE - BROJEVI NA ANDROIDU */
    .blog-text ol {
        padding-left: 30px !important;
        -webkit-padding-start: 30px !important;
        list-style-type: decimal !important;
    }

    .blog-text {
        font-size: 1.1rem;
        line-height: 1.7;
        padding: 0;
    }
}
