html, body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: "Lato", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #2f2b26;
    background-color: #ffffff;
    overflow-x: hidden;
}

body {
    padding-top: 72px; /* prostor za fiksirani navbar */
}

/* NAVBAR */

.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav-brand {       
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: -225px;
    padding-right: 200px;
}

.nav-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-title {
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #c76c6c;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 0.9rem;
}

.nav-link {
    text-decoration: none;
    color: #726c65;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background-color: #c76c6c;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-link:hover::after,
.nav-link.nav-link-active::after {
    transform: scaleX(1);
}

.nav-link.nav-link-active {
    color: #c76c6c;
}

.nav-lang .lang-picker {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-picker .flag {
    width: 28px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lang-picker .flag:hover {
    transform: scale(1.15);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

/* HERO SECTION */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    background-color: #f7f4f0;
}

/* svetla dijagonalna ploha preko videa na levoj trećini */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #f7f4f0;
    clip-path: polygon(0 0, 40% 0, 30% 100%, 0 100%);
    z-index: 1;
}

.hero-video {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(199, 108, 108, 0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    padding: 72px 7vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-right: 500px;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    color: #b0a79d;
    margin: 0 0 12px;
}

.hero-title {
    font-size: 2.7rem;
    line-height: 1.15;
    margin: 0 0 18px;
    max-width: 420px;
}

.hero-text {
    max-width: 460px;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #6e655e;
    margin: 0 0 26px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn-primary {
    background-color: #c76c6c;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(199, 108, 108, 0.45);
}

.hero-btn-primary:hover {
    background-color: #b35b5b;
}

.hero-btn-secondary {
    background-color: rgba(255, 255, 255, 0.9);
    color: #4c4741;
    border-color: rgba(0, 0, 0, 0.08);
}

.hero-btn-secondary:hover {
    background-color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* SECTIONS */

.container{
    width: 100%;
    background-color: #ffffff;
    padding: 72px 16px 96px;
    display: block;
    justify-content: center;    
}

.container .about-us-card{
    margin: 0 auto;
    margin-top: 70px;
    display: flex;
    flex-direction: row;
    gap: 40px;
    max-width: 1100px;
    background-color: #f7f4f0;
    border-radius: 18px;
    padding: 32px 40px;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    transition: 0.3s ease;
}
.container .about-us-card:hover{
    transform: scale(1.03);
}

.about-us-card .left-us{
    flex: 2;
    min-width: 0;
}

.about-us-card .right-us{
    flex: 1.2;
    display: flex;
    justify-content: center;
}

.about-us-card h2{
    font-size: 1.6rem;
    margin: 0 0 16px;
    color: #c76c6c;
}

.about-us-card p{
    margin: 0;
    line-height: 1.7;
    color: #5b534b;
}

.about-us-card img{
    width: 100%;
    max-width: 360px;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(199, 108, 108, 0.35);
}

.about-us-image-mobile{
    display: none;
    margin-top: 16px;
}

/* TEAM CARD */

.about-us-card-c{
    margin: 0 auto;
    margin-top: 70px;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.team-section-title{
    font-size: 1.6rem;
    margin: 0;
    text-align: left;
    color: #c76c6c;
    margin: 0 auto;
}

.team-cards{
    display: flex;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 0 auto;
}

.team-card{
    background-color: #f7f4f0;
    border-radius: 16px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 320px;
    transition:0.3s ease ;
}

.team-card:hover{
    transform: scale(1.03);
}
.team-card-image img{
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.team-card-body{
    padding: 16px 18px 10px;
}

.team-card-name{
    margin: 0 0 4px;
    font-size: 1rem;
    color: #111827;
}

.team-card-role{
    margin: 0 0 8px;
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
}

.team-card-text{
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #4b5563;
}

.team-card-footer{
    padding: 10px 18px 14px;
    border-top: 1px solid rgba(15, 23, 42, 0.04);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #4b5563;
}

.team-card-footer-icon{
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background-color: #eef2ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* LOCATION SECTION */

.location-section{
    width: 100%;
    background-color: #f7f4f0;
    color: #f9fafb;
    padding: 72px 16px 80px;
}

.location-inner{
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.location-text{
    flex: 1;
    max-width: 420px;
}

.location-text h2{
    font-size: 2.1rem;
    margin: 0 0 16px;
    color: #c76c6c;
}

.location-text p{
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #4b5563;
}

.location-map{
    flex: 1.2;
}

.location-map iframe{
    width: 100%;
    height: 320px;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.55);
}
footer{
    width: 100%;
    justify-content: center;
    padding: 20px 0;
    display: flex;
    justify-content: center;
}
footer .footer-inner{
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
footer .footer-brand .footer-logo{
    width: 80px;
    height: 40px;
    object-fit: contain;
}
footer .footer-brand{
    display: flex;
    align-items: center;
    gap: 10px;    
}

footer .footer-links{
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-icon{
    width: 35px;
    height: 35px;
    
}
/* RESPONSIVE */

@media (max-width: 768px) {

    body {
        padding-top: 64px;
    }

    /* NAVBAR */
    .navbar-inner {
        padding: 12px 16px;
        gap: 12px;
    }

    .nav-brand {
        margin-left: 0;
        padding-right: 0;
    }

    .nav-title {
        font-size: 0.8rem;
    }

    .nav-menu {
        display: none; /* za telefon – kasnije može hamburger */
    }

    /* HERO */
    .hero {
        min-height: auto;
        flex-direction: column;
        align-items: stretch;
    }

    .hero::before {
        display: none;
    }

    .hero-video {
        position: static;
        width: 100%;
        max-width: 100%;
        height: 500px;
    }

    .hero-video video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        box-shadow: 0 8px 20px rgba(199, 108, 108, 0.35);
    }

    .hero-content {
        width: fit-content;
        margin-right: 0;
        padding: 24px 16px 40px;
        align-items: flex-start;
    }

    .hero-title {
        font-size: 2rem;
        max-width: 100%;
    }

    .hero-text {
        max-width: 100%;
    }

    .container{
        width: fit-content;
    }
    /* ABOUT US */
    .about-us-card {    
        width: 65%;    
        margin: 0 auto;             
        padding: 24px 16px;
        gap: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .about-us-card .left-us{
        text-align: justify;
        width: 90%;
        flex: 0 0 100%;
    }

    .about-us-card .right-us{
        display: none;
    }

    .about-us-image-mobile{
        display: block;
    }

    .about-us-image-mobile img{
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
        margin-top: 12px;
        border-radius: 16px;
        
    }
   
    
    /* TEAM */
    .about-us-card-c{
        margin-top: 40px;
    }

    .team-section-title{
        text-align: center;
    }

    .team-cards {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .team-card {
        width: 100%;
        max-width: 360px;
        margin: 0 auto 20px;
        
    }

    /* LOCATION */
    .location-section{
        width: fit-content;
    }
    .location-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }

    .location-text {
        max-width: 100%;
    }

    .location-text h2 {
        font-size: 1.7rem;
    }

    .location-map {
        max-width: 100%;
    }

    .location-map iframe {
        display: block;
        width: 100%;
        max-width: 100%;
        height: 300px;
        box-shadow: none;
    }

    /* HERO 1/3 VISINE - podešeno kroz gornja pravila */
    .hero {
        min-height: auto;
    }

    /* FOOTER */
    footer .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 16px;
    }

    footer .footer-brand {
        flex-direction: column;
    }

    footer .footer-links {
        justify-content: center;
    }
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: #c76c6c;
    transition: 0.3s ease;
}

/* MOBILE MENU */
@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: flex;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        gap: 20px;

        max-height: 0;
        overflow: hidden;
        padding: 0;

        transition:
            max-height 0.35s ease,
            padding 0.25s ease;
    }

    .nav-menu.active {
        max-height: 400px;
        padding: 24px 0;
    }
}

@media (max-width: 768px) {

    /* sakrij zastavice u headeru */
    .nav-lang {
        display: none;
    }

    /* prikaži ih unutar menija */
    .nav-menu .nav-lang {
        display: block;
        margin-top: 16px;
    }

    .nav-menu .lang-picker {
        justify-content: center;
    }
}

