/* ================================
   SF PRO TEXT
================================ */

@font-face {
    font-family: 'SF Pro Text';
    src: url('./static/fonts/SF-Pro-Text-Ultralight.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Text';
    src: url('./static/fonts/SF-Pro-Text-Thin.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Text';
    src: url('./static/fonts/SF-Pro-Text-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Text';
    src: url('./static/fonts/SF-Pro-Text-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Text';
    src: url('./static/fonts/SF-Pro-Text-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Text';
    src: url('./static/fonts/SF-Pro-Text-Semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Text';
    src: url('./static/fonts/SF-Pro-Text-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Text';
    src: url('./static/fonts/SF-Pro-Text-Heavy.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Text';
    src: url('./static/fonts/SF-Pro-Text-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}


/* ================================
   SF PRO TEXT - ITALIC
================================ */

@font-face {
    font-family: 'SF Pro Text';
    src: url('./static/fonts/SF-Pro-Text-UltralightItalic.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Text';
    src: url('./static/fonts/SF-Pro-Text-ThinItalic.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Text';
    src: url('./static/fonts/SF-Pro-Text-LightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Text';
    src: url('./static/fonts/SF-Pro-Text-RegularItalic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Text';
    src: url('./static/fonts/SF-Pro-Text-MediumItalic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Text';
    src: url('./static/fonts/SF-Pro-Text-SemiboldItalic.otf') format('opentype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Text';
    src: url('./static/fonts/SF-Pro-Text-BoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Text';
    src: url('./static/fonts/SF-Pro-Text-HeavyItalic.otf') format('opentype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Text';
    src: url('./static/fonts/SF-Pro-Text-BlackItalic.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}


/* ================================
   SF PRO DISPLAY
================================ */

@font-face {
    font-family: 'SF Pro Display';
    src: url('./static/fonts/SFPRODISPLAYREGULAR.OTF') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('./static/fonts/SFPRODISPLAYMEDIUM.OTF') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('./static/fonts/SFPRODISPLAYBOLD.OTF') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* ================================
   CSS VARIABLES
================================ */

:root {
    --font-text: 'SF Pro Text', Arial, sans-serif;
    --font-display: 'SF Pro Display', Arial, sans-serif;

    --weight-ultralight: 100;
    --weight-thin: 200;
    --weight-light: 300;
    --weight-regular: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-heavy: 800;
    --weight-black: 900;

    
    --gradient-1: linear-gradient(90deg, #C439FF 0%, #12DEFE 100%);
    --gradient-2: linear-gradient(90deg, #C439FF 50%, #12DFFF 100%);

}

body{
    margin: 0;
    padding: 0;
    background: black;
    overflow-x: hidden;
}

* { box-sizing: border-box; }
img { max-width: 100%; }


/* =========================================================
   VYBE - MOBILE
   Aktivno do 999px.

   Cilj:
   - jedan header red: logo / REZERVIŠI / hamburger
   - jedan poravnat container za sve kartice
   - jedan isti pill sistem
   - jednak razmak između kartica
   - footer složen u jasnu mobilnu mrežu
========================================================= */

:root {
    --mobile-page-pad-left: 16px;
    --mobile-page-pad-right: clamp(24px, 8vw, 42px);
    --mobile-header-height: 82px;

    --mobile-card-gap: 16px;
    --mobile-card-radius: clamp(22px, 6vw, 32px);

    --mobile-pill-height: clamp(44px, 12vw, 62px);
    --mobile-pill-padding-x: clamp(18px, 5vw, 28px);
    --mobile-pill-overhang: clamp(18px, 6vw, 34px);
    --mobile-pill-font: clamp(11px, 2.8vw, 15px);

    --mobile-footer-radius: 28px;
}

body {
    color: #fff;
}

/* Desktop elementi se na mobitelu ne prikazuju */
.header-desktop,
.desktop-line,
.main-kartice.des,
.footer-desktop,
.upper-header,
.kontakt-header {
    display: none !important;
}

/* -----------------------------------------------------
   HEADER
----------------------------------------------------- */

.header {
    width: 100%;
    min-height: var(--mobile-header-height);
    padding: 18px 16px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.header .logo {
    width: clamp(86px, 24vw, 112px);
    height: auto;
    flex: 0 0 auto;
    display: block;
}

.header .mobile-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.header .mobile-rezervisi {
    min-width: clamp(88px, 25vw, 116px);
    height: 44px;
    padding: 0 16px;

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

    border-radius: 999px;
    background: var(--gradient-2);

    color: #fff;
    font-family: var(--font-text);
    font-size: clamp(10px, 2.5vw, 12px);
    font-weight: var(--weight-bold);
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.header .menu-button {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    flex: 0 0 44px;
    display: block;
}

.header .menu-button img {
    width: 44px;
    height: 44px;
    display: block;
}

.header a:focus-visible,
.header button:focus-visible,
.main-kartica > a:focus-visible,
.footer a:focus-visible {
    outline: 2px solid #12DFFF;
    outline-offset: 3px;
}

/* -----------------------------------------------------
   KARTICE
----------------------------------------------------- */

.main-kartice.mob {
    width: 100%;
    padding-left: var(--mobile-page-pad-left);
    padding-right: var(--mobile-page-pad-right);
    margin: 10px auto 0;

    display: flex;
    flex-direction: column;
    gap: var(--mobile-card-gap);
}

.main-kartice.mob .main-kartica {
    width: 100%;
    aspect-ratio: 1457 / 756;
    margin: 0;
    position: relative;

    border-radius: var(--mobile-card-radius);
    background: #151519;
}

.main-kartice.mob .main-kartica img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
    background: #151519;
}

/* Jedna pill komponenta za svih 7 kartica */
.main-kartice.mob .main-kartica > a {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: calc(var(--mobile-pill-overhang) * -1);
    transform: translateY(-50%);

    width: fit-content;
    max-width: min(58vw, 230px);
    min-height: 44px;
    height: var(--mobile-pill-height);
    padding: 0 var(--mobile-pill-padding-x);

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

    border-radius: 999px;
    background: #000;

    color: #fff;
    font-family: var(--font-text);
    font-size: var(--mobile-pill-font);
    font-weight: var(--weight-bold);
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

/* -----------------------------------------------------
   FOOTER
----------------------------------------------------- */

.footer {
    width: calc(100% - 24px);
    max-width: 540px;
    margin: 36px auto 24px;
    padding: 0;
}

.footer .container {
    width: 100%;
    min-height: 0;
    padding: 28px 20px 24px;

    display: block;
    position: relative;
    overflow: hidden;

    border: 1.5px solid #C439FF;
    border-radius: var(--mobile-footer-radius);
    background: #000;
}

.footer .info {
    width: 100%;
    padding: 0;
}

.footer .info h1,
.footer .social-title {
    margin: 0 0 9px;
    color: #C439FF;
    font-family: var(--font-text);
    font-size: 10px;
    font-style: normal;
    font-weight: var(--weight-bold);
    line-height: 1.2;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.footer .info h1:not(:first-child) {
    margin-top: 22px;
}

.footer .info a,
.footer .info p {
    margin: 0;
    display: block;
    color: #fff;
    font-family: var(--font-text);
    font-size: clamp(13px, 3.5vw, 16px);
    font-weight: var(--weight-regular);
    line-height: 1.75;
    text-decoration: none;
}

.footer .social-title {
    margin-top: 24px;
}

.footer .socials {
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.footer .socials a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.footer .socials img {
    width: 36px;
    height: 36px;
    display: block;
}

@media (max-width: 340px) {
    :root {
        --mobile-page-pad-left: 12px;
        --mobile-page-pad-right: 24px;
        --mobile-card-gap: 16px;
        --mobile-pill-overhang: 24px;
    }

    .header {
        padding-left: 12px;
        padding-right: 12px;
        gap: 8px;
    }

    .header .logo {
        width: 74px;
    }

    .header .mobile-actions {
        gap: 7px;
    }

    .header .mobile-rezervisi {
        min-width: 80px;
        height: 40px;
        padding: 0 12px;
        font-size: 9px;
    }

    .header .menu-button,
    .header .menu-button img {
        width: 40px;
        height: 40px;
    }

    .main-kartice.mob .main-kartica > a {
        max-width: 68vw;
        padding-left: 15px;
        padding-right: 15px;
        font-size: 10px;
    }
}

/* =========================================================
   MOBILNI BURGER MENI
========================================================= */

.mobile-menu {
    position: fixed;
    z-index: 1000;
    top: calc(var(--mobile-header-height) - 2px);
    right: 12px;

    width: min(310px, calc(100vw - 24px));
    padding: 20px;

    border: 1px solid #C439FF;
    border-radius: 24px;
    background: rgba(4, 4, 6, 0.98);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-menu-lang {
    min-height: 44px;
    padding-bottom: 16px;
    margin-bottom: 14px;

    display: flex;
    align-items: center;
    gap: 12px;

    border-bottom: 1px solid rgba(255,255,255,.12);

    font-family: var(--font-text);
    font-size: 16px;
    font-weight: var(--weight-bold);
}

.mobile-menu-lang a {
    min-width: 44px;
    min-height: 44px;

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

    color: #777;
    text-decoration: none;
    border-radius: 999px;
}

.mobile-menu-lang a.active {
    color: #fff;
}

.mobile-menu-lang span {
    color: rgba(255,255,255,.28);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu-item {
    width: 100%;
    min-height: 52px;
    padding: 4px 10px;

    display: flex;
    align-items: center;
    gap: 14px;

    border-radius: 16px;

    color: #fff;
    font-family: var(--font-text);
    font-size: 14px;
    font-weight: var(--weight-bold);
    text-decoration: none;
}

.mobile-menu-item:hover,
.mobile-menu-item:active {
    background: rgba(255,255,255,.06);
}

.mobile-menu-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;

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

.mobile-menu-icon img {
    width: 44px;
    height: 44px;
    display: block;
}

.mobile-menu-price {
    min-height: 48px;
    margin-top: 6px;
    padding: 0 20px;

    justify-content: center;

    border: 1.5px solid transparent;
    background:
        linear-gradient(#040406, #040406) padding-box,
        var(--gradient-1) border-box;
    border-radius: 999px;
}

.mobile-menu a:focus-visible {
    outline: 2px solid #12DFFF;
    outline-offset: 3px;
}

body.menu-open {
    overflow: hidden;
}

.header .menu-button.is-open {
    border-radius: 50%;
    box-shadow: 0 0 0 1px #C439FF;
}

/* Prve dvije kartice su namjerno više od ostatka. */
.main-kartice.mob .main-kartica {
    aspect-ratio: 1.82 / 1;
}

.main-kartice.mob .main-kartica:nth-child(-n + 2) {
    aspect-ratio: 1.55 / 1;
}
