@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&display=swap');

:root {
    --color-blue-main: #03346E;
    --color-blue-second: #1E3E62;
    --color-light-blue: #006cbe;
    --background-light: rgba(207, 226, 255, 0.6);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Karla', sans-serif;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #fff;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--color-blue-main);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--color-blue-second);
}

h1 {
    font-size: 25px;
}

h3 {
    color: var(--color-blue-second);
    font-size: 1.2rem;
    font-weight: 700;
}

h5 {
    font-weight: bold;
}

a {
    color: var(--color-blue-main);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: var(--color-blue-main);
}

hr {
    border: none;
    height: 2px;
    background-color: var(--color-blue-main);
    margin: 100px 0;
}

.text-justify {
    text-align: justify;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--color-blue-main);
    font-weight: 700;
}

.fixed-icon {
    position: fixed;
    bottom: 50%;
    right: 35px;
    width: 75px;
    height: 75px;
    background-color: var(--color-light-blue);
    border-radius: 50%;
    /* Početni oblik kruga */
    display: flex;
    align-items: center;
    /* Vertikalno centriranje */
    justify-content: center;
    /* Horizontalno centriranje ikone */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    cursor: pointer;
    transition: width 0.3s ease, border-radius 0.3s ease, justify-content 0.3s ease;
    /* Glatke tranzicije */
    overflow: hidden;
    padding: 0;
    /* Bez unutarnjeg prostora dok nije hover */
}

.fixed-icon i {
    color: white;
    font-size: 30px;
    transition: color 0.3s ease;
}

.fixed-icon .hover-text {
    color: white;
    font-size: 16px;
    white-space: nowrap;
    opacity: 0;
    /* Tekst je potpuno nevidljiv */
    transform: scale(0.9);
    /* Malo smanjen tekst dok nije hover */
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-left: 0;
    /* Bez razmaka dok nije hover */
    display: none;
    /* Ne zauzima prostor dok nije hover */
}

.fixed-icon:hover {
    width: 200px;
    /* Proširivanje okvira */
    border-radius: 40px;
    /* Pravokutnik sa zaobljenim rubovima */
    justify-content: flex-start;
    /* Poravnanje sadržaja prema početku */
    padding-left: 20px;
    /* Prostor za tekst */
}

.fixed-icon:hover .hover-text {
    display: inline;
    opacity: 1;
    transform: scale(1);
    /* Normalna veličina teksta */
    margin-left: 15px;
    /* Razmak između ikonice i teksta */
}

#call-icon {
    bottom: 50%;
    /* Pozicija telefonske ikonice */
}

#book-icon {
    bottom: 40%;
    /* Pozicija ikonice za naručivanje, ispod telefonske */
}

@media (max-width: 1600px) {
    #call-icon {
        bottom: 55%;
    }
}

@media (max-width: 765px) {
    .fixed-icon {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        bottom: 10px;
        right: 10px;
        transition: none;
        justify-content: center;
    }

    #call-icon {
        bottom: 18%;
    }

    #book-icon {
        bottom: 5%;
    }

    .fixed-icon:hover {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        padding-left: 0;
        justify-content: center;
    }

    .fixed-icon .hover-text {
        display: none;
    }

    .fixed-icon:hover .hover-text {
        display: none;
    }
}


.button-1 {
    appearance: none;
    background-color: #FFFFFF;
    border: 1px solid var(--color-blue-main);
    box-sizing: border-box;
    color: var(--color-blue-main);
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1em;
    margin: 0;
    opacity: 1;
    outline: 0;
    padding: 15px;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-rendering: geometricprecision;
    text-transform: uppercase;
    transition: opacity 300ms cubic-bezier(.694, 0, 0.335, 1), background-color 100ms cubic-bezier(.694, 0, 0.335, 1), color 100ms cubic-bezier(.694, 0, 0.335, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: baseline;
    white-space: nowrap;
}

.button-1:before {
    animation: opacityFallbackOut .5s step-end forwards;
    backface-visibility: hidden;
    background-color: var(--color-blue-main);
    color: #fff;
    clip-path: polygon(-1% 0, 0 0, -25% 100%, -1% 100%);
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    transform: translateZ(0);
    transition: clip-path .5s cubic-bezier(.165, 0.84, 0.44, 1), -webkit-clip-path .5s cubic-bezier(.165, 0.84, 0.44, 1);
    width: 100%;
    z-index: 0;
}

.button-1:hover:before {
    animation: opacityFallbackIn 0s step-start forwards;
    clip-path: polygon(0 0, 101% 0, 101% 101%, 0 101%);
}

.button-1:after {
    background-color: #FFFFFF;
}

.button-1:hover {
    color: #fff;
    transition: color 100ms cubic-bezier(.694, 0, 0.335, 1);
}

.button-1 span {
    z-index: 1;
    position: relative;
}

.button-2 {
    appearance: none;
    background-color: var(--color-blue-main);
    border: 1px solid var(--color-blue-main);
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1em;
    margin: 0;
    opacity: 1;
    outline: 0;
    padding: 15px;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-rendering: geometricprecision;
    text-transform: uppercase;
    transition: opacity 300ms cubic-bezier(.694, 0, 0.335, 1), background-color 100ms cubic-bezier(.694, 0, 0.335, 1), color 100ms cubic-bezier(.694, 0, 0.335, 1);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: baseline;
    white-space: nowrap;
}

.button-2:before {
    animation: opacityFallbackOut .5s step-end forwards;
    backface-visibility: hidden;
    background-color: #fff;
    color: #fff;
    clip-path: polygon(-1% 0, 0 0, -25% 100%, -1% 100%);
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    transform: translateZ(0);
    transition: clip-path .5s cubic-bezier(.165, 0.84, 0.44, 1), -webkit-clip-path .5s cubic-bezier(.165, 0.84, 0.44, 1);
    width: 100%;
}

.button-2:hover:before {
    animation: opacityFallbackIn 0s step-start forwards;
    clip-path: polygon(0 0, 101% 0, 101% 101%, 0 101%);
}

.button-2:after {
    background-color: #FFFFFF;
}

.button-2:hover {
    color: var(--color-blue-main);
    transition: color 100ms cubic-bezier(.694, 0, 0.335, 1);
}

.button-2 span {
    z-index: 1;
    position: relative;
}

.button-3 {
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    background-color: var(--color-light-blue);
    color: #fff;
    border-radius: 50px;
    border: none;
    padding: 10px 20px 10px 20px;
    font-weight: bold;
    transition: background-color ease 0.3s;
}

.button-3:hover {
    background-color: var(--color-blue-second);
    color: #fff;
}

@media (max-width: 765px) {
    .button-3 {
        padding: 5px 10px 5px 10px;
    }
}


header {
    position: fixed;
    top: 30px;
    /* Pomiče se ispod gornjeg podmenija */
    width: 100%;
    z-index: 1000;
    background-color: #ffffff;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.logo {
    display: flex;
    margin-left: 30px;
    transition: opacity 0.5s ease;
}

.hide {
    opacity: 0;

}

.show {
    opacity: 1;

}

.logo-img {
    width: 20vw;
    transition: opacity 0.5s ease;
}

@media (max-width: 765px) {
    .logo {
        margin-left: 5px;
    }

    .logo-img {
        width: 65vw;
    }
}

.navbar {
    padding: 0;
    margin-right: 20px;
}

.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar li {
    position: relative;
    text-transform: uppercase;
}

.navbar>ul>li {
    white-space: nowrap;
    padding: 10px 0 10px 28px;
}

.navbar a,
.navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3px;
    font-size: 15px;
    font-weight: 600;
    color: #000;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
}

.navbar a i,
.navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
}

.navbar>ul>li>a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--color-blue-second);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
}

.navbar a:hover:before,
.navbar li:hover>a:before,
.navbar .active:before {
    visibility: visible;
    width: 100%;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
    color: var(--color-blue-second);
}

.navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 28px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: #ccc;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s;
}

.navbar .dropdown ul li {
    min-width: 200px;
}

.navbar .dropdown ul a {
    padding: 10px 20px;
    font-weight: 400;
}

.navbar .dropdown ul a i {
    font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
    color: var(--color-blue-second);
}

.navbar .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

.navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
}

@media (max-width: 1366px) {
    .navbar .dropdown .dropdown ul {
        left: -90%;
    }

    .navbar .dropdown .dropdown:hover>ul {
        left: -100%;
    }
}

/**
      * Mobile Navigation 
      */
.mobile-nav-toggle {
    color: var(--color-blue-main);
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
    
}

.mobile-nav-toggle.bi-x {
    color: #fff;
    right: 15px;
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block;
    }

    .navbar ul {
        display: none;
    }
}

.navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(9, 9, 9, 0.9);
    transition: 0.5s;
    z-index: 999;
    width: 100%;
}

.navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
}

.navbar-mobile ul {
    display: block;
    position: absolute;
    top: 55px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    padding: 10px 0;
    background-color: #fff;
    overflow-y: auto;
    transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
    padding: 10px 20px;
    font-size: 15px;
    color: #222222;
}

.navbar-mobile>ul>li {
    padding: 0;
}

.navbar-mobile a:hover:before,
.navbar-mobile li:hover>a:before,
.navbar-mobile .active:before {
    visibility: hidden;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
    color: var(--color-blue-second);
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
    margin: 15px;
}

.navbar-mobile .dropdown ul {
    position: static;
    display: none;
    margin: 10px 20px;
    padding: 10px 0;
    z-index: 99;
    opacity: 1;
    visibility: visible;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
    min-width: 200px;
}

.navbar-mobile .dropdown ul a {
    padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
    font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
    color: #106eea;
}

.navbar-mobile .dropdown>.dropdown-active {
    display: block;
}

#top-submenu {
    width: 100%;
    height: 30px;
    background-color: #ffffff;
    display: flex;
    justify-content: right;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #ddd;
}

.submenu-item {
    display: flex;
    align-items: center;
    margin: 0 10px;
    /* Razmak između grupe */
}

.submenu-item i {
    margin-right: 10px;
    /* Razmak između ikonice i linka */
    color: var(--color-blue-second);
    /* Plava boja ikonice */
}

.submenu-item a {
    color: var(--color-blue-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.submenu-item a:hover {
    color: var(--color-light-blue);
}

.separator {
    color: #ccc;
    /* Siva boja separatora */
    margin: 0 10px;
    /* Razmak s obje strane separatora */
    font-size: 16px;
}

/* Donji podmeni */
#bottom-submenu {
    position: relative;
    top: 60px;
    /* Pozicija ispod glavnog menija */
    width: 100%;
    background-color: var(--color-blue-main);
    /* Plava pozadina */
    height: 50px;
    /* Visina donjeg podmenija */
    display: flex;
    justify-content: space-between;
    /* Razmak između top-links i bottom-links */
    align-items: center;
    padding: 0 20px;
    /* Razmak lijevo i desno */
    box-sizing: border-box;
    z-index: 999;
}

/* Top linkovi */
#bottom-submenu .top-links {
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    align-items: center;
    margin-left: 300px;
    font-weight: bold;
    gap: 30px;
    /* Razmak između linkova */
    flex: 1;
    /* Omogućava centriranje u sredini */
}

/* Bottom linkovi */
#bottom-submenu .bottom-links {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    /* Poravnanje prema donjem rubu */
    position: absolute;
    font-weight: bold;
    flex-wrap: wrap;
    bottom: 0;
    /* Postavljanje na donji rub */
    right: 300px;
    /* Razmak od desnog ruba */
}

/* Stil za linkove u bottom-links */
#bottom-submenu .bottom-links a {
    background-color: #001327;
    /* Tamnoplava pozadina */
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 15px;
    transition: background-color 0.3s ease;
}

#bottom-submenu .bottom-links a:hover {
    background-color: #003f7f;
    /* Tamnija nijansa na hover */
}

/* Opći stil za sve linkove */
#bottom-submenu a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

#bottom-submenu a:hover {
    color: #cce4ff;
    /* Svjetlija nijansa na hover */
}

@media (max-width: 1600px) {
    #bottom-submenu .top-links {
        justify-content: left;
        margin-left: 20px;
    }

    #bottom-submenu .bottom-links {
        right: 50px;
    }

}

.mobile-only {
    display: none;
}

.navbar hr {
    margin: 1px;
}

/* Prikazi ih samo na mobilnim uređajima */
@media screen and (max-width: 765px) {
    .mobile-only {
        display: block;
    }
}

@media (max-width: 765px) {
    #top-submenu {
        display: none;
    }

    #bottom-submenu {
        display: none;
    }

    header {
        top: 0;
    }
}

footer {
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 15px;
    height: 3rem;
    background-color: var(--color-blue-main);
    color: white;
    z-index: 10;
    margin-top: 50px;
}

footer span {
    color: white;
    opacity: 60%;
}

@media (max-width: 765px) {
    footer p {
        font-size: 3vw;
    }
}

#hero {
    height: 75vh;
    width: 75%;
    overflow: hidden;
    position: relative;
    align-items: center;
    margin: 100px auto;
}

#hero img {
    width: 90%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 50%; 
    top: 0;
    transform: translateX(-50%); 
}

#hero::before {
    content: "";
    position: absolute;
    left: -48%; /* Pomeranje ulevo */
    bottom: 10%;
    width: 100%; /* Povećaj ako treba više vidljivosti */
    height: 40%;
    background: url("/assets/img/pattern.png") no-repeat center center;
    background-size: contain; /* Možeš probati i "cover" */
    z-index: 5; /* Postavljamo ga ispred slike */
    opacity: 1; /* Ako je 0, neće se videti */
    pointer-events: none; /* Da ne ometa interakcije */
}

.overlay-hero {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30vw;
    background-color: rgba(255, 255, 255);
    color: var(--color-blue-main);
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 48px;
    align-items: flex-start;
    box-sizing: border-box;
    z-index: 4; /* Da ostane preko patterna */
}


.overlay-hero p {
    font-size: 18px;
}

.overlay-hero input {
    width: 90%;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #ccc;
}

#bmi-result {
    margin-top: 20px;
    font-size: 18px;
    color: var(--color-blue-main);
    font-weight: bold;
}

/* Sekcija za formu */
.form-section {
    display: flex;
    flex-direction: column; /* Elementi složeni vertikalno */
    gap: 5px; /* Razmak između grupa */
    width: 100%;
}

/* Radio gumbi za spol */
.radio-group {
    display: flex;
    justify-content: flex-start; /* Gumbi poravnani lijevo */
    gap: 20px; /* Razmak između radio gumba */
    width: 100%;
}

.radio-group input[type="radio"] {
    width: 20px;
    height: 20px;
    border-radius: 50%; /* Kružni oblik */
    margin-right: 5px;
}

.radio-group label {
    font-size: 16px;
}

/* Inputi za visinu i težinu */
.input-group {
    display: flex;
    gap: 5px; /* Razmak između inputa */
    width: 100%; /* Cijela širina forme */
}

.form-group {
    display: flex;
    flex-direction: column; /* Labela iznad inputa */
    width: 48%; /* Svaki input zauzima 48% širine */
}

.form-group label {
    font-size: 16px;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%; /* Input zauzima cijelu širinu roditelja */
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #ccc;
    box-sizing: border-box; /* Padding unutar širine */
}

/* Gumb za izračun */
.button-wrapper {
    display: flex;
    justify-content: left; /* Gumb centriran */
    width: 100%;
}

#hero .overlay-hero p {
    margin-right: 100px;
    font-size: 20px;
}

#hero .overlay-hero h3 {
    margin-top: 10px;
    font-size: 30px;
}

@media (max-width: 765px) {

    #hero {
        flex-direction: column;
        width: 95%;
        height: 85vh;
    }

    #hero .overlay-hero {
        width: 100% !important;
    }

    #hero img {
        width: 98%;
        height: auto;
    }

    .overlay-hero {
        width: 100%;
        text-align: left;
        padding: 20px;
        margin-left: 0;
        top: 200px;
        justify-content: flex-start;
    }

    #hero::before {
        top: 40%;
        left: -48%;
    }

    #hero .overlay-hero p {
        margin-right: 1px;
        margin-left: 20px;
        font-size: 15px;
    }

    #hero .overlay-hero h3 {
        text-align: left;
        font-size: 25px;
        margin-left: 20px;
    }

    #hero .overlay-hero a {
        margin-left: 20px;
    }

    .form-section {
        display: flex;
        flex-direction: column; 
        align-items: center;
        gap: 20px; 
        width: 100%; 
    }

    /* Radio gumbi za spol */
    .radio-group {
        display: flex;
        align-items: center; /* Vertikalno poravnanje */
        gap: 20px; /* Razmak između radio gumba */
        width: 100%; /* Zauzima cijelu širinu */
    }

    .radio-group input[type="radio"] {
        width: 20px;
        height: 20px;
        border-radius: 50%; 
    }

    .radio-group label {
        font-size: 16px;
        margin-left: 5px;
    }

    .input-group {
        display: flex;
        gap: 20px; /* Razmak između inputa */
        width: 100%; /* Širina grupe inputa */
    }

    .form-group {
        width: 100%; /* Svaki input zauzima cijelu širinu */
    }

    .form-group input {
        width: 100%; /* Inputi zauzimaju punu širinu */
        padding: 10px;
        font-size: 16px;
        border: none;
        border-radius: 5px;
        background-color: #ccc;
        box-sizing: border-box; /* Padding unutar širine */
    }

    /* Rezultat */
    #bmi-result {
        text-align: left; /* Centriraj rezultat */
        width: 100%; /* Zauzima cijelu širinu */
        margin-top: 20px;
        font-size: 16px;
    }
}



@media (max-width: 1400px) {

    #hero {
        margin: 65px auto;
    }

    #hero .overlay-hero {
        height: 75%;
        width: 70%;
    }

    #hero .overlay-hero h3 {
        margin-top: 30px;
    }

    .overlay-hero {
        display: flex;
        flex-direction: column; /* Osigurava vertikalni prikaz za manje ekrane */
        
    }

    .form-section {
        display: flex;
        flex-wrap: wrap; /* Omogućava prijelom elemenata u novi red ako nema prostora */
        justify-content: space-between;
        align-items: flex-start;
        gap: 15px; /* Razmak između elemenata */
    }

    .form-section .form-group {
        display: flex;
        flex-direction: column;
        width: 30%; /* Širina svakog polja (adjustiraj po želji) */
    }

    .form-section .form-group input {
        width: 100%; /* Inputi da zauzimaju punu širinu */
    }

    .button-wrapper {
        display: flex;
        align-items: center;
    }

    button.button-2 {
        padding: 10px 20px;
        font-size: 16px;
    }
}


.carousel-item {
    background-color: var(--color-blue-second);
    /* Bela pozadina */
    height: 250px;
}

@media (max-width: 765px) {
    .carousel-item {
        height: 500px;
    }
}

/* Opisi */
.opisi {
    margin-top: 50px;
}

.opisi img {
    width: 100%;
    height: 100%;
}

.opisi h3 {
    color: var(--color-blue-main);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 30px;
}

.opisi p {
    color: #222222;
    font-size: 1.1rem;
}

.slika-opis img {
    width: 30vw;
}


@media (max-width: 765px) {
    .opisi-mob {
        text-align: center;
    }

    .opisi-mob h3 {
        margin-top: 10px;
        font-size: 1.5rem;
    }

    .slika-opis img {
        width: 90vw;
    }
}

#weight-loss {
    scroll-margin-top: 100px;
}

#weight-managment {
    scroll-margin-top: 100px;
}



/* Parallax container */
.parallax {
    position: relative;
    background: var(--background-light);
    margin-top: 50px;
}

/* Text content styling */
.content {
    text-align: center;
    padding: 30px;
    margin: 50px 0 50px 0;
}

@media (max-width: 765px) {
    .content h3 {
        font-size: 1.5rem;
    }

    .content {
        padding: 30px;
    }
}

/* Services Section */
.services-section {
    padding: 60px 0;
    background-color: var(--background-light);
}

.service-item {
    text-align: center;
    padding: 20px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-icon img {
    width: 50px;
    height: auto;
    margin-bottom: 40px;
}

.service-item h3 {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-blue-main);
}

.service-item p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.learn-more {
    font-size: 1rem;
    color: var(--color-light-blue);
    text-decoration: none;
}

.learn-more:hover {
    text-decoration: underline;
}

.learn-more i {
    margin-left: 5px;
}

/* News Section */
.news-section {
    margin-top: 40px;
    padding: 60px 0;
    background-color: #ffffff;
}

/* Blog Items */
.blog-item {
    position: relative;
    margin-bottom: 30px;
}

.blog-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.blog-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 26, 61, 0.6);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-image:hover .blog-hover {
    opacity: 1;
}

.blog-hover h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: white;
    margin: 10px;
}

.blog-hover p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.plus-icon {
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
}

@media (max-width: 765px) {
    .blog-hover {
        opacity: 1;
        /* Uvijek vidljivo */
    }

    .blog-image {
        transform: scale(1);
    }
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background-color: var(--background-light);
}

#contact-form .form-label {
    font-weight: bold;
    color: #555;
}

#contact-form .form-control {
    border: none;
    border-bottom: 2px solid #ccc;
    border-radius: 0;
    box-shadow: none;
    transition: border-color 0.3s;
}

#contact-form .form-control:focus {
    border-bottom-color: var(--color-blue-main);
    outline: none;
}

#contact-form button {
    background-color: var(--color-blue-main);
    color: #fff;
    font-weight: bold;
    border: none;
    transition: background-color 0.3s;
}

#contact-form button:hover {
    background-color: var(--color-blue-second);
}

/* Logo and Company Details */
.contact-section .logo {
    max-width: 300px;
    margin: 0 auto;
    display: block;
}

.contact-section p {
    margin-bottom: 10px;
    color: #555;
    font-size: 1.1rem;
}

.contact-section a {
    color: #004276;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-section a:hover {
    color: #003055;
}

/* Podstranice */
.hero {
    height: 30rem;
    justify-content: center;
    overflow: hidden;
}

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

.form-check-inline {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

.form-check-label {
    margin-left: 0.5rem;
}

.form-check-inline .form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.5rem;
    border-radius: 50%;
}

.title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100px;
    text-align: center;
    margin: 0 10px 0 10px;
}

.title h1 {
    text-transform: uppercase;
    position: relative;
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--color-blue-main);
    margin: 0;
}

.title h1::after {
    content: "";
    display: block;
    width: 40%;
    height: 2px;
    background-color: var(--color-blue-main);
    margin: 10px auto 0;
}

/* Usluge */
.card-header button {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--color-blue-main);
}

.card-header button:hover {
    text-decoration: underline;
}

.card {
    border: none;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.card:not(:last-child) {
    border-bottom: 2px solid var(--color-light-blue);
    /* Plavi donji border */
}

.card-header {
    background: none;
    cursor: pointer;
    border: none;
}

.card-body {
    padding: 1rem;
    /* Održava standardno odstojanje za sadržaj */
}

.card-body li::marker {
    color: var(--color-light-blue);
}

.card-body span {
    color: var(--color-blue-second);
    font-weight: 700;
}


/* KOntakt */
.map {
    height: 25rem;
    margin-top: 65px;
    justify-content: center;
    overflow: hidden;
}

.map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* About us */
.about span {
    color: var(--color-light-blue);
    font-weight: bold;
}

.about h1 {
    color: var(--color-light-blue);
}

/* Blog */
.blog-naslovna {
    height: 50vh;
    margin-top: 100px;
    justify-content: center;
}

.blog-naslovna-novosti {
    width: 100%;
    justify-content: center;
}

.blog-naslovna-novosti img {
    width: 20vw;
    justify-content: center;
}

.novosti h4 {
    font-size: 25px;
    margin-top: 20px;
    margin-left: 10px;
    color: var(--color-blue-second);
    text-transform: uppercase;
    font-weight: bold;
}

.fixed-height-img {
    width: 100%;  /* Osigurava da slika uvijek zauzima 100% širine */
    max-height: 300px; /* Ograničava visinu na 300px */
    object-fit: cover; /* Održava proporcije i izbjegava distorziju */
}


@media (max-width: 768px) {
    .blog-naslovna {
        width: 90vw;
        height: auto;
    }

    .blog-naslovna-novosti img {
        width: 90vw;
    }
}

.blog h2 {
    color: var(--color-blue-main);
    font-weight: bold;
    margin-top: 30px;
}

.blog .path {
    font-weight: bold;
}

.blog .path a {
    color: #555;
    transition: color ease 0.3s;
}

.blog .path i {
    font-weight: bold;
}

.blog .path a:hover {
    color: var(--color-light-blue);
}

.blog-pagination {
    margin: 2rem 0;
    text-align: center;
}

.blog-pagination ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 1rem;
}

.blog-pagination li {
    display: inline-block;
}

.blog-pagination li a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    color: #333;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.blog-pagination li a:hover {
    background-color: #eee;
}

.blog {
    overflow-x: hidden;
}

.blog .blog-clanak h1,
.blog .blog-clanak h2,
.blog .blog-clanak h3,
.blog .blog-clanak h4,
.blog .blog-clanak p {
    all: unset;
    display: block;
    margin: unset;
    padding: unset;
}

.news-dropdown {
    padding: 8px 12px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    color: #333;
    cursor: pointer;
}

.news-dropdown:hover {
    border-color: var(--color-light-blue);
    background-color: #eef4fc;
}

.kat-mob {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .mt-sm-only {
        margin-top: 10px !important;
    }

    .kat-mob {
        overflow-x: auto;
        white-space: nowrap;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .kat-mob::-webkit-scrollbar:horizontal {
        display: none;
    }
}

/* Tim */
.tim h1 {
    color: var(--color-blue-main);
    font-size: 2.5rem;
    font-weight: bold;
}

.tim h3 {
    color: #333;
    font-size: 1.5rem;
}

.tim h4 {
    color: #333;
    font-size: 1.2rem;
}

.tim-naslovna {
    width: 20vw;
    margin-top: 100px;
    justify-content: center;
}

@media (max-width: 768px) {
    .tim-naslovna {
        width: 90vw;
    }
}

.tim-grid h2 {
    color: var(--color-blue-main);
    font-size: 1.3rem;
    font-weight: bold;
}

.tim-grid h4 {
    color: #333;
    font-size: 1rem;
}

.tim-grid img {
    transition: transform 0.3s ease;
}

.tim-grid img:hover {
    transform: scale(0.9);
}

@media (max-width: 768px) {
    .btn-link {
        text-align: left;
        padding-left: 0;
        margin-left: 0;
    }
}


