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

@font-face {
    font-family: 'BebasNeue';
    src: url('font/Bebas_Neue/BebasNeue-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'next_bravo';
    src: url('font/next_bravo/Next\ Bravo.otf') format('opentype');
}


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

section {
    height: 100vh;
}

/* ===== STATIČNI LOGO (za o-nama, countdown, shop) ===== */
.static-logo {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 100000;
    pointer-events: auto;
}

.static-logo a {
    font-family: 'BebasNeue', serif;
    font-size: 35pt;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    transition: color 0.2s ease;
}


/*=====================NAVIGACIJA=============================*/

/* ===== OSNOVA ===== */
.navigacija {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 10010;
}

.burger {
    display: none;
}

.nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 70px;
    display: flex;
    align-items: center;
    padding-right: 30px;
    gap: 0;
    background: transparent;
    transform: none !important;
    pointer-events: all !important;
    width: auto;
    border-left: none;
    padding-top: 0;
    padding-left: 0;
}

.burger {
    z-index: 10012;
}

.nav-panel {
    z-index: 10011;
}

.meni {
    display: flex;
    flex-direction: row;
    gap: 0;
    width: auto;
}

.meni a {
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;

    font-size: 13pt;
    display: inline-block;
    padding: 10px 14px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.meni a:last-child {
    border-bottom: 2px solid transparent;
}

.meni a:hover {
    border-bottom: 2px solid currentColor;
    padding-left: 14px;
    /* reset — bez slide efekta na desktopu */
}

/* ===== BURGER — sakriven na desktopu ===== */
.burger input {
    display: none;
}

.burger span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;

    border-radius: 9px;
    opacity: 1;
    left: 0;
    transition: background 0.1s ease, 0.25s ease-in-out;
}

.burger span:nth-of-type(1) {
    top: 0px;
    transform-origin: left center;
}

.burger span:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
    transform-origin: left center;
}

.burger span:nth-of-type(3) {
    top: 100%;
    transform-origin: left center;
    transform: translateY(-100%);
}

.burger input:checked~span:nth-of-type(1) {
    transform: rotate(45deg);
    top: 0px;
    left: 5px;
}

.burger input:checked~span:nth-of-type(2) {
    width: 0%;
    opacity: 0;
}

.burger input:checked~span:nth-of-type(3) {
    transform: rotate(-45deg);
    top: 28px;
    left: 5px;
}

/* Kad je panel otvoren — burger uvijek bijeli */
.navigacija:has(#prekidac:checked) .burger span {
    background: #ffffff !important;
}

/* Kad je panel otvoren — linkovi unutar panela uvijek bijeli */
.navigacija:has(#prekidac:checked) .meni a {
    color: #fefae0 !important;
}

/*============================INDEX HERO========================*/
.scroll-spacer {
    position: relative;
    height: 100vh;
    z-index: 0;
}

.hero-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url(slike/index/stolar-hero.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section-overlay {
    height: 100%;
    width: 100%;
    background-color: #00000091;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slogan {
    height: auto;
    width: 60%;
    z-index: 3;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 10003;
    pointer-events: none;
}


.zeleno {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #161902;

    animation: fadeOutGreen linear both;
    animation-timeline: scroll();
    animation-range: 0vh 95vh;
}

.hrast-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;

    height: 100vh;

    background-image: url(slike/index/hrast-rupa.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;

    animation: fadeAndScale linear both;
    animation-timeline: scroll();
    animation-range: 0vh 75vh;

    transform-origin: center center;

    display: flex;
    justify-content: center;
    align-items: center;
}

.izmedu-overlay {
    background-color: #00000062;
    height: 100%;
    width: 100%;
    z-index: 3;
    position: relative;

    animation: fadeOutGreen linear both;
    animation-timeline: scroll();
    animation-range: 0vh 95vh;
}

.naslov-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100pt;
    letter-spacing: 2px;
    z-index: 10000;

    animation: fadeUp 0.9s ease 0.5s forwards,
    uLijeviKut linear both;
    animation-timeline: scroll();
    animation-range: 0vh 75vh;
}

.naslov-logo a {
    text-decoration: none;
    color: white;
    cursor: pointer;
    font-family: 'BebasNeue', serif;
}

@keyframes uLijeviKut {
    0% {
        font-size: 100pt;
        transform: translate(-50%, -50%);
    }

    100% {
        font-size: 35pt;
        transform: translate(-48vw, -48vh);
    }
}


#tekst {
    position: relative;
    margin: 100vh auto 0;
    width: 100%;
    height: auto;

    padding: 4rem 2rem;
    background: #fefae0;
}

.tekst-p {
    margin: auto;
    width: 85%;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #333;
    padding-bottom: 10px;
    position: relative;
}

.tekst-p::after {
    content: "";
    position: absolute;
    top: -8px;
    left: 20%;
    transform: translateX(-67%);
    width: 30%;
    height: 4px;
    background-color: rgb(11, 59, 6);
}

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

    60% {
        opacity: 0.5;
        transform: translate(-50%, -100%) scale(2);
    }

    80% {
        opacity: 0.2;
        transform: translate(-50%, -130%) scale(3);
    }

    98% {
        opacity: 0;
        transform: translate(-50%, -350%) scale(10);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -380%) scale(20);
    }
}

@keyframes fadeOutGreen {
    0% {
        opacity: 1;
    }

    75% {
        opacity: 1;
    }

    90% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}


#infinity-loop {
    left: 0;
    bottom: 0;
    height: 80px;
    position: absolute;
    width: 100vw;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.infinity {
    display: flex;
    width: max-content;
    will-change: transform;
}

.infinity-tekst {
    font-size: 25px;
    color: #fefae0;
    white-space: nowrap;
    text-transform: uppercase;
    font-family: 'Museo';
    font-weight: 300;
    padding-right: 1px;
    flex-shrink: 0;
}

.kraci{
    height: auto;
}
/* ===================== INDEX COUNTDOWN ===================== */

#index-countdown {
    background-color: #fefae0;
    height: auto;
    padding: clamp(50px, 7vw, 90px) clamp(24px, 8vw, 140px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#index-countdown::before {
    content: 'DROP';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'BebasNeue', sans-serif;
    font-size: clamp(60pt, 15vw, 140pt);
    color: rgba(26, 46, 22, 0.04);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    line-height: 1;
}

.index-countdown-tag {
    font-family: 'BebasNeue', sans-serif;
    font-size: clamp(7pt, 1vw, 10pt);
    letter-spacing: 7px;
    color: #b8a898;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.index-countdown-naslov {
    font-family: 'next_bravo', serif;
    font-size: clamp(22pt, 4vw, 48pt);
    color: #1a2e16;
    line-height: 1;
    margin-bottom: 8px;
}

.index-countdown-podnaslov {
    font-family: 'BebasNeue', sans-serif;
    font-size: clamp(9pt, 1.1vw, 12pt);
    letter-spacing: 6px;
    background-color: #1a2e16;
    color: #fefae0;
    padding: 3px 14px;
    display: inline-block;
    margin-bottom: 20px;
}

.index-countdown-timer {
    display: flex;
    gap: clamp(16px, 3vw, 40px);
    margin-bottom: 16px;
    align-items: center;
}

.index-time-box {
    text-align: center;
    position: relative;
}

.index-time-box span {
    font-family: 'BebasNeue', sans-serif;
    font-size: clamp(28px, 5vw, 56px);
    color: #1a2e16;
    display: block;
    line-height: 1;
}

.index-time-box p {
    font-family: 'BebasNeue', sans-serif;
    letter-spacing: 3px;
    font-size: clamp(6pt, 0.8vw, 8pt);
    color: #b8a898;
    margin-top: 4px;
}

.index-time-box:not(:last-child)::after {
    content: ":";
    position: absolute;
    right: clamp(-12px, -2vw, -24px);
    top: 28%;
    transform: translateY(-50%);
    font-family: 'BebasNeue', sans-serif;
    font-size: clamp(22px, 4vw, 44px);
    color: rgba(26, 46, 22, 0.2);
}

.index-countdown-opis {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(9pt, 1vw, 10.5pt);
    line-height: 1.6;
    color: #888;
    max-width: 380px;
    margin: 0;
}

/* responsive */

/*======================INDEX PROCES TIMELINE============================*/
#proces {
    height: auto;
    width: 100%;
    position: relative;
    z-index: 10;
    padding: 80px 20px 100px;

    background-color: #1a2e16;
}

.zaglavlje {
    text-align: center;
    padding: 0 0 60px;
    position: relative;
}

.zaglavlje::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, #fefae0);
}

.naslov-zaglavlje {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: #fefae0;
    letter-spacing: 0.02em;
    position: relative;
    display: inline-block;
}

.naslov-zaglavlje::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #fefae0;
    opacity: 0.5;
}

.podnaslov-zaglavlje {
    margin-top: 28px;
    color: #b8a898;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ===== LENTA ===== */
.lenta-vremena {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0 60px;
}

.lenta-vremena::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom,
            transparent,
            rgba(254, 250, 224, 0.5) 5%,
            rgba(254, 250, 224, 0.5) 95%,
            transparent);
    transform: translateX(-50%);
    z-index: 1;
}

/* ===== STAVKA ===== */
.stavka-timeline {
    position: relative;
    width: 100%;
    margin-bottom: 80px;
    clear: both;
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.stavka-timeline:nth-child(odd) {
    transform: translateX(-30px);
}

.stavka-timeline:nth-child(even) {
    transform: translateX(30px);
}

.stavka-timeline.vidljivo {
    opacity: 1;
    transform: translateX(0);
}

.stavka-timeline::after {
    content: '';
    display: table;
    clear: both;
}

/* ===== MARKER ===== */
.marker-timeline {
    position: absolute;
    left: 50%;
    top: 30px;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: #fefae0;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 0 4px rgba(254, 250, 224, 0.15), 0 0 20px rgba(254, 250, 224, 0.25);
}

.marker-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(254, 250, 224, 0.25);
    animation: puls-marker 2.5s infinite;
}

@keyframes puls-marker {

    0%,
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.9);
    }
}

/* ===== KONEKTOR ===== */
.konektor-timeline {
    position: absolute;
    top: 36px;
    height: 1px;
    background: rgba(254, 250, 224, 0.18);
    z-index: 4;
}

.stavka-timeline:nth-child(odd) .konektor-timeline {
    left: 44%;
    right: 50%;
}

.stavka-timeline:nth-child(even) .konektor-timeline {
    left: 50%;
    right: 44%;
}

/* ===== KARTICA ===== */
.kartica-timeline {
    width: 44%;
    background: transparent;
    border: none;
    position: relative;
    z-index: 5;
    text-align: center;
}

.stavka-timeline:nth-child(odd) .kartica-timeline {
    float: left;
}

.stavka-timeline:nth-child(even) .kartica-timeline {
    float: right;
}

/* ===== SLIKA ===== */
.slika-timeline {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* ===== TEKST KARTICA ===== */
.tekst-timeline {
    padding: 14px 10px 0;
}

.h2-timeline {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fefae0;
    letter-spacing: 0.02em;
    margin-bottom: 4px;
    line-height: 1.3;
}

.opis-timeline {
    font-size: 0.8rem;
    color: #b8a898;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ===================== KONTAKT OBRAZAC ===================== */

#kontakt-obrazac {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background-color: #fefae0;
}

.kartica {
    position: relative;
    max-width: 460px;
    width: 100%;
    padding: 48px 44px;
    background: #1a2e16;
    border-radius: 16px;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.15),
        0 16px 40px rgba(0, 0, 0, 0.25),
        0 40px 80px rgba(0, 0, 0, 0.2);
    animation: pojava 1.2s ease-out both;
}

@keyframes pojava {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }

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

.brand {
    text-align: center;
    margin-bottom: 6px;
}

.brand-naziv {
    font-family: 'Museo';
    font-weight: 300;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fefae0;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.brand-podnaslov {
    font-size: 0.72rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #b8a898;
    margin-top: 4px;
}

.razdjelnik {
    width: 48px;
    height: 2px;
    background: #fefae0;
    margin: 18px auto 30px;
    border-radius: 2px;
}

.naslov-obrasca {
    font-family: 'Museo';
    font-weight: 300;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fefae0;
    text-align: center;
    margin-bottom: 28px;
    letter-spacing: 1px;
}

.skupina-polja {
    position: relative;
    margin-bottom: 28px;
}

.skupina-polja input,
.skupina-polja textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 0.97rem;
    font-family: 'Lato', sans-serif;
    color: #fefae0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(254, 250, 224, 0.25);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    resize: none;
}

.skupina-polja textarea {
    height: 120px;
    padding-top: 18px;
}

.skupina-polja input:focus,
.skupina-polja textarea:focus {
    border-color: rgba(254, 250, 224, 0.8);
    box-shadow: 0 0 0 4px rgba(254, 250, 224, 0.07);
    background: rgba(255, 255, 255, 0.1);
}

.skupina-polja label {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: #b8a898;
    pointer-events: none;
    transition: all 0.25s ease;
    background: transparent;
    padding: 0 4px;
}

.skupina-polja.polje-poruke label {
    top: 18px;
    transform: none;
}

.skupina-polja input:focus~label,
.skupina-polja input:valid~label,
.skupina-polja textarea:focus~label,
.skupina-polja textarea:valid~label {
    top: -10px;
    transform: none;
    font-size: 0.72rem;
    font-weight: 600;
    color: #fefae0;
    background: #1a2e16;
    padding: 0 6px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.skupina-polja input::placeholder,
.skupina-polja textarea::placeholder {
    color: transparent;
    transition: color 0.2s;
}

.skupina-polja input:focus::placeholder,
.skupina-polja textarea:focus::placeholder {
    color: rgba(184, 168, 152, 0.5);
}

.omot-gumba {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.gumb {
    display: inline-block;
    padding: 13px 38px;
    border: 1.5px solid rgba(254, 250, 224, 0.5);
    border-radius: 6px;
    transition: all 0.2s ease-in;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    color: #fefae0;
    background: transparent;
    z-index: 1;
}

.gumb:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleY(1) scaleX(1.25);
    top: 100%;
    width: 140%;
    height: 180%;
    background-color: rgba(254, 250, 224, 0.05);
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
}

.gumb:after {
    content: "";
    position: absolute;
    left: 55%;
    transform: translateX(-50%) scaleY(1) scaleX(1.45);
    top: 180%;
    width: 160%;
    height: 190%;
    background-color: #fefae0;
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
}

.gumb:hover {
    color: #1a2e16;
    border-color: #fefae0;
}

.gumb:hover:before {
    top: -35%;
    background-color: #fefae0;
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.gumb:hover:after {
    top: -45%;
    background-color: #fefae0;
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

/****==============================O NAMA======================================================================================*/
.o-nama-page section {
    height: auto;
}

.o-nama-page .navigacija {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 10010;
}

/* ===== HERO ===== */
#onama-hero {
    min-height: 100vh;
    background-color: #1a2e16;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 70px 24px 60px;
    text-align: center;
}

/* VIDEO */
.hero-video-omot {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(26, 46, 22, 0.6) 0%,
            rgba(26, 46, 22, 0.4) 50%,
            rgba(26, 46, 22, 0.75) 100%);
}

/* SADRŽAJ */
.hero-onama-sadrzaj {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-label-onama {
    font-family: 'BebasNeue', sans-serif;
    font-size: clamp(8pt, 1.8vw, 11pt);
    letter-spacing: 8px;
    color: #b8a898;
    text-transform: uppercase;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-h1-onama {
    font-family: 'next_bravo', serif;
    font-size: clamp(40pt, 10vw, 110pt);
    color: #fefae0;
    line-height: 0.95;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.9s ease 0.5s forwards;
}

.hero-linija-onama {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(254, 250, 224, 0.5), transparent);
    margin-top: 40px;
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeIn 1s ease 1s forwards;
}

.hero-tagline-onama {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(10pt, 1.3vw, 13pt);
    color: rgba(254, 250, 224, 0.65);
    letter-spacing: 3px;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.9s ease 0.9s forwards;
}

/* SCROLL INDIKATOR */
.scroll-indikator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10009;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
}

.scroll-indikator-tekst {
    font-family: 'BebasNeue', sans-serif;
    font-size: 7.5pt;
    letter-spacing: 5px;
    color: rgba(254, 250, 224, 0.7);
    text-transform: uppercase;
}

.scroll-indikator-strelica {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.scroll-indikator-strelica span {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 1.5px solid rgba(254, 250, 224, 0.6);
    border-bottom: 1.5px solid rgba(254, 250, 224, 0.6);
    transform: rotate(45deg);
    animation: bounceDown 1.8s ease infinite;
}

.scroll-indikator-strelica span:nth-child(2) {
    animation-delay: 0.1s;
    opacity: 0.5;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: rotate(45deg) translateY(0);
        opacity: 1;
    }

    50% {
        transform: rotate(45deg) translateY(5px);
        opacity: 0.4;
    }
}

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}



/* ===== O NAMA SEKCIJA ===== */
.sec-pad {
    padding: clamp(60px, 9vw, 110px) clamp(24px, 8vw, 140px);
}

/* ===== INTRO ===== */
#onama-intro {
    background-color: #fefae0;
    position: relative;
    overflow: hidden;
}

#onama-intro::before {
    content: 'O NAMA';
    position: absolute;
    top: 40px;
    left: clamp(24px, 8vw, 140px);
    font-family: 'BebasNeue', sans-serif;
    font-size: clamp(50pt, 12vw, 150pt);
    color: rgba(26, 46, 22, 0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    z-index: 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 6vw, 80px);
    align-items: start;
    position: relative;
    z-index: 1;
}

.onama-intro-tag {
    font-family: 'BebasNeue', sans-serif;
    font-size: 9pt;
    letter-spacing: 8px;
    color: #b8a898;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: block;
}

.onama-intro-naslov {
    font-family: 'next_bravo', serif;
    font-size: clamp(22pt, 4vw, 46pt);
    color: #1a2e16;
    line-height: 1.1;
}

.onama-intro-naslov::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: rgb(11, 59, 6);
    margin-top: 20px;
}

.onama-intro-tekst p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(10pt, 1.1vw, 11.5pt);
    line-height: 1.85;
    color: #444;
    margin-bottom: 18px;
}

.onama-intro-tekst p:last-child {
    margin-bottom: 0;
}

/* ===== SEKCIJE naizmjenično ===== */
.onama-sekcija {
    position: relative;
    overflow: hidden;
}

.onama-sekcija.tamna {
    background-color: #1a2e16;
}

.onama-sekcija.svijetla {
    background-color: #fefae0;
}

.sek-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 6vw, 80px);
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.sek-grid.obrnuta {
    direction: rtl;
}

.sek-grid.obrnuta>* {
    direction: ltr;
}

.onama-sekcija-broj {
    font-family: 'BebasNeue', sans-serif;
    font-size: clamp(70pt, 14vw, 180pt);
    line-height: 0.8;
    position: absolute;
    right: 0;
    top: -10px;
    pointer-events: none;
    user-select: none;
}

.tamna .onama-sekcija-broj {
    color: rgba(254, 250, 224, 0.04);
}

.svijetla .onama-sekcija-broj {
    color: rgba(26, 46, 22, 0.04);
}

.onama-sekcija-tag {
    font-family: 'BebasNeue', sans-serif;
    font-size: 9pt;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: block;
}

.tamna .onama-sekcija-tag {
    color: #b8a898;
}

.svijetla .onama-sekcija-tag {
    color: #b8a898;
}

.onama-sekcija-h2 {
    font-family: 'next_bravo', serif;
    font-size: clamp(20pt, 3.5vw, 42pt);
    line-height: 1.05;
    margin-bottom: 18px;
}

.tamna .onama-sekcija-h2 {
    color: #fefae0;
}

.svijetla .onama-sekcija-h2 {
    color: #1a2e16;
}

.onama-sekcija-linija {
    width: 50px;
    height: 3px;
    margin-bottom: 22px;
}

.tamna .onama-sekcija-linija {
    background: rgba(254, 250, 224, 0.35);
}

.svijetla .onama-sekcija-linija {
    background: rgb(11, 59, 6);
}

.onama-sekcija-p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(10pt, 1.1vw, 11.5pt);
    line-height: 1.85;
}

.tamna .onama-sekcija-p {
    color: #b8a898;
}

.svijetla .onama-sekcija-p {
    color: #444;
}

.onama-sekcija-p p {
    margin-bottom: 14px;
}

.onama-sekcija-p p:last-child {
    margin-bottom: 0;
}

.onama-slika-placeholder {
    width: 100%;
    aspect-ratio: unset;
    height: 100%;
    min-height: 300px;
    max-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tamna .onama-slika-placeholder {
    background: rgba(254, 250, 224, 0.06);
    border: 1px solid rgba(254, 250, 224, 0.1);
}

.svijetla .onama-slika-placeholder {
    background: rgba(26, 46, 22, 0.08);
}

.onama-slika-placeholder span {
    font-family: 'BebasNeue', sans-serif;
    font-size: 8pt;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.tamna .onama-slika-placeholder span {
    color: rgba(254, 250, 224, 0.2);
}

.svijetla .onama-slika-placeholder span {
    color: rgba(26, 46, 22, 0.2);
}

.onama-slika-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.onama-slika-placeholder:hover img {
    transform: scale(1.04);
}

/* ===== TIM ===== */
#onama-tim {
    background-color: #1a2e16;
    position: relative;
    overflow: hidden;
}

#onama-tim::before {
    content: 'TIM';
    position: absolute;
    top: 20px;
    right: -10px;
    font-family: 'BebasNeue', sans-serif;
    font-size: clamp(80pt, 20vw, 240pt);
    color: rgba(254, 250, 224, 0.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.tim-zaglavlje {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: clamp(36px, 5vw, 64px);
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.tim-podnaslov {
    font-family: 'BebasNeue', sans-serif;
    font-size: 9pt;
    letter-spacing: 7px;
    color: #b8a898;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.tim-naslov {
    font-family: 'next_bravo', serif;
    font-size: clamp(26pt, 5vw, 56pt);
    color: #fefae0;
    line-height: 1;
}

.tim-uvodni-tekst {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(10pt, 1.1vw, 11pt);
    line-height: 1.8;
    color: #b8a898;
    max-width: 400px;
}

.tim-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(14px, 2.5vw, 28px);
    position: relative;
    z-index: 1;
}

.tim-kartica {
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.tim-kartica.vidljivo {
    opacity: 1;
    transform: translateY(0);
}

.tim-slika-omot {
    width: 100%;
    aspect-ratio: 3/4;
    position: relative;
    overflow: hidden;
    background: rgba(254, 250, 224, 0.05);
    box-shadow: 6px 6px 0px 0px rgb(11, 59, 6);
}

.tim-slika-omot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.4s ease;
}

.tim-kartica:hover .tim-slika-omot img {
    transform: scale(1.05);
    filter: brightness(0.85);
}

.tim-slika-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tim-slika-placeholder span {
    font-family: 'BebasNeue', sans-serif;
    font-size: 8pt;
    letter-spacing: 4px;
    color: rgba(254, 250, 224, 0.2);
    text-transform: uppercase;
}

.tim-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 46, 22, 0);
    transition: background 0.3s ease;
}

.tim-kartica:hover .tim-overlay {
    background: rgba(26, 46, 22, 0.3);
}

.tim-ime {
    font-family: 'BebasNeue', sans-serif;
    font-size: clamp(11pt, 1.4vw, 15pt);
    letter-spacing: 3px;
    color: #fefae0;
    margin-top: 14px;
    text-transform: uppercase;
}

.tim-uloga {
    font-family: 'BebasNeue', sans-serif;
    font-size: 8.5pt;
    letter-spacing: 3px;
    color: #b8a898;
    margin-top: 4px;
    text-transform: uppercase;
}


/* ===== SCROLL ANIMACIJE ===== */
.scroll-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-fade.vidljivo {
    opacity: 1;
    transform: translateY(0);
}

.scroll-fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-fade-left.vidljivo {
    opacity: 1;
    transform: translateX(0);
}

.scroll-fade-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-fade-right.vidljivo {
    opacity: 1;
    transform: translateX(0);
}

/*****PRIJASNI DROP******/
#prijasnji-drop {
    width: 100%;
    height: auto;
    background-color: #1a2e16;
    padding: 70px 50px 80px;
}

.h2-prijasni {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 40pt;
    color: #fefae0;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 50px;
    white-space: nowrap;
}

.galerija {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.slika-stola {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    background: #1a2e16;
}

.link-stol {
    text-decoration: none;
    color: inherit;
    display: block;
}

.slika-stola img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.stol-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55%;
    background-color: #fefae0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 2;
}

.slika-stola:hover .stol-overlay {
    transform: translateY(0);
}

.slika-stola:hover img {
    transform: scale(1.06);
}

.slika-stola-ime {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 17pt;
    color: rgb(11, 59, 6);
    letter-spacing: 5px;
}


/*===========================SHOP STRANICA=================================*/
.shop-page {
    background-color: #fefae0;
}

/* ===================== SHOP HERO ===================== */

#shop-hero {
    height: 50vh;
    min-height: 320px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.shop-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.shop-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.04);
    transition: transform 8s ease;
}

#shop-hero:hover .shop-hero-bg img {
    transform: scale(1);
}

.shop-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(26, 46, 22, 0.55) 0%,
            rgba(26, 46, 22, 0.35) 40%,
            rgba(26, 46, 22, 0.7) 100%);
}

.shop-hero-sadrzaj {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 70px 24px 0;
    gap: 8px;
}

.shop-hero-label {
    font-family: 'BebasNeue', sans-serif;
    font-size: clamp(7pt, 0.9vw, 10pt);
    letter-spacing: 8px;
    color: rgba(254, 250, 224, 0.6);
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.7s ease 0.2s forwards;
}

.shop-hero-h1 {
    font-family: 'next_bravo', serif;
    font-size: clamp(26pt, 5vw, 58pt);
    color: #fefae0;
    line-height: 0.95;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease 0.4s forwards;
}

.shop-hero-info {
    display: flex;
    flex-direction: row;
    gap: clamp(16px, 3vw, 36px);
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.8s ease 0.9s forwards;
    margin-top: 16px;
}

.shop-hero-info-red {
    display: flex;
    align-items: center;
    gap: 0;
}

.shop-hero-info-tekst {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(7.5pt, 0.8vw, 9pt);
    color: rgba(254, 250, 224, 0.55);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.shop-hero-scroll {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeIn 1s ease 1.2s forwards;
}

.shop-hero-scroll-linija {
    width: 28px;
    height: 1px;
    background: rgba(254, 250, 224, 0.25);
}

.shop-hero-scroll-tekst {
    font-family: 'BebasNeue', sans-serif;
    font-size: 6.5pt;
    letter-spacing: 4px;
    color: rgba(254, 250, 224, 0.35);
    text-transform: uppercase;
}


/* =====================SHOP LIGHTBOX ===================== */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(26, 46, 22, 0.95);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.aktivan {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    display: block;
}

.lightbox-zatvori {
    position: absolute;
    top: 24px;
    right: 32px;
    font-family: 'BebasNeue', sans-serif;
    font-size: 14pt;
    letter-spacing: 4px;
    color: #fefae0;
    background: none;
    border: 1px solid rgba(254, 250, 224, 0.3);
    cursor: pointer;
    padding: 8px 16px;
    transition: border-color 0.2s;
}

.lightbox-zatvori:hover {
    border-color: #fefae0;
}

/* ===================== SHOP SEKCIJE ===================== */

.shop-sekcija {
    width: 100%;
    min-height: 70vh;
    display: flex;
    align-items: stretch;
    flex-direction: row;
    background-color: #fefae0;
    overflow: hidden;
}

.shop-razdjelnik {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(26, 46, 22, 0.15), transparent);
}

/* ===================== GALERIJA ===================== */

.shop-galerija {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-color: #1a2e16;
}

.shop-galerija-unutra {
    width: 100%;
    height: 100%;
    max-height: 420px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
}

.shop-slika {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #0d1a0b;
}

.shop-slika:first-child {
    grid-row: 1 / 3;
}

.shop-slika img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.4s ease;
}

.shop-slika:hover img {
    transform: scale(1.05);
    filter: brightness(0.75);
}

.shop-slika-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.shop-slika:hover .shop-slika-overlay {
    opacity: 1;
}

.shop-slika-zoom {
    font-family: 'BebasNeue', sans-serif;
    font-size: 11pt;
    letter-spacing: 4px;
    color: #fefae0;
    border: 1px solid rgba(254, 250, 224, 0.6);
    padding: 8px 20px;
}

/* ===================== INFO DESNO ===================== */

.shop-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(30px, 5vw, 80px) clamp(24px, 5vw, 70px);
    position: relative;
}

.shop-broj {
    font-family: 'BebasNeue', sans-serif;
    font-size: clamp(60pt, 10vw, 110pt);
    color: rgba(26, 46, 22, 0.07);
    line-height: 0.85;
    position: absolute;
    top: clamp(10px, 3vw, 30px);
    right: clamp(20px, 4vw, 50px);
    pointer-events: none;
    user-select: none;
}

.shop-tag {
    font-family: 'BebasNeue', sans-serif;
    font-size: 10pt;
    letter-spacing: 6px;
    color: #b8a898;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.shop-h2 {
    font-family: 'next_bravo', serif;
    font-size: clamp(26pt, 4vw, 46pt);
    color: #1a2e16;
    line-height: 1.05;
    margin-bottom: 10px;
}

.shop-linija {
    width: 50px;
    height: 3px;
    background-color: rgb(11, 59, 6);
    margin-bottom: 22px;
}

.shop-p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(9.5pt, 1.1vw, 11pt);
    line-height: 1.75;
    color: #333;
    max-width: 420px;
    margin-bottom: 28px;
}

.shop-detalji {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.shop-detalj {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.shop-detalj-naziv {
    font-family: 'BebasNeue', sans-serif;
    font-size: 8.5pt;
    letter-spacing: 3px;
    color: #b8a898;
    text-transform: uppercase;
}

.shop-detalj-vrijednost {
    font-family: 'BebasNeue', sans-serif;
    font-size: 13pt;
    letter-spacing: 1px;
    color: #1a2e16;
}

.shop-cijena-red {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}

.shop-cijena {
    font-family: 'BebasNeue', sans-serif;
    font-size: clamp(22pt, 3vw, 30pt);
    color: #1a2e16;
    letter-spacing: 2px;
}

.shop-kom {
    font-family: 'BebasNeue', sans-serif;
    font-size: 12pt;
    letter-spacing: 4px;
    color: #1a2e16;
    background: transparent;
    padding: 8px 18px;
    border-radius: 0;
    border: 2px solid #1a2e16;
    text-transform: uppercase;
    display: inline-block;
}

.shop-gumbi {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===================== GUMB — BUBBLE ANIMACIJA ===================== */

.shop-gumb {
    display: inline-flex;
    align-items: center;
    font-family: 'BebasNeue', sans-serif;
    font-size: 13pt;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #fefae0;
    background-color: #1a2e16;
    border: 2px solid #1a2e16;
    padding: 14px 36px;
    cursor: pointer;
    text-decoration: none;
    align-self: flex-start;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease;
}

.shop-gumb::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleY(1) scaleX(1.25);
    top: 100%;
    width: 140%;
    height: 180%;
    background-color: rgba(254, 250, 224, 0.05);
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
}

.shop-gumb::after {
    content: "";
    position: absolute;
    left: 55%;
    transform: translateX(-50%) scaleY(1) scaleX(1.45);
    top: 180%;
    width: 160%;
    height: 190%;
    background-color: #fefae0;
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
}

.shop-gumb:hover {
    color: #1a2e16;
    border-color: #1a2e16;
}

.shop-gumb:hover::before {
    top: -35%;
    background-color: #fefae0;
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}

.shop-gumb:hover::after {
    top: -45%;
    background-color: #fefae0;
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
}


/* ===================== FOOTER ===================== */
footer {
    position: absolute;
    z-index: 20;
    height: auto;
    width: 100%;
    text-align: center;
    padding: 40px 20px;
    background-color: #1a2e16;
}

.footer-tekst {
    font-family: 'BebasNeue', sans-serif;
    font-size: 10pt;
    letter-spacing: 5px;
    color: #b8a898;
}

/* ===== RESPONSIVNO ===== */
/* Laptop / Desktop */
@media (max-width: 1200px) {
    .hrast-img {
        width: 120vw;
    }

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

        60% {
            opacity: 0.5;
            transform: translate(-50%, -80%) scale(2);
        }

        80% {
            opacity: 0.2;
            transform: translate(-50%, -100%) scale(3);
        }

        98% {
            opacity: 0;
            transform: translate(-50%, -250%) scale(10);
        }

        100% {
            opacity: 0;
            transform: translate(-50%, -280%) scale(20);
        }
    }

    .hero-tagline-onama {
        font-size: 12pt;
    }
}

/* ===== TABLET (do 900px) ===== */
@media (max-width: 900px) {

    /* INDEX */

    .slogan {
        height: auto;
        width: 90%;
        z-index: 3;
    }

    /* ANIMACIJA */
    .hrast-img {
        width: 140vw;
    }


    /* TIMELINE */

    .lenta-vremena::before {
        left: 32px;
    }

    .marker-timeline {
        left: 32px;
        transform: none;
        top: 20px;
    }

    .kartica-timeline {
        width: calc(100% - 80px);
        float: none !important;
        margin-left: 68px;
    }

    .konektor-timeline {
        display: none;
    }

    .stavka-timeline:nth-child(odd),
    .stavka-timeline:nth-child(even) {
        transform: translateY(20px);
    }

    .stavka-timeline.vidljivo {
        transform: translateY(0);
    }

    #prijasnji-drop {
        padding: 60px 30px;
    }

    .h2-prijasni {
        justify-content: center;
        text-align: center;
        white-space: normal;
    }

    /* GALERIJA */

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

    /* SHOP */

    .shop-sekcija,
    .shop-sekcija:nth-child(even) {
        flex-direction: column;
        min-height: auto;
        height: auto;
    }

    .shop-galerija {
        flex: none;
        max-width: 100%;
        width: 100%;
        height: 55vw;
        min-height: 260px;
        max-height: 420px;
    }

    .shop-info {
        padding: 36px 32px 44px;
        justify-content: flex-start;
        overflow: visible;
    }

    .shop-broj {
        font-size: 70pt;
        top: 10px;
        right: 20px;
    }

    .shop-p {
        max-width: 100%;
    }

    /* O NAMA */

    .intro-grid,
    .sek-grid,
    .sek-grid.obrnuta {
        grid-template-columns: 1fr;
        gap: clamp(24px, 4vw, 40px);
        direction: ltr;
    }

    .onama-intro-naslov {
        position: static;
    }

    .tim-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .tim-uvodni-tekst {
        max-width: 100%;
    }

    .tim-zaglavlje {
        flex-direction: column;
        align-items: flex-start;
    }

    .onama-sekcija-broj {
        font-size: clamp(50pt, 14vw, 90pt);
    }

    /* HERO */

    .hero-tagline-onama {
        font-size: 11pt;
        letter-spacing: 2px;
    }

    .hero-linija-onama {
        height: 44px;
        margin-top: 28px;
    }

    .scroll-indikator {
        bottom: 28px;
    }

    /* NAVIGACIJA */

    .burger {
        position: fixed;
        top: 20px;
        right: 30px;
        width: 40px;
        height: 30px;
        background: transparent;
        cursor: pointer;
        display: block;
        z-index: 10002;
    }

    .nav-panel {
        position: fixed;
        top: 0;
        right: 0;
        width: 45%;
        height: 100vh;
        background-color: #1a2e16;
        z-index: 10001;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 100px;
        padding-left: 36px;
        border-left: 1px solid rgba(254, 250, 224, 0.08);
        transform: translateX(100%) !important;
        transition: transform .45s cubic-bezier(.77, 0, .18, 1);
        pointer-events: none !important;
    }

    .navigacija:has(#prekidac:checked) .nav-panel {
        transform: translateX(0) !important;
        pointer-events: all !important;
    }

    .meni {
        display: flex;
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .meni a {
        color: #fefae0;
        font-size: 16pt;
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid rgba(254, 250, 224, .1);
        width: calc(100% - 36px);
        transition: color .2s ease, padding-left .25s ease, border-color .2s ease;
        letter-spacing: 1px;
    }

    .meni a:last-child {
        border-bottom: none;
    }

    .meni a:hover {
        color: #fff;
        padding-left: 14px;
        border-bottom-color: rgba(254, 250, 224, .35);
    }

}


/* ===== VELIKI MOBITEL / MALI TABLET (do 768px) ===== */
@media (max-width: 768px) {

    .static-logo a{
        font-size: 30pt;
    }
    /* ANIMACIJE */

    @keyframes uLijeviKut {
        0% {
            font-size: 50pt;
            transform: translate(-50%, -50%);
        }

        100% {
            font-size: 20pt;
            transform: translate(-47vw, -45vh);
        }
    }

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

        60% {
            opacity: 0.5;
            transform: translate(-50%, -70%) scale(2);
        }

        80% {
            opacity: 0.2;
            transform: translate(-50%, -90%) scale(3);
        }

        98% {
            opacity: 0;
            transform: translate(-50%, -220%) scale(10);
        }

        100% {
            opacity: 0;
            transform: translate(-50%, -250%) scale(20);
        }
    }

    /* INDEX */

    .hrast-img {
        width: 100vw;
    }

    label {
        display: block;
        cursor: pointer;
        color: #ffffff;
    }

    #prijasnji-drop {
        padding: 50px 20px;
    }

    .h2-prijasni {
        font-size: 28pt;
        justify-content: center;
        text-align: center;
    }

    /* GALERIJA */

    .galerija {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .slika-stola {
        aspect-ratio: 4/3;
    }

    /* SHOP */

    #shop-hero {
        height: auto;
        padding: 90px 20px 40px;
    }

    .shop-hero-info{
        flex-direction: column;
        align-items: center;
    }
    .shop-galerija {
        height: 60vw;
        min-height: 220px;
    }

    .shop-info {
        padding: 28px 22px 36px;
    }

    .shop-gumbi {
        flex-direction: column;
    }

    .shop-gumb {
        align-self: stretch;
        justify-content: center;
    }

    .shop-detalji {
        gap: 16px;
    }

    /* HERO O NAMA */

    .hero-tagline-onama {
        font-size: 10.5pt;
        letter-spacing: 2px;
        margin-top: 16px;
    }

    .hero-linija-onama {
        height: 36px;
        margin-top: 22px;
    }

    .scroll-indikator {
        bottom: 24px;
    }

    .scroll-indikator-tekst {
        font-size: 7pt;
        letter-spacing: 4px;
    }

    /* NAV */

    .nav-panel {
        width: 60%;
        padding-left: 28px;
    }

    .meni a {
        font-size: 14pt;
        padding: 13px 0;
        width: calc(100% - 28px);
    }

}

/* ===== MOBITEL (do 480px) ===== */
@media (max-width: 480px) {


    /* NAV */

    .nav-panel {
        width: 75%;
        padding-left: 24px;
    }

    .meni a {
        font-size: 13pt;
        padding: 12px 0;
        width: calc(100% - 24px);
    }

    /* INDEX */

    .hrast-img {
        width: 130vw;
    }

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

        60% {
            opacity: 0.5;
            transform: translate(-50%, -60%) scale(2);
        }

        80% {
            opacity: 0.2;
            transform: translate(-50%, -75%) scale(3);
        }

        98% {
            opacity: 0;
            transform: translate(-50%, -180%) scale(10);
        }

        100% {
            opacity: 0;
            transform: translate(-50%, -200%) scale(20);
        }
    }

    .h2-prijasni {
        font-size: 22pt;
    }

    /* HERO */

    .hero-tagline-onama {
        font-size: 9.5pt;
        letter-spacing: 1.5px;
        margin-top: 12px;
    }

    .hero-linija-onama {
        height: 28px;
        margin-top: 18px;
    }

    .scroll-indikator {
        bottom: 20px;
    }

    .scroll-indikator-strelica span {
        width: 8px;
        height: 8px;
    }

    /* TIMELINE */

    .lenta-vremena::before {
        left: 16px;
    }

    .marker-timeline {
        left: 16px;
        width: 11px;
        height: 11px;
        top: 22px;
    }

    .kartica {
        padding: 36px 28px;
    }

    .kartica-timeline {
        width: calc(100% - 42px);
        margin-left: 36px;
    }

    .h2-timeline {
        font-size: 1rem;
    }

    .tekst-timeline {
        padding: 13px 16px 16px;
    }

    /* TIM */

    .tim-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .tim-slika-omot {
        box-shadow: 4px 4px 0px 0px rgb(11, 59, 6);
    }

    .tim-ime {
        font-size: 10pt;
        letter-spacing: 2px;
    }

    .tim-uloga {
        font-size: 7.5pt;
        letter-spacing: 2px;
    }

    /* HERO LABEL */

    .hero-label-onama {
        font-size: 7.5pt;
        letter-spacing: 5px;
    }

    .hero-deco-tekst {
        font-size: 7pt;
        letter-spacing: 4px;
    }

    /* O NAMA */

    #onama-tim {
        padding-left: 20px;
        padding-right: 20px;
    }

    .infinity-loop-vertical {
        display: none;
    }

    .infinity-vertical {
        display: none;
    }



    /* SHOP */

    #shop-hero {
        min-height: 280px;
    }

    .shop-hero-lijevo {
        padding: 90px 20px 36px;
    }

    .shop-hero-desno {
        flex: 0 0 40vh;
    }

    .shop-hero-h1 {
        font-size: clamp(34pt, 11vw, 52pt);
    }

    .shop-hero-info-tekst {
        font-size: 9pt;
    }

    .shop-hero-scroll {
        bottom: 16px;
        left: 20px;
    }

    .shop-galerija {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        height: auto;
        padding: 10px;
    }

    .shop-slika:first-child {
        grid-row: 1/2;
        grid-column: 1/3;
        height: 50vw;
    }

    .shop-slika:not(:first-child) {
        height: 35vw;
    }

    .shop-info {
        padding: 24px 16px 32px;
    }

    .shop-h2 {
        font-size: 22pt;
    }

    .shop-cijena {
        font-size: 20pt;
    }

    .shop-broj {
        font-size: 50pt;
    }

    .sec-pad {
        padding: 50px 20px;
    }

    .shop-cijena-red {
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 20px;
    }

    .shop-gumbi {
        flex-direction: column;
    }

    .shop-gumb {
        width: 100%;
        justify-content: center;
        text-align: center;
        font-size: 11pt;
        padding: 12px 20px;
        letter-spacing: 3px;
    }

}

/* ===== MALI MOBITEL (do 360px) ===== */
@media (max-width: 360px) {

    /* ANIMACIJE */

    @keyframes uLijeviKut {
        0% {
            font-size: 40pt;
            transform: translate(-50%, -50%);
        }

        100% {
            font-size: 18pt;
            transform: translate(-47vw, -45vh);
        }
    }

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

        60% {
            opacity: 0.5;
            transform: translate(-50%, -55%) scale(2);
        }

        80% {
            opacity: 0.2;
            transform: translate(-50%, -65%) scale(3);
        }

        98% {
            opacity: 0;
            transform: translate(-50%, -150%) scale(10);
        }

        100% {
            opacity: 0;
            transform: translate(-50%, -170%) scale(20);
        }
    }

    /* NAV */

    .nav-panel {
        width: 85%;
        padding-left: 20px;
    }

    .meni a {
        font-size: 12pt;
        padding: 10px 0;
        width: calc(100% - 20px);
    }

    /* SHOP */

    .shop-h2 {
        font-size: 18pt;
    }

    .shop-gumb,
    .shop-gumb-secondary {
        font-size: 11pt;
        padding: 12px 22px;
        letter-spacing: 3px;
    }

}