@import url('fonts/nunitosans.css');

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;

}

*,
*::before,
*::after {
    box-sizing: inherit;

}

body {
    margin: 0;
    /* font-family: "Mozilla Text", Arial, Helvetica, sans-serif; */
    font-family: "Nunito Sans", sans-serif;
        font-optical-sizing: auto;
    color: #1b1b1b;
    background: #f6f2ec;
    line-height: 1.2rem;
    overflow-x: hidden !important;
}

img,
video {
    max-width: 100%;
    display: block;
}

.logosmall img {
    margin: auto;
    background-color: white;
}

.logosmall {
    overflow: hidden;
    width: 100px;
    height: fit-content;
    border-radius: 50%;
    background-color: white;
    /* box-shadow: 0 0 3px 3px white; */
    padding: auto;
    padding-top: 10px;
    padding-bottom: 10px;
}

.logosmall_footer {
    position: relative;
    top: -84px;
    overflow: hidden;
    width: 100px;
    height: fit-content;
    border-radius: 50%;
    background-color: white;
    /* box-shadow: 0 0 3px 3px white; */
    padding: 10px 15px 10px 18px;
    margin: auto;

    box-shadow: 0 8px 24px rgba(71, 61, 46, 0.5);

}

a {
    color: inherit;
    text-decoration: none;
}

button {
    /* font-family: "Mozilla Text", Arial, Helvetica, sans-serif; */
    font-family: "Nunito Sans", sans-serif;
        font-optical-sizing: auto;
    font-size: inherit;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    min-height: 76px;
    background: rgba(18, 18, 18, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.topbar {
    width: min(1800px, calc(100% - 40px));
    margin: 0 auto;
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(214, 165, 93, 0.95), rgba(132, 83, 37, 0.95));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.brand-text {
    font-size: 1rem;
    font-weight: 100;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link,
.services-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    color: #fff;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.services-button:hover,
.services-button:focus-visible {
    background: rgba(214, 165, 93, 0.16);
    border-color: rgba(214, 165, 93, 0.5);
    outline: none;
}

.nav-item {
    position: relative;
}

.dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 280px;
    padding: 10px;
    border-radius: 5px;
    background: rgba(22, 22, 22, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.34);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown,
.nav-item.is-open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    /* font-family: "Mozilla Text", Arial, Helvetica, sans-serif !important; */
    font-family: "Nunito Sans", sans-serif;
        font-optical-sizing: auto;
    padding: 11px 14px;
    color: #ffffff;
    border-radius: 3px;
    font-size: 0.9rem;
    font-weight: 200 !important;
    letter-spacing: 1.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dropdown a:last-child {
    border-bottom: 0;
}

.dropdown a:hover,
.dropdown a:focus-visible {
    background: rgba(214, 165, 93, 0.18);
    outline: none;
}

/* .hero-section {
    position: relative;
    min-height: 500px;
    height: 500px;
    width: 100%;
    margin-top: 76px;
    overflow: hidden;
    background: #191919;
    isolation: isolate;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover;
    z-index: -3;
    background: #191919;
} */

.hero-section {
    position: relative;
    height: 500px;
    min-height: 500px;
    width: 100%;
    margin-top: 76px;
    overflow: hidden;
    background: #191919;
    isolation: isolate;
}

.hero-video {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;

    width: 1920px !important;
    height: 500px !important;
    min-width: 1920px !important;
    min-height: 500px !important;

    transform: translate(-50%, -50%) !important;

    object-fit: cover !important;
    object-position: center center !important;

    z-index: -3;
    background: #191919;
}

.hero-darken {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.72));
    z-index: -2;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 12px 12px;
    opacity: 0.38;
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    width: min(1200px, calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 24px 0;
}

.hero-logo {
    width: 230px;
    height: 130px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background-color: white;
    /* background:
        radial-gradient(circle at 35% 28%, #f4d29c 0 18%, #d49b52 19% 48%, #6b3d1e 49% 100%);
    border: 4px solid rgba(255, 255, 255, 0.84); */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 2);
    margin-bottom: 20px;
    overflow: hidden;
    padding: 0;
}

.hero-title {
    margin: 0;
    font-size: clamp(34px, 4.5vw, 74px);
    line-height: 1.04;
    letter-spacing: 0.01em;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
    font-weight: 700;
}

.hero-lines {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
    font-weight: 400;
    letter-spacing: 0.12em;
    /* text-transform: uppercase; */
    font-size: clamp(15px, 1.3vw, 20px);
    color: white; /* #f4d29c; */
    text-shadow: 0 6px 20px rgba(0, 0, 0, 2);
}

.gallery-section {
    padding: clamp(54px, 5vw, 96px) 16px;
    background:
        radial-gradient(circle at top left, rgba(214, 165, 93, 0.23), transparent 34%),
        linear-gradient(180deg, #f6f2ec, #fffaf3);
}

.section-intro {
    width: min(1000px, 100%);
    margin: 0 auto 34px;
    text-align: center;
}

.section-intro h2 {
    margin: 0 0 10px;
    font-size: clamp(30px, 3vw, 54px);
    color: #151515;
    line-height: 1.08;
    font-weight: 700;
}

.section-intro p {
    margin: 0 auto;
    max-width: fit-content;
    color: #36312b;
    font-size: 1.2rem;
    font-weight: 300;
}

.gallery-grid {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(8, 120px);
    gap: 14px;
    justify-content: center;
}

.gallery-item {
    width: 120px;
    height: 120px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    background: #ddd;
    box-shadow: 0 12px 28px rgba(35, 27, 18, 0.16);
    transform: translateZ(0);
}

.gallery-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    transition: transform 170ms ease, filter 170ms ease;
    will-change: transform;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
    transform: scale(1.03);
    filter: saturate(1.08) contrast(1.05);
}

.gallery-item:focus-visible {
    outline: 3px solid #8d592e;
    outline-offset: 4px;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.88);
    padding: 24px;
}

.lightbox.is-active {
    display: flex;
}

.lightbox-panel {
    position: relative;
    width: min(100%, 980px);
    display: grid;
    justify-items: center;
    gap: 14px;
}

.lightbox-image-wrap {
    width: min(100%, 800px);
    aspect-ratio: 4 / 3;
    border-radius: 5px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.lightbox-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lightbox-caption {
    min-height: 28px;
    color: #fff;
    text-align: center;
    font-size: 1rem;
    font-weight: 100;
}

.lightbox-close,
.lightbox-arrow {
    position: absolute;
    border: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    cursor: pointer;
    transition: background 170ms ease, transform 170ms ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-arrow:hover,
.lightbox-arrow:focus-visible {
    background: rgba(214, 165, 93, 0.8);
    outline: none;
}

.lightbox-close {
    top: -54px;
    right: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
}

.lightbox-arrow {
    top: 50%;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    transform: translateY(-50%);
    font-size: 38px;
    line-height: 1;
}

.lightbox-prev {
    left: 0;
}

.lightbox-next {
    right: 0;
}

.site-footer {
    background: #121212;
    color: #f7f0e6;
    padding: 56px 0px 24px;
}

.footer-inner {
    width: 100%; /* min(1600px, 100%); */
    margin: auto;
    margin-top: 0;
    margin-bottom: 0;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 34px;
    text-align: left;
}

.footer-brand h2,
.footer-block h3 {
    margin-bottom: 10px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
}

.footer-brand p,
.footer-block p,
.footer-block li,
.footer-block a,
.footer-small {
    color: rgba(247, 240, 230, 0.6);

    font-weight: 100 !important;
    letter-spacing: 0.7px; 
    text-align: left !important;
    padding: auto;
    line-height: 1rem;
    font-size: 0.9rem;
}


.footer-brand p {
    max-width: 420px;
    margin: 0;
}

.mamba {
    line-height: 1.4rem;
    font-size: 0.9rem;
    font-weight: 100 !important;
    color: rgba(247, 240, 230, 0.6);

}

.footer-block ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
    text-align: left !important;
}

.footer-block a:hover,
.footer-block a:focus-visible {
    color: #f4d29c;
    outline: none;
}

.footer-contact {
    font-style: normal;
    width: fit-content;
    display: grid;
    gap: 8px;
    color: rgba(247, 240, 230, 0.78);
    padding: 0px !important;
    margin-top: 10px;
}

.footer-contact span a {

    display: inline-flex;
    color: rgba(247, 240, 230, 0.78);
    font-weight: 400 !important;
    width: 100% !important;
    white-space: nowrap !important;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}
.footer-contact .email-row,
.footer-contact .email-row * {
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
}

.footer-bottom {
    width: min(100vw, 100%);
    margin: auto;
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    width: 100% !important;
    text-align: center !important;
    padding: auto;
    font-size: 0.8rem;
    font-weight: 100;
    letter-spacing: 0.5px;
    color: rgba(247, 240, 230, 0.6);
    
    
    
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 5000;
    background: #fff;
    color: #111;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 600;
}

.skip-link:focus {
    top: 16px;
}

@media (min-width: 1921px) {

    .topbar,
    .hero-content,
    .footer-inner,
    .footer-bottom {
        width: min(72vw, 2400px);
    }

    .gallery-grid {
        grid-template-columns: repeat(8, 150px);
        gap: 18px;
    }

    .gallery-item,
    .gallery-item img {
        width: 150px;
        height: 150px;
    }

    .hero-section {
        height: 560px;
    }
}

@media (max-width: 1120px) {
    .gallery-grid {
        grid-template-columns: repeat(6, 120px);
    }

    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {
    .topbar {
        width: min(100%, calc(100% - 24px));
        gap: 12px;
    }

    .brand-text {
        font-size: 15px;
    }

    .main-nav {
        gap: 6px;
    }

    .nav-link,
    .services-button {
        padding: 9px 12px;
        font-size: 14px;
    }

    .dropdown {
        right: -8px;
        min-width: 250px;
    }

    .hero-section {
        min-height: 500px;
        height: 500px;
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 120px);
        gap: 12px;
    }

    .lightbox-arrow {
        width: 46px;
        height: 46px;
        font-size: 30px;
    }

    .lightbox-prev {
        left: 8px;
    }

    .lightbox-next {
        right: 8px;
    }
}

@media (max-width: 560px) {
    .site-header {
        min-height: 70px;
    }

    .topbar {
        min-height: 70px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
    }

    .brand-text {
        max-width: 122px;
        white-space: normal;
        line-height: 1.1;
    }

    .hero-section {
        margin-top: 70px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 120px);
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        display: grid;
    }

    .lightbox {
        padding: 16px;
    }

    .lightbox-close {
        top: -50px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-video {
        display: none;
    }
}
















.footer-inner>#footer-usluge {
    width: 220px !important;
    max-width: 220px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
}

#footer-usluge ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.site-footer {
    width: 100% !important;
}

.footer-inner {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: flex-start !important;

    width: max-content !important;
    max-width: 100% !important; /* calc(100% - 32px); */


    margin-top: -70px !important;
    margin-right: auto !important;
    margin-bottom: 0 !important;
    margin-left: auto !important;
    padding: 0 !important;
    gap: 26vw !important;
    padding-left: 6% !important;

}

.footer-inner>.footer-brand,
.footer-inner>#footer-usluge {
    width: 320px !important;
    max-width: 320px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
}

.footer-contact {
    width: 100% !important;
    max-width: 3000px !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;
        max-width: calc(100% - 32px) !important;

        margin-top: 0 !important;
        margin-right: auto !important;
        margin-bottom: 0 !important;
        margin-left: auto !important;

        gap: 38px !important;
        text-align: left !important;
    }

    .footer-inner>.footer-brand,
    .footer-inner>#footer-usluge {
        width: 100% !important;
        max-width: 220px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: left !important;
    }

    .footer-contact {
        width: 100% !important;
        max-width: 320px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    #footer-usluge ul {
        text-align: left !important;
    }
    h2 {
        line-height: 2rem;
    }
}

.video-gerovanje-keramike {
    position: fixed;
    left: 50%;
    top: 153px; /* -660px; */
    width: fit-content;
    max-width: 300px;
    height: 616px;
    background-color: #161515;
    color: white;
    z-index: 9999;
    border-radius: 5px;
    padding: 20px;
    font-size: 0.88rem;
    letter-spacing: 0.7px;
    font-weight: 100;
    margin-left: -420px;

}

.video-gerovanje-keramike p {
    margin-left: 12px;
}

.rounded {
    position: absolute;
    width: 260px;
    height: 462px;
    top: 137px;
    left: 20px;
    border-radius: 5px;

}

.logosmall_video {
    position: relative;
    top: -10px;
    overflow: hidden;
    width: 100px;
    height: fit-content;
    border-radius: 50%;
    background-color: white;
    /* box-shadow: 0 0 3px 3px white; */
    padding: 10px 15px 10px 18px;
    margin: auto;
    margin-bottom: -14px;
    box-shadow: 0 8px 24px rgba(71, 61, 46, 0.5);

}

#videoGerovanje {
    display: none;
}


@media (max-width: 840px) {
    .video-gerovanje-keramike {
        margin-left: -150px;   
    }
}