:root {
    --linen: #eee3d0;
    --flax: #e4d4b7;
    --sand: #d6c09b;
    --clay: #b99870;
    --olive: #6b5f4b;
    --earth: #695c47;
    --ink: #3f3529;
    --paper: #f8efde;
    --shadow-soft: 0 12px 30px rgba(74, 58, 36, 0.1);
    --shadow-card: 0 16px 36px rgba(74, 58, 36, 0.12);
    --radius: 28px;
    --radius-soft: 36px;
    --header-h: 84px;
    --section-space: clamp(5.2rem, 8vw, 9rem);
    --container: 1220px;
    --ease: 420ms cubic-bezier(0.2, 0.7, 0.18, 1);
    --vintage-rule: rgba(96, 77, 50, 0.18);
    --vintage-accent: rgba(120, 95, 62, 0.35);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
}

/* Only in supporting browsers to avoid linter warning for Firefox/Safari */
@supports (text-size-adjust: 100%) {
    html {
        text-size-adjust: 100%;
    }
}

/* Elegant custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(238, 227, 208, 0.4);
    border-left: 1px solid rgba(112, 88, 58, 0.12);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(112, 88, 58, 0.48), rgba(89, 73, 50, 0.56));
    border-radius: 10px;
    border: 2px solid rgba(238, 227, 208, 0.4);
    transition: background 320ms cubic-bezier(0.2, 0.7, 0.18, 1);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(112, 88, 58, 0.62), rgba(89, 73, 50, 0.68));
}

/* Firefox scrollbar (only in supporting browsers to avoid unsupported-property warnings) */
@supports (scrollbar-width: thin) {
    * {
        scrollbar-width: thin;
        scrollbar-color: rgba(112, 88, 58, 0.48) rgba(238, 227, 208, 0.4);
    }
}

body {
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(180deg, #f2e8d6 0%, var(--linen) 40%, #ddc7a3 100%);
    color: var(--earth);
    line-height: 1.86;
    letter-spacing: 0.01em;
    font-size: clamp(1.02rem, 0.4vw + 0.94rem, 1.14rem);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 14% 14%, rgba(255, 249, 239, 0.52), transparent 56%),
        radial-gradient(circle at 82% -4%, rgba(168, 136, 90, 0.2), transparent 52%),
        repeating-linear-gradient(130deg, rgba(95, 74, 47, 0.02) 0 1px, transparent 1px 9px),
        repeating-linear-gradient(0deg, transparent 0, transparent 2px, rgba(88, 72, 52, 0.015) 2px, rgba(88, 72, 52, 0.015) 3px);
    background-size: 100% 100%, 100% 100%, 9px 1px, 1px 4px;
    pointer-events: none;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.05;
    /* logo-pattern-tile.png nije dostupan – uklonjeno da bi se izbegla 404 greška; dodaj fajl u images/brand/ ako želiš pozadinski pattern */
    pointer-events: none;
    mix-blend-mode: multiply;
}

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

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

main {
    min-height: 100vh;
}

.container {
    width: min(var(--container), calc(100% - 5rem));
    margin-inline: auto;
}

.hero,
.section,
.site-footer {
    scroll-margin-top: calc(var(--header-h) + 12px);
}

.section {
    padding-block: var(--section-space);
    position: relative;
    scroll-margin-top: calc(var(--header-h) + 12px);
}
.section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(120px, 20vw);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--vintage-rule) 20%, var(--vintage-rule) 80%, transparent);
    opacity: 0.9;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.62rem;
    margin-bottom: 1.25rem;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(84, 72, 53, 0.86);
}

.eyebrow::before {
    content: "";
    width: 24px;
    height: 1px;
    background: rgba(84, 72, 53, 0.46);
}
.eyebrow::after {
    content: "";
    width: 8px;
    height: 1px;
    background: var(--vintage-rule);
    margin-left: 0.15rem;
}

h1,
h2,
h3 {
    font-family: "EB Garamond", Georgia, "Times New Roman", serif;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: 0.014em;
}

@supports (text-wrap: balance) {
    h1,
    h2,
    h3 {
        text-wrap: balance;
    }
}

h1 {
    font-size: clamp(2.85rem, 7vw, 5.7rem);
    margin-bottom: 1.45rem;
}

h2 {
    font-size: clamp(2.28rem, 5.2vw, 4.05rem);
    margin-bottom: 1.45rem;
}

h3 {
    font-size: clamp(1.82rem, 3.6vw, 2.72rem);
    margin-bottom: 1.04rem;
}

p {
    max-width: 68ch;
    color: rgba(70, 60, 44, 0.86);
    font-weight: 300;
    margin-bottom: 1.15rem;
}

.lead {
    font-size: clamp(1.1rem, 1vw + 0.86rem, 1.46rem);
    max-width: 42ch;
    color: rgba(62, 53, 38, 0.92);
}

.btn-row {
    display: flex;
    gap: 0.94rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 52px;
    padding: 0.75rem 1.62rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.8rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-weight: 500;
    transition: transform var(--ease), background-color var(--ease), border-color var(--ease), color var(--ease), box-shadow var(--ease);
}

.btn .btn-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    stroke: currentColor;
    stroke-width: 1.75;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.btn-primary {
    background: rgba(129, 103, 70, 0.82);
    border-color: rgba(118, 93, 61, 0.84);
    color: rgba(255, 247, 232, 0.96);
}

.btn-ghost {
    background: rgba(255, 251, 242, 0.34);
    border-color: rgba(102, 82, 52, 0.38);
    color: rgba(62, 53, 38, 0.96);
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
    background: rgba(116, 92, 61, 0.9);
    border-color: rgba(104, 82, 53, 0.9);
    color: rgba(255, 248, 236, 0.98);
    box-shadow: 0 10px 22px rgba(74, 58, 36, 0.2);
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    height: var(--header-h);
    z-index: 1000;
    -webkit-backdrop-filter: blur(16px) saturate(128%);
    backdrop-filter: blur(16px) saturate(128%);
    background: linear-gradient(180deg, rgba(227, 223, 216, 0.34), rgba(193, 187, 178, 0.24));
    border-bottom: 1px solid rgba(255, 248, 233, 0.28);
    box-shadow: 0 10px 24px rgba(40, 33, 24, 0.14);
    overflow: visible;
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    height: 100%;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
    z-index: 1002;
}

.brand img {
    display: block;
    width: auto;
    max-width: min(60vw, 300px);
    max-height: calc(var(--header-h) - 22px);
    flex: 0 0 auto;
    height: auto;
    object-fit: contain;
    filter: 
        contrast(1.28) 
        brightness(1.16) 
        saturate(1.12) 
        sepia(0.03) 
        drop-shadow(0 6px 22px rgba(6, 3, 1, 0.86)) 
        drop-shadow(0 1px 4px rgba(0, 0, 0, 0.48));
}

.brand-tagline {
    font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(0.62rem, 1.5vw, 2rem);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 246, 229, 0.92);
    text-shadow: 0 1px 6px rgba(12, 8, 4, 0.4);
    max-width: 38vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.1;
}
.site-motto {
    font-family: "Allura", "Brush Script MT", cursive;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.02em;
}
.brand-tagline.site-motto {
    font-size: clamp(1.28rem, 2.8vw, 2rem);
    letter-spacing: 0.02em;
    text-shadow: 0 1px 6px rgba(12, 8, 4, 0.4);
    max-width: 56vw;
    white-space: normal;
    line-height: 1.18;
}

.header-motto {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-width: 0;
    padding: 0 0.5rem;
    font-size: clamp(1.38rem, 3.2vw, 2.2rem);
    letter-spacing: 0.02em;
    line-height: 1.16;
    white-space: normal;
    transform: scale(1.06);
    text-shadow: 
        0 1px 2px rgba(12, 8, 4, 0.35),
        0 2px 8px rgba(255, 248, 235, 0.12);
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.15));
}
.header-motto.site-motto {
    color: rgba(255, 246, 229, 0.95);
}

.site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 auto;
    width: min(430px, 86vw);
    height: calc(100svh - var(--header-h));
    max-height: none;
    overflow-y: auto;
    padding: clamp(1.2rem, 2.4vw, 1.8rem) clamp(1.05rem, 2vw, 1.55rem) 2rem;
    background: rgba(243, 232, 213, 0.84);
    border-left: 1px solid rgba(96, 77, 50, 0.3);
    border-radius: 18px 0 0 18px;
    box-shadow: -12px 0 30px rgba(60, 46, 28, 0.22);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    display: grid;
    align-content: start;
    gap: 0.42rem;
    transform: translateX(104%);
    transform-origin: top right;
    opacity: 0;
    pointer-events: none;
    transition: transform var(--ease), opacity var(--ease), box-shadow var(--ease);
    z-index: 1003;
}

.site-nav.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    box-shadow: -12px 0 36px rgba(60, 46, 28, 0.28);
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.56rem;
    width: 100%;
    font-size: clamp(0.92rem, 0.22vw + 0.86rem, 1.02rem);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(66, 54, 37, 0.94);
    padding: 0.78rem 0.56rem;
    border-radius: 10px;
    border-bottom: 1px solid transparent;
    transition: border-color var(--ease), color var(--ease), background-color var(--ease);
}

.site-nav .nav-icon {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    stroke: currentColor;
    stroke-width: 1.75;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-nav a + a {
    border-top: 1px solid rgba(115, 93, 62, 0.22);
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: rgba(53, 43, 28, 0.98);
    background: rgba(255, 249, 237, 0.28);
    border-color: rgba(96, 77, 50, 0.34);
}

.site-nav-art {
    margin-top: 1.05rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(145, 127, 95, 0.16);
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    margin-right: calc(-1 * clamp(1.05rem, 2vw, 1.55rem));
    padding-right: 0;
    position: relative;
}

.site-nav-art img {
    width: clamp(190px, 22vw, 340px);
    max-width: 92%;
    height: auto;
    object-fit: contain;
    opacity: 0.78;
    filter: 
        saturate(1.14) 
        contrast(1.26) 
        brightness(0.96) 
        sepia(0.05) 
        hue-rotate(-2deg);
    position: relative;
    right: 0;
}

.menu-toggle {
    flex: 0 0 auto;
    display: inline-flex;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(236, 219, 188, 0.44);
    background: rgba(58, 46, 30, 0.38);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4.5px;
    cursor: pointer;
    z-index: 1004;
    transition: border-color var(--ease), background-color var(--ease), box-shadow var(--ease);
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
    border-color: rgba(244, 229, 203, 0.56);
    background: rgba(71, 56, 37, 0.5);
    box-shadow: 0 8px 18px rgba(36, 28, 18, 0.26);
}

.menu-toggle span {
    width: 16px;
    height: 1px;
    background: rgba(255, 245, 228, 0.95);
}

.quick-nav {
    position: fixed;
    right: clamp(0.95rem, 2.1vw, 1.55rem);
    bottom: clamp(0.95rem, 2.1vw, 1.55rem);
    width: 56px;
    height: 56px;
    border-radius: 999px;
    border: 1px solid rgba(255, 246, 226, 0.42);
    background: linear-gradient(180deg, rgba(121, 102, 74, 0.74), rgba(89, 73, 50, 0.82));
    color: rgba(255, 244, 221, 0.96);
    -webkit-backdrop-filter: blur(10px) saturate(115%);
    backdrop-filter: blur(10px) saturate(115%);
    box-shadow: 0 10px 24px rgba(23, 16, 9, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1100;
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease), background-color var(--ease), color var(--ease);
}

.quick-nav:hover,
.quick-nav:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(255, 246, 226, 0.54);
    box-shadow: 0 12px 26px rgba(17, 12, 7, 0.36);
}

.quick-nav svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--ease);
}

.quick-nav.is-up svg {
    transform: rotate(180deg);
}

.hero {
    min-height: 100svh;
    padding-top: calc(var(--header-h) + 4.8rem);
    padding-bottom: clamp(4.2rem, 8vw, 6.8rem);
    display: grid;
    align-items: end;
    position: relative;
    overflow: clip;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-wash {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-media video,
.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter:
        saturate(1.05)
        contrast(1.06)
        brightness(0.98);
}

.hero-media img {
    transform: scaleX(-1);
    transform-origin: center;
}

/* Prirodna kremasta bela preko slika (hero + Muzika) */
.hero-wash {
    background:
        linear-gradient(180deg, rgba(248, 244, 236, 0.92) 0%, rgba(248, 244, 236, 0.42) 16%, rgba(242, 235, 222, 0.2) 36%, rgba(232, 220, 200, 0.14) 56%, rgba(210, 195, 170, 0.16) 100%),
        radial-gradient(108% 96% at -8% -10%, rgba(250, 246, 238, 0.94) 0%, rgba(248, 244, 234, 0.5) 22%, rgba(245, 238, 225, 0.2) 40%, rgba(240, 232, 218, 0.06) 58%, transparent 74%);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 770px;
    padding-bottom: clamp(0.6rem, 2vw, 1.6rem);
}

.hero-content h1 {
    color: rgba(255, 247, 231, 0.97);
    text-shadow: 0 2px 12px rgba(35, 26, 15, 0.32);
}

.hero-content .lead {
    color: rgba(244, 232, 211, 0.92);
    text-shadow: 0 1px 8px rgba(35, 26, 15, 0.26);
}

.hero-content .eyebrow {
    color: rgba(244, 232, 211, 0.95);
    text-shadow: 0 1px 7px rgba(35, 26, 15, 0.24);
}

.hero-content .eyebrow::before {
    background: rgba(244, 232, 211, 0.72);
}

.scroll-cue {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 2.3rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(235, 220, 194, 0.86);
}

.scroll-cue::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 1px solid rgba(235, 220, 194, 0.82);
    border-bottom: 1px solid rgba(235, 220, 194, 0.82);
    transform: rotate(45deg) translateY(-1px);
}

.split {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(1.5rem, 2.8vw, 2.9rem);
    align-items: center;
}

.split .copy {
    grid-column: span 6;
}

.split .visual {
    grid-column: span 6;
}

.split.reverse .copy {
    order: 2;
}

.split.reverse .visual {
    order: 1;
}

.visual {
    position: relative;
    border-radius: var(--radius-soft);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: var(--paper);
    border: 1px solid rgba(112, 88, 58, 0.28);
}

.visual::before,
.gallery-grid figure::before,
.music-media::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(248, 244, 236, 0.92) 0%, rgba(248, 244, 236, 0.42) 16%, rgba(242, 235, 222, 0.2) 36%, rgba(232, 220, 200, 0.14) 56%, rgba(210, 195, 170, 0.16) 100%),
        radial-gradient(108% 96% at -8% -10%, rgba(250, 246, 238, 0.94) 0%, rgba(248, 244, 234, 0.5) 22%, rgba(245, 238, 225, 0.2) 40%, rgba(240, 232, 218, 0.06) 58%, transparent 74%);
    z-index: 1;
}
/* Sekcija Atmosfera: bez overlay-a preko videa da se poster i logo vide */
.visual.atmosphere-visual::before {
    display: none;
}

.visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 250, 240, 0.06), rgba(224, 199, 158, 0.18));
    z-index: 2;
}

.visual img {
    width: 100%;
    height: min(72vh, 760px);
    object-fit: cover;
    filter: 
        saturate(1.22) 
        contrast(1.36) 
        brightness(0.94) 
        sepia(0.06) 
        hue-rotate(-3deg);
}

.atmosphere-visual::before,
.atmosphere-visual::after {
    display: none;
}

.atmosphere-video-wrap {
    position: relative;
    width: 100%;
    min-height: 400px;
    height: min(72vh, 760px);
    overflow: hidden;
    background: #000;
}

.atmosphere-video-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: 
        radial-gradient(ellipse 80% 60% at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.06) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, transparent 20%, transparent 80%, rgba(0, 0, 0, 0.04) 100%);
    mix-blend-mode: multiply;
}

.atmosphere-video-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, transparent 50%, rgba(0, 0, 0, 0.02) 100%);
    mix-blend-mode: overlay;
}

.atmosphere-video-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    transition: opacity 320ms ease;
    filter:
        saturate(1.12)
        contrast(1.15)
        brightness(1.02)
        sepia(0.03);
}
.atmosphere-video-wrap.video-playing .atmosphere-video-poster {
    z-index: 1;
    opacity: 0;
    pointer-events: none;
}

.atmosphere-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: opacity 320ms ease;
}
.atmosphere-video-wrap:not(.video-playing) .atmosphere-video {
    opacity: 0;
    pointer-events: none;
}
.atmosphere-video-wrap.video-playing .atmosphere-video {
    z-index: 2;
    opacity: 1;
}


.atmosphere-video-fade {
    position: absolute;
    inset: 0;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    z-index: 3;
    transition: opacity 260ms linear;
    mix-blend-mode: normal;
}

.atmosphere-video-glass {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 400ms ease;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    background: rgba(0, 0, 0, 0.28);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.atmosphere-video-glass::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("../images/event-1.webp") center/cover no-repeat;
    filter: saturate(1.1) contrast(1.1) brightness(1.02);
    transition: transform 500ms cubic-bezier(0.4, 0, 0.2, 1);
}
.atmosphere-video-wrap.video-playing .atmosphere-video-glass::before {
    transform: translateX(-100%);
}
.atmosphere-video-wrap.video-playing .atmosphere-video-glass {
    opacity: 1;
}
.atmosphere-video-wrap:not(.video-playing) .atmosphere-video-glass {
    opacity: 1;
}
.atmosphere-video-glass-logo {
    width: auto;
    max-width: min(72%, 280px);
    height: auto;
    max-height: 26vh;
    object-fit: contain;
    object-position: center;
    opacity: 0.98;
    filter:
        drop-shadow(0 4px 12px rgba(0, 0, 0, 0.55))
        drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4))
        drop-shadow(0 0 0 2px rgba(255, 255, 255, 0.35))
        drop-shadow(0 0 20px rgba(0, 0, 0, 0.25))
        brightness(1.08) contrast(1.06);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.7);
    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 7;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.video-play-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn svg {
    width: 32px;
    height: 32px;
    fill: rgba(255, 255, 255, 0.95);
    margin-left: 3px;
}

.video-playing .video-play-btn {
    opacity: 0;
    pointer-events: none;
}

.parallax-frame {
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.story-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.72rem;
    margin-top: 1.55rem;
    max-width: 500px;
}

.story-badges li {
    list-style: none;
    padding: 0.78rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 251, 242, 0.42);
    border: 1px solid rgba(96, 77, 50, 0.28);
    font-size: 0.79rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(65, 52, 35, 0.9);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.52rem;
}

.story-badges .badge-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    stroke: rgba(65, 52, 35, 0.82);
    stroke-width: 1.75;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.story-badges li.story-badge-item--link {
    padding: 0;
    background: transparent;
    border: none;
}

.story-badge-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.52rem;
    width: 100%;
    padding: 0.78rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 251, 242, 0.42);
    border: 1px solid rgba(96, 77, 50, 0.28);
    font-size: 0.79rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(65, 52, 35, 0.9);
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--ease), background-color var(--ease), border-color var(--ease), color var(--ease), box-shadow var(--ease);
}
.story-badge-btn:hover,
.story-badge-btn:focus-visible {
    transform: translateY(-2px);
    background: rgba(129, 103, 70, 0.25);
    border-color: rgba(96, 77, 50, 0.5);
    color: rgba(50, 40, 28, 0.98);
    box-shadow: 0 6px 18px rgba(74, 58, 36, 0.18);
}
.story-badge-btn:hover .badge-icon,
.story-badge-btn:focus-visible .badge-icon {
    stroke: rgba(50, 40, 28, 0.95);
}

.material-band {
    background: linear-gradient(180deg, rgba(204, 175, 134, 0.32), rgba(227, 208, 176, 0.18));
}

.magazine {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(1.3rem, 2.9vw, 3.2rem);
    align-items: end;
}

.quote-card {
    position: relative;
    border-radius: var(--radius);
    padding: clamp(1.7rem, 3vw, 2.8rem);
    background: rgba(255, 250, 241, 0.46);
    border: 1px solid rgba(96, 77, 50, 0.3);
    box-shadow: 
        0 9px 24px rgba(74, 58, 36, 0.13),
        inset 0 0 0 1px rgba(255, 248, 238, 0.5);
}
.quote-card::before {
    content: "";
    position: absolute;
    top: 1rem;
    left: 1.25rem;
    width: 20px;
    height: 20px;
    border-top: 1px solid var(--vintage-accent);
    border-left: 1px solid var(--vintage-accent);
    border-radius: 2px 0 0 0;
    opacity: 0.7;
}

.quote-card p:last-of-type {
    margin-bottom: 0;
}

.quote-note {
    margin-top: 1.1rem;
    font-size: 0.94rem;
    color: rgba(79, 73, 61, 0.66);
    font-style: italic;
}
.music {
    min-height: 88svh;
    display: grid;
    align-items: end;
    overflow: clip;
    isolation: isolate;
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

.music-media,
.music-wash {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.music-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: 
        saturate(1.16) 
        contrast(1.38) 
        brightness(0.90) 
        sepia(0.08) 
        hue-rotate(-4deg);
}

.music-wash {
    z-index: -1;
    background: linear-gradient(180deg, rgba(85, 67, 44, 0.44), rgba(139, 112, 76, 0.52));
}

.music-copy {
    max-width: 760px;
    padding-bottom: clamp(1.3rem, 4vw, 2.8rem);
}

.music-copy h2 {
    color: rgba(255, 250, 238, 0.98);
    text-shadow: 0 2px 14px rgba(20, 14, 8, 0.5), 0 1px 3px rgba(0, 0, 0, 0.2);
}

.music-copy p {
    color: rgba(250, 242, 228, 0.95);
    text-shadow: 0 1px 10px rgba(20, 14, 8, 0.4), 0 1px 2px rgba(0, 0, 0, 0.15);
}

.music-copy .eyebrow {
    color: rgba(238, 224, 200, 0.96);
}

.music-copy .eyebrow::before {
    background: rgba(238, 224, 200, 0.7);
}

.gallery {
    background: linear-gradient(180deg, rgba(214, 189, 151, 0.36), rgba(235, 220, 193, 0.34));
    content-visibility: auto;
    contain-intrinsic-size: 1200px;
}

.section-head {
    max-width: 840px;
    margin-bottom: 2.35rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.gallery-grid figure {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--paper);
    border: 1px solid rgba(96, 77, 50, 0.26);
    box-shadow: 0 11px 26px rgba(74, 58, 36, 0.13);
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 5;
    filter: 
        saturate(1.24) 
        contrast(1.40) 
        brightness(0.93) 
        sepia(0.07) 
        hue-rotate(-3deg);
}

.gallery-grid figure:nth-child(2) img,
.gallery-grid figure:nth-child(5) img {
    aspect-ratio: 4 / 4.8;
}

.gallery-grid figure:nth-child(3) img,
.gallery-grid figure:nth-child(6) img {
    aspect-ratio: 4 / 5.5;
}

.reserve {
    padding-bottom: calc(var(--section-space) * 1.06);
}

.reserve-shell {
    position: relative;
    border-radius: calc(var(--radius-soft) + 4px);
    padding: clamp(1.8rem, 4vw, 3.4rem);
    background: linear-gradient(180deg, rgba(255, 250, 241, 0.5), rgba(232, 213, 182, 0.48));
    border: 1px solid rgba(96, 77, 50, 0.3);
    box-shadow: var(--shadow-card), inset 0 0 0 1px rgba(255, 248, 238, 0.4);
}
.reserve-shell::before {
    content: "";
    position: absolute;
    top: 1rem;
    left: 1.25rem;
    width: 18px;
    height: 18px;
    border-top: 1px solid var(--vintage-accent);
    border-left: 1px solid var(--vintage-accent);
    border-radius: 2px 0 0 0;
    opacity: 0.6;
}

.contact-grid {
    margin-top: 1.9rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
}

.contact-card {
    border-radius: 20px;
    padding: 1rem 1.1rem;
    background: rgba(255, 251, 242, 0.44);
    border: 1px solid rgba(96, 77, 50, 0.26);
    min-height: 106px;
    display: grid;
    align-content: center;
    justify-items: center;
    text-align: center;
    transition: transform var(--ease), border-color var(--ease), background-color var(--ease);
}

.contact-card small {
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-size: 0.69rem;
    color: rgba(79, 73, 61, 0.58);
    margin-bottom: 0.35rem;
    display: block;
}

.contact-card strong {
    font-family: "EB Garamond", Georgia, serif;
    font-weight: 600;
    font-size: 1.34rem;
    color: var(--ink);
    line-height: 1.2;
}

.contact-card:hover,
.contact-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(96, 77, 50, 0.36);
    background: rgba(255, 251, 242, 0.56);
}

.faq {
    background: rgba(226, 206, 176, 0.3);
    content-visibility: auto;
    contain-intrinsic-size: 400px;
}

.faq-list {
    max-width: 900px;
    display: grid;
    gap: 0.72rem;
}

.faq-list details {
    border-radius: 20px;
    border: 1px solid rgba(96, 77, 50, 0.24);
    background: rgba(255, 251, 242, 0.44);
    padding: 0.95rem 1.1rem;
    box-shadow: inset 0 0 0 1px rgba(255, 250, 240, 0.35);
}

.faq-list summary {
    cursor: pointer;
    font-size: 1rem;
    color: var(--ink);
}

.faq-list p {
    margin: 0.7rem 0 0;
    color: rgba(79, 73, 61, 0.76);
    max-width: none;
}

.site-footer {
    position: relative;
    padding: 3.8rem 0 3.2rem;
    border-top: 1px solid rgba(247, 219, 172, 0.28);
    background: linear-gradient(180deg, rgba(128, 96, 58, 0.8), rgba(88, 64, 37, 0.9));
    color: rgba(252, 241, 221, 0.96);
}
.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(140px, 24vw);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 248, 235, 0.35) 25%, rgba(255, 248, 235, 0.35) 75%, transparent);
    opacity: 0.95;
}

.site-footer p {
    color: rgba(252, 241, 221, 0.93);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-nav {
    justify-self: start;
    text-align: left;
}

.footer-nav .footer-list {
    justify-items: start;
    text-align: left;
}

.footer-center .site-motto {
    font-size: clamp(1.35rem, 2.8vw, 1.95rem);
    color: rgba(252, 241, 221, 0.98);
    line-height: 1.35;
    margin-bottom: 0.35rem;
}
.footer-center .site-motto:last-of-type {
    margin-bottom: 0;
}

.footer-center {
    justify-self: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-contact {
    justify-self: end;
    text-align: right;
}

.footer-contact .footer-list {
    justify-items: end;
    text-align: right;
}

.footer-logo {
    width: clamp(170px, 23vw, 320px);
    max-width: 100%;
    height: auto;
    object-fit: contain;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    filter: 
        contrast(1.20) 
        brightness(0.96) 
        saturate(1.08) 
        sepia(0.04) 
        drop-shadow(0 9px 18px rgba(12, 8, 4, 0.44)) 
        drop-shadow(0 2px 6px rgba(0, 0, 0, 0.26));
    margin-bottom: 1rem;
}

.footer-title {
    font-family: "EB Garamond", Georgia, "Times New Roman", serif;
    color: rgba(255, 246, 229, 0.99);
    font-size: 1.66rem;
    margin-bottom: 0.7rem;
}

.footer-list {
    list-style: none;
    display: grid;
    gap: 0.42rem;
    font-size: 0.94rem;
    color: rgba(250, 237, 213, 0.95);
}

.footer-list a {
    border-bottom: 1px solid transparent;
    width: fit-content;
    transition: border-color var(--ease), color var(--ease);
}

.footer-list a:hover,
.footer-list a:focus-visible {
    border-color: rgba(255, 242, 216, 0.72);
    color: rgba(255, 249, 235, 1);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.25rem;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem;
    border-radius: 10px;
    transition: transform var(--ease), opacity var(--ease);
}
.footer-social a:hover,
.footer-social a:focus-visible {
    transform: scale(1.12);
    opacity: 1;
}
.footer-social-icon {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter:
        drop-shadow(0 3px 8px rgba(0, 0, 0, 0.85))
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7))
        drop-shadow(0 0 12px rgba(0, 0, 0, 0.5))
        drop-shadow(0 0 3px rgba(255, 255, 255, 0.25));
}
.footer-social a[href*="instagram"] {
    color: #E4405F;
}
.footer-social a[href*="instagram"]:hover {
    color: #F77781;
}
.footer-social a[href*="facebook"] {
    color: #1877F2;
}
.footer-social a[href*="facebook"]:hover {
    color: #4A9BF7;
}

.copyright {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: rgba(248, 232, 205, 0.9);
}

.footer-legal {
    margin-top: 0.5rem;
    font-size: 0.78rem;
    color: rgba(248, 232, 205, 0.85);
}
.footer-legal a:hover {
    color: rgba(255, 250, 235, 1);
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(248, 232, 205, 0.2);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0 0.4rem;
    text-align: center;
}
.footer-bottom .copyright {
    margin-top: 0;
    margin-bottom: 0;
}
.footer-bottom .copyright::after {
    content: " · ";
    margin-left: 0.15rem;
}
.footer-bottom .footer-legal {
    margin-top: 0;
    display: inline;
}
.footer-bottom .footer-legal a {
    display: inline;
}

/* Zakonske stranice – ogromna ikona iznad centriranog naslova */
.legal-page-header {
    text-align: center;
    margin-bottom: var(--section-space);
}
.legal-page-icon {
    width: clamp(140px, 22vw, 200px);
    height: clamp(140px, 22vw, 200px);
    margin: 0 auto 1.75rem;
    display: block;
}
.legal-page-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    stroke: var(--vintage-accent, rgba(123, 94, 69, 0.5));
    stroke-width: 1.25;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}
.legal-page-header h1 {
    text-align: center;
    width: 100%;
    margin-bottom: 0.5rem;
}
.legal-page-header .eyebrow {
    justify-content: center;
}

.legal-page-content {
    text-align: left;
    max-width: 720px;
    margin-inline: auto;
}
.legal-page-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.legal-page-content p,
.legal-page-content li {
    margin-bottom: 1rem;
}
.legal-page-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.legal-page-content .copyright {
    color: var(--charcoal, rgba(63, 53, 41, 0.92));
}

[data-reveal] {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    transition:
        opacity 420ms cubic-bezier(0.2, 0.72, 0.2, 1),
        transform 420ms cubic-bezier(0.2, 0.72, 0.2, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

[data-reveal].reveal-wave {
    --wave-x: 0px;
    --wave-y: 46px;
    --wave-tilt: 0deg;
    filter: blur(6px);
    transform: translate3d(var(--wave-x), var(--wave-y), 0) rotate(var(--wave-tilt));
    transition:
        opacity 920ms cubic-bezier(0.16, 0.84, 0.16, 1),
        transform 920ms cubic-bezier(0.16, 0.84, 0.16, 1),
        filter 920ms cubic-bezier(0.16, 0.84, 0.16, 1);
    will-change: opacity, transform, filter;
}

[data-reveal].reveal-wave.is-visible {
    filter: blur(0);
    transform: translate3d(0, 0, 0) rotate(0deg);
}

[data-reveal].reveal-static-box,
[data-reveal].reveal-static-box.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
}

[data-reveal].reveal-static-box > * {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    filter: blur(4px);
    transition:
        opacity 720ms cubic-bezier(0.2, 0.76, 0.18, 1),
        transform 720ms cubic-bezier(0.2, 0.76, 0.18, 1),
        filter 720ms cubic-bezier(0.2, 0.76, 0.18, 1);
    transition-delay: calc(var(--reveal-delay, 0ms) + var(--child-reveal-delay, 0ms));
    will-change: opacity, transform, filter;
}

[data-reveal].reveal-static-box.is-visible > * {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
}

@media (max-width: 1140px) {
    .container {
        width: min(var(--container), calc(100% - 3rem));
    }

    .split,
    .magazine,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 2rem;
    }

    .footer-nav,
    .footer-center,
    .footer-contact {
        width: min(560px, 100%);
        display: grid;
        justify-items: center;
        text-align: center;
        justify-self: center;
    }

    .footer-logo {
        margin-inline: auto;
    }

    .footer-list {
        justify-items: center;
        text-align: center;
    }

    .footer-nav .footer-list,
    .footer-contact .footer-list {
        justify-items: center;
        text-align: center;
    }

    .footer-list a {
        margin-inline: auto;
    }

    .footer-legal {
        text-align: center;
    }

    .split .copy,
    .split .visual {
        grid-column: span 12;
    }

    .split.reverse .copy,
    .split.reverse .visual {
        order: initial;
    }

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

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero {
        padding-top: calc(var(--header-h) + 4.2rem);
    }
}

@media (max-width: 760px) {
    :root {
        --header-h: 76px;
    }

    .container {
        width: calc(100% - 2rem);
    }

    .brand {
        padding: 0;
        border-radius: 0;
        transform: none;
    }

    .brand img {
        max-width: min(32vw, 128px);
        max-height: calc(var(--header-h) - 18px);
    }

    .header-motto {
        font-size: clamp(1.28rem, 5.5vw, 1.65rem);
        line-height: 1.12;
        padding: 0 0.35rem;
    }

    .brand-tagline-line2 {
        display: block;
    }

    .hero {
        padding-top: calc(var(--header-h) + 3.8rem);
    }

    .site-nav-art img {
        width: clamp(220px, 72vw, 320px);
        max-width: 94%;
        min-width: 200px;
    }

    .btn-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .story-badges {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .quick-nav {
        width: 52px;
        height: 52px;
        right: 0.82rem;
        bottom: 0.92rem;
    }


    .footer-grid > section {
        width: min(420px, 100%);
    }
}

/* Mali telefoni (stari Android, iPhone SE) */
@media (max-width: 480px) {
    .container {
        width: calc(100% - 1.25rem);
    }
    .site-nav-art img {
        width: min(280px, 85vw);
        min-width: 200px;
        max-width: 95%;
    }
    .header-motto {
        font-size: clamp(1.15rem, 5vw, 1.45rem);
    }
    .atmosphere-video-glass-logo {
        max-width: min(78%, 220px);
        max-height: 24vh;
    }
}

/* Veoma mali ekrani (320px) */
@media (max-width: 360px) {
    .site-nav-art img {
        width: min(260px, 90vw);
    }
    .atmosphere-video-glass-logo {
        max-width: min(75%, 180px);
        max-height: 22vh;
    }
}

/* Tableti (iPad portret, Android tablet) */
@media (min-width: 761px) and (max-width: 1024px) {
    .container {
        width: min(var(--container), calc(100% - 3.5rem));
    }
    .site-nav-art img {
        width: clamp(220px, 28vw, 300px);
    }
}

/* iPad landscape, mali laptopovi */
@media (min-width: 1025px) and (max-width: 1280px) {
    .container {
        width: min(var(--container), calc(100% - 4rem));
    }
}

/* Touch uređaji – veće tap područje (iOS, Android) */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .menu-toggle,
    .quick-nav {
        min-height: 44px;
        min-width: 44px;
    }
    .site-nav a {
        min-height: 44px;
        padding-top: 0.9rem;
        padding-bottom: 0.9rem;
    }
    .contact-card {
        min-height: 116px;
    }
    .faq-list summary {
        min-height: 44px;
        padding-top: 0.85rem;
        padding-bottom: 0.85rem;
    }
    .btn {
        padding: 0.85rem 1.75rem;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
        filter: none;
    }

    [data-reveal].reveal-static-box > * {
        opacity: 1;
        transform: none;
        filter: none;
    }
}
