html {
    width: 100%;
    height: 100%;
    display: table;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

body {
    width: 100%;
    max-width: 100vw;
    display: table-cell;
    background-color: #000;
}

/* (hero scroll lock removed – intro no longer blocks scroll globally) */

:root {
    --hero-badge-anchor-size: 650px;
    --hero-video-height: 563px;
}

html, body {
    margin: 0;
    padding: 0;
}

body.scroll-lock {
    overflow: hidden !important;
}

* { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
 
@font-face {
    font-family: 'HeptaSlab';
    src: url('/fonts/heptaslab-medium.woff2') format('woff2'),
         url('/fonts/heptaslab-medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HeptaSlab';
    src: url('/fonts/heptaslab-semibold.woff2') format('woff2'),
         url('/fonts/heptaslab-semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/fonts/roboto-regular.woff2') format('woff2'),
         url('/fonts/roboto-regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BBHSansBogle';
    src: url('/fonts/bbhsans-bogle-regular.woff2') format('woff2'),
         url('/fonts/bbhsans-bogle-regular.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sacramento';
    src: url('/fonts/sacramento-regular.woff2') format('woff2'),
         url('/fonts/sacramento-regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.hide {
    display: none !important;
}

/* Cookie Consent Modal */
.cookie-consent-modal {
    position: fixed;
    bottom: 40px;
    left: 12%;
    width: 500px;
    max-width: calc(100vw - 40px);
    background-color: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: none;
    animation: slideUpCookie 0.3s ease-out;
}

.cookie-consent-modal.show {
    display: block;
}

@keyframes slideUpCookie {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent-content {
    padding: 24px;
}

.cookie-consent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.cookie-consent-header h3 {
    color: #fff;
    font-family: HeptaSlab;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.cookie-close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.cookie-close-btn:hover {
    opacity: 0.7;
}

.cookie-consent-body {
    margin-bottom: 20px;
}

.cookie-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.cookie-consent-footer {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    flex: 1;
    min-width: 100px;
    font-family: HeptaSlab;
    font-weight: 500;
    font-size: 0.8rem;
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
    margin-top: 0;
}

.cookie-btn-accept {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cookie-btn-accept:hover {
    background-color: #0b3d4d;
    border: 2px solid #0b3d4d;
    transition: 0.6s;
}

.cookie-btn-decline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cookie-btn-decline:hover {
    background-color: #0b3d4d;
    border: 2px solid #0b3d4d;
    transition: 0.6s;
}


@media screen and (max-width: 480px) {
    .cookie-consent-modal {
        bottom: 10px;
        left: 10px;
        right: 10px;
        width: auto;
        max-width: none;
    }
    
    .cookie-consent-content {
        padding: 20px;
    }
    
    .cookie-consent-footer {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}

/* Page nav: holder on right; rail is sticky 100vh wrapper, dots centered inside */
.main-section .page-nav-holder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    pointer-events: none;
    z-index: 40; /* below canvas-menu (z-index:100) */
    opacity: 1;
    transition: opacity 0.2s ease-out;
}

.smoke-bg-video-wrapper {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.2s ease-out;
}

.smoke-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.smoke-bg-hidden {
    opacity: 0;
}

.smoke-gradient-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1; /* above smoke video, below hero/gallery */
    opacity: 1;
    transition: opacity 0.2s ease-out, background 0.3s ease-out;
    /* default hero gradient: dark → lighter green, bottom to ~70% */
    background: linear-gradient(
        340deg,
        rgba(0, 60, 40, 0.8) 0%,
        rgba(0, 120, 80, 0) 70%
    );
}

.main-section .page-nav-rail {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    padding: 0 40px;
}

.main-section .page-nav-dots {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
}

.page-nav-circle {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    background-color: transparent;
    transition: opacity 0.3s ease;
}

@keyframes page-nav-line-reveal-45 {
    from { transform: translate(-50%, -50%) rotate(45deg) scaleY(0); }
    to { transform: translate(-50%, -50%) rotate(45deg) scaleY(1); }
}

@keyframes page-nav-line-reveal-minus45 {
    from { transform: translate(-50%, -50%) rotate(-45deg) scaleY(0); }
    to { transform: translate(-50%, -50%) rotate(-45deg) scaleY(1); }
}

.page-nav-circle.page-nav-circle-active::before,
.page-nav-circle.page-nav-circle-active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 18px;
    background: #fff;
    transform-origin: center center;
}

.page-nav-circle.page-nav-circle-active::before {
    animation: page-nav-line-reveal-45 0.25s ease-out forwards;
}

.page-nav-circle.page-nav-circle-active::after {
    transform: translate(-50%, -50%) rotate(-45deg) scaleY(0);
    animation: page-nav-line-reveal-minus45 0.25s ease-out 0.25s forwards;
}

.navigation {
    width: 100%;
    max-width: 100vw;
    height: 80px;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 90;
    align-items: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.header {
    width: 75%;
    max-width: 1900px;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
  
.header-logo {
    width:40px;
    fill: #fff;
    padding: 0 0 0 0;
}
     
.mobile-header {
    display: none;
}

.desktop-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.header-divider {
    width: 1px;
    height: 12px;
    background-color: #fff;
}

     
.hamburger {
    width: 60px;
    height: 60px;
    margin-right: -20px;
    padding: 0;
    background-color: transparent;
    color: transparent;
    border-color: transparent;
}

.ham {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 400ms;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  .hamRotate.active {
    transform: rotate(45deg);
  }
  .hamRotate180.active {
    transform: rotate(180deg);
  }
  .line {
    fill:none;
    transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
    stroke:#fff;
    stroke-width:3;
    stroke-linecap:round;
  }
  .ham1 .top {
    stroke-dasharray: 40 139;
  }
  .ham1 .bottom {
    stroke-dasharray: 40 180;
  }
  .ham1.active .top {
    stroke-dashoffset: -98px;
  }
  .ham1.active .bottom {
    stroke-dashoffset: -138px;
}

.canvas-menu {
      background-color:#000;
      left:0;
      top:0;
      width:100%;
      height:100vh;
      position: fixed;
      transform: translateX(-100%);
      transition: 0.3s;
      min-height: 600px;
      z-index:100; /* above navigation dots and other UI */
      opacity:1;
      overflow-y: hidden;
      display: none;
  }

/* When mobile menu is open, fade out page navigation dots */
.canvas-menu.menu-appears + #main-section .page-nav-holder {
    opacity: 0;
    pointer-events: none;
}
  
  .menu-appears {
    display: block;
    transform: translateX(0%);
    transition: 0.5s;
    min-height: 600px;
    z-index:5;
    opacity:1;
    overflow-y: hidden;
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    padding: 0 10% 0 10%;
    height: 80%;
    position: relative;
}

.mobile-menu-copyright {
    font-family: HeptaSlab;
    font-size: 0.7rem;
    color: #888;
    margin: 0;
    align-self: flex-start;
    position: absolute;
    bottom: 0;
    left: 10%;
    opacity: 1;
}

.mobile-menu-back {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.mobile-menu-back-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

H1 H2 H3 H4 H5{
    font-family: HeptaSlab;
    font-weight: 500;
    font-style: normal;
 }

 :-webkit-any(article, aside, nav, section) h1 {
    margin-block-start: 0em;
    margin-block-end: 0em;
}
 
a{
    color: white;
   -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.button {
    font-family: HeptaSlab;
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid transparent;
    color: #fff;
    border-radius: 50px;
    cursor: pointer;
    transition: border 0.05s ease-out 0s, background 0.05s ease-out 0s;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
}

.button:after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    color: #fff;
}

.button.animate:after {
    animation: slideUp 1s cubic-bezier(0.76, 0, 0.24, 1) forwards;
    animation-delay: 0.3s;
}

.button.animate {
    border-color: #fff;
    transition: border-color 0.6s ease-out;
    transition-delay: 0.8s;
}

.button.animate:not(:hover) {
    transition: border 0.05s ease-out 0s, background 0.05s ease-out 0s !important;
    transition-delay: 0s !important;
}

.button.animate:hover {
    transition: border 0.3s ease-out 0s, background 0.3s ease-out 0s !important;
    transition-delay: 0s !important;
}

.button:hover {
    background: rgba(255, 255, 255, .2);
    border: 2px solid rgba(255, 255, 255, .2) !important;
    backdrop-filter: blur(10px);
    transition: border 0.2s ease-out 0s, background 0.2s ease-out 0s !important;
    transition-delay: 0s !important;
}

.button:hover:after {
    color: #fff;
    transition: 0.4s;
    filter: drop-shadow(3px 2px 2px #000);
}

/* removed .button-socials / .social-icon / .button-socials-container */
 
p{
    font-family: Roboto;
    font-weight: 400;
    font-size: 1rem;
    display: block;
    margin-block-start: 0em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

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

.black {
    color: #000;
}

.white {
    color: #fff;
}

.headline {
    font-family: HeptaSlab;
    font-size: 5rem;
    text-align: center;
    line-height: 1;
    font-weight: 600;
    z-index: 3;
    color: #fff;    
}

.headline-span {
    font-family: HeptaSlab;
    font-weight: 700;
    font-style: italic;
}

H1 {
    font-family: HeptaSlab;
    font-size: 10rem;
    line-height: 1.3;
    font-weight: 700;
}

H2{font-family: HeptaSlab;
    font-size: 2rem;
    font-weight: 500;
}
 
H3{font-family: HeptaSlab;
    font-size: 2.2rem;
    font-weight: 500;
}

.text-link{
    font-family: HeptaSlab;
    font-weight: 500;
    font-style: normal;
    text-decoration: none;
}

.tl-desktop {
    font-size: 0.8rem;
    position: relative;
    display: inline-block;
}

.tl-desktop::before,
.tl-desktop::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.4s ease-out;
    transform: rotate(-4deg);
    transform-origin: left center;
}

.tl-desktop::after {
    bottom: -10px;
    transition-delay: 0.2s;
}

.tl-desktop:hover::before,
.tl-desktop:hover::after {
    width: 100%;
}

/* Social links in socials section: same hover-line effect as desktop menu links */
.socials-text-link {
    position: relative;
    display: inline-block;
    color: #fff;
    font-size: 0.8rem;
    margin-top: 20px;
}

.socials-text-link::before,
.socials-text-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.4s ease-out;
    transform: rotate(-4deg);
    transform-origin: left center;
}

.socials-text-link::after {
    bottom: -10px;
    transition-delay: 0.2s;
}

.socials-text-link:hover::before,
.socials-text-link:hover::after {
    width: 100%;
}

@media screen and (max-width: 780px) {
    .socials-text-link {
        margin-top: 10px;
    }
}

.tl-desktop-inactive {
    font-family: HeptaSlab;
    font-weight: 500;
    font-style: normal;
    text-decoration: none;
    font-size: 0.8rem;
    position: relative;
    display: inline-block;
    color: #888;
}

/* Mobile menu links */
.tl-mobile {
    font-size: 2.2rem;
    position: relative;
    display: block;
    color: #fff;
    transform: none;
}

.tl-mobile:active,
.tl-mobile:focus,
.tl-mobile:active:hover,
.tl-mobile:focus:hover {
    text-decoration: none;
    outline: none;
}

.tl-mobile:active::after,
.tl-mobile:focus::after {
    text-decoration: none;
}

.tl-mobile-language:active,
.tl-mobile-language:focus,
.tl-mobile-language:active:hover,
.tl-mobile-language:focus:hover {
    text-decoration: none;
    outline: none;
}

/* Removed tl-mobile open animations; keep ::after unused */

.mobile-menu .tl-mobile {
    display: block;
    align-self: flex-start;
    text-align: left;
}

.mobile-menu-divider {
    width: 100%;
    height: 1px;
    background-color: #666;
    margin: 20px 0;
    align-self: flex-start;
    opacity: 1;
}

.mobile-menu-language-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    align-self: flex-start;
}

.tl-mobile-language {
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-family: HeptaSlab;
    font-weight: 500;
    text-align: left;
    transform: none;
}

/* Mobile menu opening text animation (same style as hero headline) */
.mobile-menu-headline-prep .menu-open-char {
    display: inline-block;
    transform: translate3d(0, 100vh, 0);
    transform-origin: 50% 50%;
    will-change: transform;
    transition: transform 0.4s cubic-bezier(0.22, 0.9, 0.3, 1);
}

.canvas-menu.menu-appears.menu-links-enter .mobile-menu-headline-prep .menu-open-char {
    transform: translate3d(0, 0, 0);
}

/* After the first time the mobile canvas menu links animate,
   keep them in their final position even when the menu is closed. */
.canvas-menu.menu-links-animated-once .mobile-menu-headline-prep .menu-open-char {
    transform: translate3d(0, 0, 0);
}

.tl-mobile-language::before,
.tl-mobile-language::after {
    display: none;
}

.tl-mobile-inactive {
    font-family: HeptaSlab;
    font-weight: 500;
    font-style: normal;
    text-decoration: none;
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
    color: #888;
    text-align: left;
    pointer-events: none;
    cursor: pointer;
    transform: none;
}

.text-link:hover{
   color: #fff;
   transition: 0.3s;
}

.text-link:hover{
   color: #fff;
   transition: 0.3s;
}

.text-link.tl-mobile:hover::after {
    color: #fff;
}

.main-section {
    display: block;
    position: relative;
}

.hero-section {
    width: 100%;
    max-width: 100vw;
    position: absolute;
    top: 0;
    z-index: 1;
    /* keep hero content visible below fixed navigation */
    padding-top: 100px;
}

.hero-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-layer-empty {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    min-height: 1080px;
    z-index: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    --hero-scale-progress: 0;
    --hero-brightness: 1;
}

/* Video: base size, scales on scroll */
.hero-layer-empty .hero-video-wrapper {
    position: relative;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    height: 80vh;
    max-height: 100vh;
}

.hero-layer-empty .hero-video-wrapper .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gallery: full viewport, never scaled; above hero video so distortion/gallery visible */
.hero-layer-empty .hero-gallery-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 12;
    opacity: 1;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.7s ease-out;
}

.hero-layer-empty .hero-gallery-layer canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.hero-layer-empty .hero-gallery-layer.hero-gallery-reveal {
    clip-path: inset(0 0 0 0);
}


/* Depth gallery canvas is injected by JS inside .hero-gallery-layer */

.hero-layer-empty .hero-gallery-img {
    display: none;
}

.floath-img-1 {
    width: 200px;
    object-fit: cover;
    filter: brightness(0.6);
}

.floath-img-2 {
    width: 180px;
    object-fit: cover;
    filter: brightness(0.4);
}

.floath-img-3 {
    width: 140px;
    object-fit: cover;
    filter: brightness(0.2);
}

.hero-layer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* anchor hero content to top, not center */
    pointer-events: none;
}

.hero-layer-content .hero-video-wrapper,
.hero-layer-content .hero-video,
.hero-layer-content .hero-text,
.hero-layer-content .hero-badge-container {
    pointer-events: auto;
}

.hero-video-wrapper {
    width: 260px;
    aspect-ratio: 1000 / 1280;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Distortion reveal has been removed; no dedicated canvas styling needed */

.hero-video {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.2);
    opacity: 1;
    transform-origin: center center;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.hero-text {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: start;
    text-align: left;
    z-index: 10;
    overflow: visible;
}

/* Open status badge - hero section */
.hero-badge-container {
    position: relative;
    transform: none;
    z-index: 10;
    pointer-events: auto;
    transition: opacity 0.2s ease;
}

.hero-badge-container.hero-badge-scrolled {
    opacity: 0;
    pointer-events: none;
}


.open-status-badge {
    flex-shrink: 0;
    z-index: 4;
    overflow: visible;
    transform: translateY(-10px) translateX(5px) rotate(-3deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
    filter: grayscale(0);
    opacity: 0;
    visibility: visible;
    position: relative;
    cursor: default;
}

@media screen and (min-width: 1025px) {
    html[lang="hr"] .open-status-badge {
        transform: translateY(20px) translateX(5px) rotate(-3deg);
    }
}


.open-status-value {
    display: inline-block;
    margin: 0;
    margin-top: -0.4em;
    line-height: 1.05;
    font-family: 'Sacramento', cursive;
    font-size: 4rem;
    text-transform: small-caps;
    font-weight: 500;
    color: #1a1a1a;
    transition: color 0.4s ease, transform 0.25s ease, filter 0.25s ease;
    text-align: center;
    position: relative;
    z-index: 1;
    width: max-content;
    white-space: nowrap;
    overflow: visible;
    max-width: none;
    opacity: 1;
}

.open-status-badge:hover .open-status-value,
.open-status-badge:focus-within .open-status-value,
.open-status-badge:focus .open-status-value {
    transform: scale(1.06) rotate(-1deg);
    filter: brightness(1.2);
}

.open-status-tooltip {
    position: absolute;
    bottom: calc(100% - 5px);
    left: calc(100% + 70px);
    display: block;
    width: 150px;
    min-height: 0;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px) scale(0);
    transform-origin: bottom center;
    transition: none;
    pointer-events: none;
    will-change: transform, opacity;
}

.open-status-tooltip-bubble {
    display: block;
    width: 100%;
    height: auto;
}

.open-status-tooltip-content {
    position: absolute;
    left: 5%;
    top: 6.95%;
    width: 81.1%;
    height: 60.25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0;
    color: #111;
    font-family: 'BBHSans-Bogle', Arial, sans-serif;
    font-size: 0.72rem;
    line-height: 1.2;
    text-align: center;
}

.open-status-tooltip-content > span {
    width: 100%;
    opacity: 0;
}

.open-status-badge:hover .open-status-tooltip {
    visibility: visible;
    animation: open-tooltip-cloud-pop 0.12s linear forwards;
}

.open-status-badge:hover .open-status-tooltip-content > span {
    animation: open-tooltip-text-in 0.08s ease 0.04s forwards;
}

.open-status-tooltip-title {
    font-family: 'HeptaSlab', serif;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.open-status-tooltip-label,
.open-status-tooltip-hours,
.open-status-tooltip-time {
    display: block;
}

.open-status-badge.open-status-closed .open-status-tooltip {
    min-width: 160px;
}

.open-status-badge.open-status-closed .open-status-tooltip-label,
.open-status-badge.open-status-closed .open-status-tooltip-hours,
.open-status-badge.open-status-closed .open-status-tooltip-time {
    display: none;
}

@keyframes open-tooltip-cloud-pop {
    0% {
        opacity: 0;
        transform: translate(-50%, 10px) scale(0);
    }
    85% {
        opacity: 1;
        transform: translate(-50%, 0) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
}

@keyframes open-tooltip-text-in {
    0% {
        opacity: 0;
        transform: translateY(6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.open-sign-writing-prep .open-sign-char {
    display: inline-block;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.75s cubic-bezier(0.22, 0.9, 0.3, 1);
    will-change: transform;
}

.open-status-badge.open-intro-visible .open-sign-char {
    transform: scaleX(1);
}

/* Slightly smaller open sign for Croatian version on all screens */
html[lang="hr"] .open-status-value {
    font-size: 3rem;
}

.open-status-value::after {
    content: '';
    position: absolute;
    bottom: 0.15em;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: left center;
    width: 110%;
    height: 3px;
    background: currentColor;
    border-radius: 999px;
    z-index: -1;
    transition: transform 0.65s ease-out;
}


.open-status-badge.open-intro-visible {
    opacity: 1;
}

.open-status-badge.open-intro-visible .open-status-value {
    color: #fff;
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 18px rgba(255, 255, 255, 0.92),
        0 0 28px rgba(255, 70, 70, 0.95),
        0 0 52px rgba(255, 70, 70, 0.82),
        0 0 78px rgba(255, 110, 110, 0.65);
    animation: neon-glow-pulse 3s ease-in-out infinite;
}

.open-status-badge.open-intro-visible .open-status-value::after {
    transform: translateX(-50%) scaleX(1);
    transition-delay: 0.18s;
}

.open-status-badge .open-status-value::after {
    box-shadow:
        0 0 5px #fff,
        0 0 11px rgba(255, 60, 60, 0.95),
        0 0 20px rgba(255, 100, 100, 0.75);
    animation: neon-glow-underline-pulse 3s ease-in-out infinite;
}

@keyframes neon-glow-pulse {
    0%, 100% {
        text-shadow:
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 18px rgba(255, 255, 255, 0.92),
            0 0 28px rgba(255, 70, 70, 0.95),
            0 0 52px rgba(255, 70, 70, 0.82),
            0 0 78px rgba(255, 110, 110, 0.65);
    }
    50% {
        text-shadow:
            0 0 10px #fff,
            0 0 18px #fff,
            0 0 28px rgba(255, 255, 255, 0.95),
            0 0 42px rgba(255, 70, 70, 1),
            0 0 72px rgba(255, 70, 70, 0.92),
            0 0 96px rgba(255, 110, 110, 0.75);
    }
}

@keyframes neon-glow-underline-pulse {
    0%, 100% {
        box-shadow:
            0 0 5px #fff,
            0 0 11px rgba(255, 60, 60, 0.95),
            0 0 20px rgba(255, 100, 100, 0.75);
    }
    50% {
        box-shadow:
            0 0 9px #fff,
            0 0 16px rgba(255, 60, 60, 1),
            0 0 28px rgba(255, 100, 100, 0.9);
    }
}

.headline-anim {
    width: 100%;
    display: grid;
    align-self: center;
}

.subheading-holder {
    width: 560px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
    text-align: left;
    align-self: flex-start;
}

.subheading {
    font-family: HeptaSlab;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    position: relative;
    overflow: visible;
    color: #fff;
    text-align: left;
    width: 100%;
}

.subheading:after {
    content: none;
}

.hero-subheading {
    color: #fff !important;
    opacity: 1;
}

@keyframes slideUp {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes slideUpSocialIcon {
    0% {
        transform: translateY(200%);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes pop-word {
    to {
        transform: rotateX(0) scale(1);
    }
}

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

.hero-head {
    line-height: 1;
    margin: 0;
    position: relative;
    z-index: 1;
    width: 80%;
    perspective: 500px;
    text-align: left;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Bar section text aligned to start (left) */
#bar-section .section-text-block {
    align-items: start;
    text-align: left;
}

#bar-section .section-head {
    align-self: flex-start;
    text-align: left;
    align-items: flex-start;
}

#bar-section .section-text {
    text-align: left;
}

.hero-head > span {
    display: block;
    position: relative;
    color: #fff;
    line-height: 1;
    height: auto;
    margin-bottom: 8px;
    opacity: 1;
    transform: none;
    transform-origin: 50% 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: none;
}

.hero-head > span:nth-child(1) {
    animation-delay: 0s;
    white-space: nowrap;
}

.hero-head > span:nth-child(2) {
    animation-delay: 0.4s;
    margin-left: 0;
}

.hero-head > span:nth-child(3) {
    animation-delay: 0.8s;
    margin-left: 0;
}

/* Croatian version: hero headline in two rows */
html[lang="hr"] .hero-head > span:nth-child(1) {
    margin-bottom: 0;
}

html[lang="hr"] .hero-head > span:nth-child(2) {
    display: block;
    margin-left: 0;
    margin-top: 8px;
    margin-bottom: 0;
}

html[lang="hr"] .hero-head > span:nth-child(3) {
    display: block;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
    white-space: nowrap;
}

/* Keep Croatian hero headline as two clean rows (no extra wrapping). */
html[lang="hr"] .hero-head {
    width: 100%;
}

html[lang="hr"] .hero-head > span {
    white-space: nowrap;
}

@media screen and (max-width: 1680px) {
    .hero-head > span {
        margin-bottom: 4px;
    }
    
    .section-head > span {
        margin-bottom: 4px;
    }
    
    html[lang="hr"] .hero-head > span:nth-child(2) {
        margin-top: 4px;
    }

    html[lang="hr"] .hero-head > span:nth-child(3) {
        margin-top: 0;
    }

    html[lang="hr"] .hero-head {
        width: 100%;
    }

    /* Hero media size tuning for <= 1680px */
    .hero-layer-empty .hero-video-wrapper {
        height: 75vh; /* adjust as needed */
    }
}

.section-head {
    line-height: 1;
    perspective: 500px;
    text-align: right;
    align-self: flex-end;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* (removed >1680 max-width expansion) */

.section-head > span {
    display: block;
    position: relative;
    color: #fff;
    line-height: 1;
    height: auto;
    margin-bottom: 8px;
    opacity: 1;
    transform: none;
    transform-origin: 50% 100%;
}

.section-head > span:nth-child(2) {
    margin-left: 0;
}

/* Section text is static (no opening animation) */
.section-text {
    position: relative;
    overflow: visible;
    color: #fff;
    max-width: 40%;
    opacity: 1;
    margin-inline: 0;
    text-align: right;
}

.section-text:after {
    content: none;
}

.content-section {
    width: 100%;
    height: 100vh;
    min-height: 1080px;
    z-index: 1;
}

.section-layer {
    position: relative;
    width: 100%;
    height: 100%;
}

.section-layer-empty {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    padding: 90px 0;
}

.section-layer-empty-inner {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
}

.section-layer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.section-layer-content .section-text-block {
    pointer-events: auto;
}

.section-image-wrapper {
    z-index: 1;
    width: 260px;
    aspect-ratio: 1000 / 1280;
    position: relative;
    overflow: hidden;
}

.section-image-inner {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.section-text-block {
    width: 50%;
    min-width: 300px;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: end;
    overflow-x: clip;
}

.main-image-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    filter: blur(40px);
    transform: scale(1.2);
    transform-origin: center;
}

.section-image-inner .main-image {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure default brightness is 1 */
    filter: brightness(1);
    opacity: 0;
    z-index: 1;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.ribbon-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    padding: 80px 0 40px;
    overflow: hidden;
}

.ribbon {
    width: 105%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ribbon-one {
    transform: rotate(-1deg);
}

.ribbon-two {
    transform: rotate(1deg);
}



.ribbon-text-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 3;
    padding: 40px 0;
    gap: 20px;
    white-space: nowrap;
    /* GPU acceleration optimizations */
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.ribbon-text-link {
    text-decoration: none;
    cursor: pointer;
}

/* Disabled ribbon (menu not ready yet) */
a.ribbon-text-link[data-disabled="1"][aria-disabled="true"] {
    cursor: pointer; /* keep same hover UX as enabled */
}

.ribbon-soon-tooltip {
    position: fixed;
    z-index: 99999;
    pointer-events: none;
    background: #2a2a2a;
    color: #fff;
    font-size: 0.95rem;
    padding: 10px 14px;
    border-radius: 10px;
    white-space: nowrap;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    transform: translate(-50%, -100%);
    opacity: 0;
    transition: opacity 120ms ease-out;
}

.ribbon-soon-tooltip.rst-visible {
    opacity: 1;
}

.rtc-one {
    transform: rotate(-1deg) translate3d(-100px, 0, 0);
    will-change: transform;
    backface-visibility: hidden;
}

.rtc-two {
    /* Match ribbon-two angle so text aligns with the ribbon graphic */
    transform: rotate(1deg) translate3d(100px, 0, 0);
    will-change: transform;
    backface-visibility: hidden;
}

.ribbon-text {
    font-family: BBHSansBogle;
    font-size: 5.6rem;
    font-weight: 500;
}

/* On-scroll word reveal for section headlines (menu / bar / socials) */
.section-head > span {
    position: relative;
    display: inline-block;
    overflow: visible;
}

.section-head-word {
    display: inline-block;
    white-space: nowrap;
}

.section-head-char {
    display: inline-block;
    transform: translateY(120%) scaleY(2.3) scaleX(0.7);
    transform-origin: 50% 0%;
    opacity: 0;
    will-change: transform, opacity;
}

.section-head.section-head-animated .section-head-char {
    transform: translateY(0) scaleY(1) scaleX(1);
    opacity: 1;
}

.ribbon-text-one,
p.ribbon-text-one {
    color: #011a22;
}

.ribbon-text-two,
p.ribbon-text-two {
    color: #500501;
}


/* Make ribbon-text links look like regular text */
a.ribbon-text,
p.ribbon-text,
span.ribbon-text {
    text-decoration: none;
    cursor: pointer;
    transition: color 0.6s ease;
}

.ribbon-text-link span.ribbon-text {
    display: inline;
}

a.ribbon-text-one {
    color: #011a22;
}

a.ribbon-text-two {
    color: #500501;
}


/* Individual hover effects - only on text spans, not dots */
.ribbon-text-link.rtc-one .ribbon-text-one:hover {
    color: #000000;
}

.ribbon-text-link.rtc-one:has(.ribbon-text-one:hover) .ribbon-text-one:not(:hover),
.ribbon-text-link.rtc-one:has(.ribbon-text-one:hover) p.ribbon-text-one {
    color: #015560;
}

.ribbon-text-link.rtc-two .ribbon-text-two:hover {
    color: #1a0000;
}

.ribbon-text-link.rtc-two:has(.ribbon-text-two:hover) .ribbon-text-two:not(:hover),
.ribbon-text-link.rtc-two:has(.ribbon-text-two:hover) p.ribbon-text-two {
    color: #830006;
}


/* Lighten ribbon fill when links are hovered */
.ribbon {
    transition: filter 0.6s ease;
}

.ribbon-container:has(.ribbon-text-link.rtc-one .ribbon-text-one:hover) .ribbon-one,
.ribbon-container:has(.ribbon-text-link.rtc-two .ribbon-text-two:hover) .ribbon-two,
.ribbon-container:has(.ribbon-text-link.rtc-two .ribbon-text-three:hover) .ribbon-three {
    filter: brightness(1.3);
}

/* Fallback for browsers that don't support :has() - lighten ribbon when hovering over container */
.ribbon-container:has(.ribbon-text-link:hover) .ribbon {
    filter: brightness(1.3);
}

.ribbon-text-link:active {
    opacity: 0.8;
}

.ribbon-text-link:active .ribbon-text,
.ribbon-text-link:active p {
    opacity: 0.8;
}

.image-sequence {
    width: 100%;
    height: 350vh;
    min-height: 3780px;
    position: relative;
}

.image-sequence-container {
    width: 100%;
    height: 100vh;
    min-height: 1080px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    justify-items: center;
    position: sticky;
    gap: 18px;
    top: 0;
}

.image-sequence-item {
    width: 100%;
    height: 66%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.image-sequence-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    /* Keep pre-activation frames darker; active frame returns to full brightness */
    filter: brightness(0.5) blur(2px);
    transform: scale(1);
    /* Match the slower activation transition to avoid visible jumps on slow scrolling */
    transition: filter 0.4s ease, transform 1.4s ease;
    transform-origin: center;
} 

.image-sequence-scroll {
    filter: brightness(1);
    transform: scale(1.3);
    transition: filter 0.4s ease, transform 1.4s ease;
}

.image-sequence-item:hover .image-sequence-image {
    transform: scale(1) !important;
    transition: filter 0.4s ease, transform 2s ease;
}

.image-sequence-overlay {
    width: 100%;
    height: 60%;
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    z-index: 2;
    padding: 0px 50px;
    background: transparent;
    perspective: 500px;
}

.overlay-text {
    font-family: BBHSansBogle;
    font-size: 6rem;
    color: #fff;
    line-height: 0.9;
    position: relative;
    opacity: 0;
    transform: rotateX(120deg);
    transform-origin: 50% 100%;
    transition: transform 0.8s ease, font-size 0.8s ease;
}

.image-sequence-item.active .overlay-text {
    animation: show 0.01s forwards, pop-word 0.8s forwards;
    animation-timing-function: cubic-bezier(0.14, 1.23, 0.33, 1.16);
    animation-fill-mode: forwards;
}

.image-sequence-item:hover .overlay-text {
    font-size: 7.2rem;
}

.image-sequence-item.active .overlay-text:nth-child(1) {
    animation-delay: 0s;
}

.image-sequence-item.active .overlay-text:nth-child(2) {
    animation-delay: 0.5s;
}

/* Croatian version - make overlay text smaller on all viewports */
html[lang="hr"] .overlay-text {
    font-size: 5rem;
}

html[lang="hr"] .image-sequence-item:hover .overlay-text {
    font-size: 6rem;
}

.directions-section {
    width: 100%;
    padding: 200px 0 200px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-container-three {
    width: 50%;
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 80px;
    gap: 20px;
}

/* Directions section text centered */
.directions-section .text-container-three {
    align-items: center;
    text-align: center;
}

.directions-section .section-head {
    align-self: center;
    text-align: center;
    align-items: center;
}

.directions-section .section-text {
    text-align: center;
    margin-inline: auto;
}

.footer {
    width: 100%;
    padding: 100px 0 60px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-container {
    width: 75%;
    max-width: 1900px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.footer-logo {
    width: 140px;
    object-fit: cover;
}

.footer-content {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    border-top: 1px solid #262626;
    padding-top: 40px;
}



/* For small laptops */
@media screen and (max-width: 1920px) {


    
    .headline {
        font-size: 4rem;
    }

    .section-text-block {
        width: 35%;
        min-width: 500px;
        max-width: 45%;
    }
    

}



/* For small laptops */
@media screen and (max-width: 1680px) {

    .header-logo {
        width:40px;
    }
    p{
        font-size: 0.9rem;
    }

    H1 {
        font-size: 2rem;
    }

    .button {
        margin-top: 10px;
    }

    .header {
        width: 90%;
    }

    .hero-video-wrapper {
        width: 260px;
    }

    .hero-text {
        gap: 20px;
        width: 60%;
    }


    .headline {
        font-size: 3.4rem;
    }

    .subheadline {
        font-size: 2.2rem;
    }

    .subheading {
        font-size: 1rem;
    }

    .subheading-holder {
        width: 420px;
    }

    .content-section {
        padding: 0;
        min-height: 800px;
    }

    .hero-layer-empty {
        min-height: 800px;
    }

    .section-image-wrapper {
        width: 500px;
    }

    .section-text-block {
        width: 60%;
        min-width: 500px;
        max-width: 60%;
        gap: 20 px;
    }

    .section-text {
        max-width: 47%;
    }
    
    .main-image-background {
        filter: blur(10px);
        transform: scale(1);
    }

    .ribbon-container {
        padding: 40px 0;
    }

    .ribbon {
        width: 120%;
        min-width: 120%;
    }

    .ribbon-text {
        font-size: 4rem;
    }

    .image-sequence {
        width: 100%;
        height: 300vh;
        min-height: 2100px;
        position: relative;
    }

    .image-sequence-container {
        height: 100vh;
        min-height: 700px;
        gap: 16px;
    }

    .image-sequence-overlay {
        padding: 0 0px 0 30px;
    }
    
    .overlay-text {
        font-size: 4rem;
    }

    .image-sequence-item:hover .overlay-text {
        font-size: 5.2rem;
    }
    
    /* Croatian version - smaller overlay text */
    html[lang="hr"] .overlay-text {
        font-size: 3.7rem;
    }
    
    html[lang="hr"] .image-sequence-item:hover .overlay-text {
        font-size: 4.7rem;
    }

    .text-container-three {
        width: 40%;
        min-width: 500px;
        max-width: 40%;
        margin-bottom: 200px;
    }

    .directions-section {
        padding: 260px 0 100px 0;
    }

    .footer {
        padding: 60px 0 60px 0;
    }

    .footer-container {
        width: 90%;
    }


    .open-status-value {
        font-size: 3.4rem;
    }

}





/* For big tablets */
@media screen and (max-width: 1024px) {
    
    .navigation {
        height: 60px;
    }

    .header {
        width: 90%;
    }

    .header-logo {
        width:40px;
    }

    .canvas-menu {
        display: block;
    }

    .mobile-header {
        display: block;
    }

    .desktop-header {
        display: none;
    }

    .hero-layer-empty .hero-video-wrapper {
        height: 80vh;
        max-height: 100vh;
    }

    .hero-text {
        gap: 10px;
        width: 78%;
    }

    .headline {
        font-size: 3.6rem;
    }

    .subheadline {
        font-size: 2rem;
    }

    .subheading {
        font-size: 1rem;
    }

    .subheading-holder {
        width: 45%;
    }

    .hero-head {
        width: 100%;
    }

    .content-section {
        padding: 0;
        min-height: 700px;
    }

    .hero-layer-empty {
        min-height: 700px;
    }

    .section-image-wrapper {
        width: 500px;
    }

    .section-text-block {
        width: 30%;
        min-width: 800px;
        margin-bottom: 20px;
    }

    .section-text {
        max-width: 55%;
    }

    .ribbon {
        width: 180%;
        min-width: 180%;
    }

    .image-sequence {
        width: 100%;
        height: 300vh;
        min-height: 2100px;
        position: relative;
    }

    .image-sequence-container {
        height: 100vh;
        min-height: 700px;
        grid-template-columns: repeat(2, 1fr);
        padding: 10% 0;
        gap: 14px;
    }

    .image-sequence-item {
        width: 100%;
        height: 100%;
        overflow: hidden;
        position: relative;
        display: flex;
    }

    .image-sequence-overlay {
        padding: 0 0px 0 40px;
    }
    
    .overlay-text {
        font-size: 4rem;
    }

    .image-sequence-item:hover .overlay-text {
        font-size: 5.2rem;
    }

}





/* For tablets and mobile */
@media screen and (max-width: 768px) {

    .navigation {
        height: 60px;
    }
    
    .header {
        width: 90%;
        }

    .header-logo {
        width: 30px;
        margin-top: 1px;
    }

    .mobile-header {
        display: block;
    }

    .desktop-header {
        display: none;
    }

    .canvas-menu {
        min-height: 500px;
    }

    H1 {
        font-size: 2rem;
    }

    .headline {
        font-size: 3.2rem;
    }

    .hero-text{
        width: 90%;
        gap: 30px;
    }

    /* Keep page nav dots at bottom-right on mobile/tablet */
    .main-section .page-nav-holder {
        width: 100%;
        left: 0;
        right: 0;
    }

    .main-section .page-nav-rail {
        height: 100vh;
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        justify-content: flex-end;
        padding: 0 5% 40px 5%;
    }

    .main-section .page-nav-dots {
        flex-direction: column;
        align-items: flex-end;
        gap: 12px;
    }

    .hero-layer-empty .hero-video-wrapper {
        height: 85vh;
        max-height: 100vh;
    }

    .section-text-block {
        width: 80%;
        min-width: 200px;
        max-width: 80%;
        gap: 20px;
    }

    .section-text {
        max-width: 85%;
    }

    .text-container-three {
        width: 60%;
        min-width: 200px;
        max-width: 60%;
        margin-bottom: 80px;
        gap: 20px;
    }

    .section-image-wrapper {
        width: 460px;
    }

    .content-section {
        min-height: 550px;
    }

    .hero-layer-empty {
        min-height: 550px;
    }

    .ribbon {
        width: 220%;
        min-width: 220%;
    }

    .ribbon-container {
        padding: 30px 0;
    }

    .image-sequence-container {
        gap: 12px;
    }

    .overlay-text {
        font-size: 4rem;
    }

    /* Croatian version - smaller overlay text */
    html[lang="hr"] .overlay-text {
        font-size: 2.6rem;
    }
    
    html[lang="hr"] .image-sequence-item:hover .overlay-text {
        font-size: 2.8rem;
    }

    /* Mobile: same size text, static underline (no hover line animation) */
    .socials-text-link {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .socials-text-link::before,
    .socials-text-link::after {
        display: none;
    }


}





/* For big mobile phones */
@media screen and (max-width: 480px) {
    
    .navigation {
        height: 60px;
    }
    
    .header {
        width: 90%;
        }


    .mobile-header {
        display: block;
    }

    .desktop-header {
        display: none;
    }

    H1 {
        font-size: 2rem;
    }

    p{
        font-size: 0.85rem;
    }

    .tl-mobile {
        font-size: 1.8rem;
    }

    .tl-mobile-language {
        font-size: 1.4rem;
    }

    .tl-mobile-inactive {
        font-size: 1.4rem;
    }

    .button {
        font-size: 0.9rem;
        padding: 6px 10px;
        margin-top: 10px;
    }

    .headline {
        font-size: 2.2rem;
    }

    html[lang="hr"] .headline {
        font-size: 2.2rem; /* for example */
      }

    .subheading {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .subheading-holder {
        width: 80%;
    }

    html[lang="hr"] .subheading-holder {
        width: 70%; /* for example */
      }

    .hero-text {
        width: 90%;
        gap: 15px;
    }

    .main-section .page-nav-holder {
        width: 100%;
        left: 0;
        right: 0;
    }

    /* Keep dots at bottom-right */
    .main-section .page-nav-rail {
        height: 100vh;
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        justify-content: flex-end;
        padding: 0 5% 40px 5%;
    }

    .main-section .page-nav-dots {
        flex-direction: column;
        align-items: flex-end;
        gap: 12px;
    }

    .open-status-tooltip {
        width: 140px;
    }

    .content-section {
        height: 95vh;
        padding: 0;
        min-height: 450px;
    }

    .hero-layer-empty .hero-video-wrapper {
        height: 100vh;
        max-height: 100vh;
    }

    /* Softer smoke gradient on small mobiles: 50% height, 0.4 opacity at bottom */
    .smoke-gradient-overlay {
        background: linear-gradient(
            320deg,
            rgba(0, 60, 40, 0.4) 0%,
            rgba(0, 120, 80, 0) 50%
        );
    }

    .content-section {
        padding: 0;
    }

    .hero-layer-empty {
        height: 100vh;
        min-height: 450px;
    }

    .smoke-bg-video {
        filter: brightness(0.5);
    }

    .section-text-block {
        width: 90%;
        min-width: 200px;
        max-width: 90%;
        margin-bottom: 20px;
        gap: 10px;
    }

    .section-image-wrapper {
        width: 320px;
    }

    .section-image-inner .main-image {
        filter: brightness(0.4);
        transition: filter 0.8s ease;
        transform: none;
        transform-origin: top center;
    }

    .main-image-background {
        filter: blur(10px);
    }

    .ribbon-container {
        padding: 10px 0;
    }

    .ribbon {
        width: 300%;
        min-width: 300%;
        filter: drop-shadow(8px 8px 2px rgba(0, 0, 0, 0.6));
    }

    .ribbon-text-container {
        gap: 20px;
    }

    .ribbon-text {
        font-size: 2.8rem;
    }

    .rc-one {
        padding: 0 0 60px 0;
    }

    .image-sequence {
        width: 100%;
        height: 90vh;
        min-height: 500px;
        position: relative;
    }

    .image-sequence-container {
        height: 90vh;
        min-height: 500px;
        grid-template-columns: repeat(2, 1fr);
        padding: 5% 0 20% 0;
        gap: 10px;
    }

    .image-sequence-overlay {
        padding: 0 0px 0 20px;
    }
    
    .overlay-text {
        font-size: 2.4rem;
    }

    .image-sequence-item:hover .overlay-text {
        font-size: 3rem;
    }
    
    /* Croatian version - smaller overlay text */
    html[lang="hr"] .overlay-text {
        font-size: 1.8rem;
    }
    
    html[lang="hr"] .image-sequence-item:hover .overlay-text {
        font-size: 2rem;
    }

    .directions-section {
        padding: 140px 0 140px 0;
    }

    .text-container-three {
        width: 90%;
        min-width: 200px;
        max-width: 90%;
        margin-bottom: 40px;
        gap: 10px;
    }

    .footer {
        padding: 40px 0 40px 0;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
        align-items: center;
        justify-content: center;
    }
    
    /* Make divider horizontal when footer links are stacked */
    .footer-content .header-divider {
        width: 60px;
        height: 1px;
        margin: 10px 0;
    }
    
    /* Remove hover underline effects from footer links on mobile */
    .footer-content .tl-desktop::before,
    .footer-content .tl-desktop::after {
        display: none !important;
    }
    
    .footer-content .tl-desktop:hover::before,
    .footer-content .tl-desktop:hover::after {
        display: none !important;
        width: 0 !important;
    }
    
    .footer-content .tl-desktop:active,
    .footer-content .tl-desktop:focus,
    .footer-content .tl-desktop:active:hover,
    .footer-content .tl-desktop:focus:hover {
        text-decoration: none;
        outline: none;
    }

    .open-status-badge {
        transform: translateY(-8px) translateX(5px) rotate(-3deg);
        gap: 12px;
    }

    html[lang="hr"] .open-status-badge {
        transform: translateY(7px) translateX(5px) rotate(-3deg);
        gap: 12px;
    }
    
    .open-status-value {
        font-size: 3rem;
    }

    /* Slightly smaller open sign for Croatian version on all screens */
    html[lang="hr"] .open-status-value {
    font-size: 2.6rem;
    }


}



/* For big mobile phones */
@media screen and (max-width: 360px) {
    
    .navigation {
        height: 60px;
    }

    .header {
        width: 90%;
        }

    .header-logo {
        width:30px; 
    }

    .mobile-header {
        display: block;
    }

    .desktop-header {
        display: none;
    }

    H1 {
        font-size: 2rem;
    }

    .headline {
        font-size: 2rem;
    }

}

/* Privacy Policy Styles */
.privacy-policy-page {
    min-height: 100vh;
    background-color: #000;
    color: #fff;
    padding: 120px 10% 60px 10%;
}

@media screen and (max-width: 1024px) {
    .privacy-policy-page {
        padding-left: 5%;
        padding-right: 5%;
    }
}

@media screen and (max-width: 480px) {
    .privacy-policy-content h2 {
        margin-top: 20px;
    }
}

.privacy-policy-container {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-policy-header {
    margin-bottom: 60px;
}

.privacy-policy-header h1 {
    font-family: HeptaSlab;
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.privacy-policy-content {
    font-family: HeptaSlab;
    font-size: 1rem;
    line-height: 1.8;
    color: #fff;
}

.privacy-policy-content p {
    margin-bottom: 10px;
}

.privacy-policy-content h2 {
    font-family: HeptaSlab;
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-top: 40px;
    margin-bottom: 10px;
}

.privacy-policy-content ul {
    margin-left: 20px;
    margin-bottom: 10px;
    list-style-type: disc;
}

.privacy-policy-content li {
    font-family: Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 2px;
}

.privacy-policy-back-link {
    display: inline-block;
    margin-bottom: 40px;
    font-family: HeptaSlab;
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.privacy-policy-back-link:hover {
    opacity: 0.7;
}



