@font-face {
  font-family: 'Copperplate';
  src: url('copperplategothic_bold.ttf');
}

@font-face {
  font-family: 'Tekst Light';
  src: url('Inter_18pt-Light.ttf');
}

@font-face {
  font-family: 'Tekst Regular';
  src: url('Inter_18pt-Regular.ttf');
}

@font-face {
  font-family: 'Ubuntu';
  src: url('Ubuntu-Regular.ttf');
}

html {
    scroll-behavior: smooth;
}


body {
    margin: 0;
    padding: 0;

}


body::-webkit-scrollbar {
  display: none;
}


.headermain {
    height: 70px;
    background-color: #0b1125;
    border:0;
    position: sticky;
    top: 0px;
    z-index: 9999;
    border-bottom:3px solid #C9A24D;

}

.headerlayout {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 70px;
}

.left-header img {
    height: 70px;
    width: auto;
    margin-left: 15px;
}

.right-header img {
    height: 70px;
    width: auto;
}

.right-header{
    display: flex;
    justify-content: flex-end;
    margin-right: 15px;
}

.middle-header {
    flex: 3;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: auto;
    white-space:nowrap;
}

.header-button-container {
    margin-left: 20px;
    margin-right: 20px;
}

.header-button-container a {
    border: 0px;
    background-color: #0b1125;
    color: #e6d3a3;
    font-family: 'Copperplate';
    font-size: 30px;
    align-items: center;
    text-decoration: none;
    position: relative;
}

.header-button-container a:hover::after{
    transform: scaleX(1);
}

.header-button-container a::after{
    content: '';
    background-color: #fff;
    height: 3px;    
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;

    transform: scaleX(0);
    transform-origin: center;
    transition: transform 250ms ease;
}

.header-button-container a:hover{
    cursor: pointer;
}

@media only screen and (max-width: 666px) {
    .header-button-container {
        margin-left: 4px;
        margin-right: 4px;
    }
    .left-header img {
        height: 45px;
        width: auto;
        margin-left: 8px;
    }

    .right-header img {
        height: 45px;
        width: auto;
    }

    .middle-header {
        flex: 1;
        min-width: 0;
    }
    .right-header{
        display: flex;
        justify-content: flex-end;
        margin-right: 0px;
    }
    .header-button-container a {
        font-size: 17px;
    }
}


.onama {
    display: grid;
    grid-template-columns: 2fr 1fr;
    height: calc(100svh - 73px);
    background-color: #0b1125;
    overflow: hidden;
    border: 0;
    border-bottom: 3px solid #C9A24D;
    position: relative;
}

.onama__slika img {
    width: 100%;
    max-height: calc(100svh - 73px);
    display: block;
}

/* ── Text box ─────────────────────────────────── */
.onama__tekst {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 28px 100px;  /* bottom padding leaves room for button */
}

.onama__tekst p {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 2.2vw, 2rem);
    line-height: 1.7;
    text-align: center;
    color: #fdf9f2;

    /* card styling to match the rest of the site */
    background: #162040;
    border: 1px solid rgba(200, 150, 42, 0.3);
    border-radius: 20px;
    padding: 36px 32px;
    margin: 0;

    position: relative;
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    transition: border-color 0.3s, box-shadow 0.3s;
}

/* gold shimmer top edge */
.onama__tekst p::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(200, 150, 42, 0.8),
        #f0c45a,
        rgba(200, 150, 42, 0.8),
        transparent
    );
}

/* glow on hover */
.onama__tekst p:hover {
    border-color: rgba(200, 150, 42, 0.55);
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.45),
        0 0 40px rgba(200, 150, 42, 0.07);
}

/* ── Hero button ──────────────────────────────── */
.hero-btn {
    position: absolute;
    left: 50%;
    top: 85%;
    transform: translate(-50%, -50%);

    padding: 14px 36px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: #f0c45a;
    background: transparent;
    border: 1.5px solid rgba(200, 150, 42, 0.5);
    border-radius: 999px;
    cursor: pointer;
    z-index: 10;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.hero-btn:hover {
    background: #C9A24D;
    border-color: #C9A24D;
    color: #0b1125;
    transform: translate(-50%, -50%) scale(1.04);
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 1400px) {
    .onama {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        height: auto;
        min-height: 0;
    }

    .onama__slika {
        height: auto;
    }

    .onama__slika img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
        display: block;
    }

    .onama__tekst {
        padding: 32px 24px 80px;
    }

    .onama__tekst p {
        font-size: clamp(1rem, 4vw, 1.4rem);
        padding: 28px 24px;
        line-height: 1.65;
    }

    .hero-btn {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        display: block;
        width: fit-content;
        margin: 0 auto 40px;
    }

    .hero-btn:hover {
        transform: scale(1.04);
    }
}

@media (max-width: 480px) {
    .onama__tekst {
        padding: 24px 16px 16px;
    }

    .onama__tekst p {
        font-size: 1rem;
        padding: 24px 18px;
        border-radius: 14px;
    }

    .hero-btn {
        font-size: 0.8rem;
        padding: 12px 28px;
        margin: 16px auto 32px;
    }
}

.usluge {
    background-color: #0b1125;
    color: #fff;
    margin: 0px;
    min-height: 100vh;
    border-bottom:3px solid #C9A24D;
}

.usluge p {
    margin: 0px;
}

.usluge__title {
    font-family: 'Copperplate';
    padding-top: 70px;
    font-size: 70px;
    text-align: center;
    margin-bottom: 30px;
}


