/* ==========================================================================
   Super Osmica - Static Site Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   Font Face Declarations - Seagal Font Family
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Seagal';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../assets/fonts/SEAGAL-LIGHT.TTF') format('truetype');
}

@font-face {
  font-family: 'Seagal';
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url('../assets/fonts/SEAGAL-LIGHTOBLIQUE.TTF') format('truetype');
}

@font-face {
  font-family: 'Seagal';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/SEAGAL-ROMAN.TTF') format('truetype');
}

@font-face {
  font-family: 'Seagal';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/SEAGAL-OBLIQUE.TTF') format('truetype');
}

@font-face {
  font-family: 'Seagal';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/SEAGAL-MEDIUM.TTF') format('truetype');
}

@font-face {
  font-family: 'Seagal';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/SEAGAL-MEDIUMOBLIQUE.TTF') format('truetype');
}

@font-face {
  font-family: 'Seagal';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/SEAGAL-SEMIBOLD.TTF') format('truetype');
}

@font-face {
  font-family: 'Seagal';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/SEAGAL-SEMIBOLDOBLIQUE.TTF') format('truetype');
}

@font-face {
  font-family: 'Seagal';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/SEAGAL-BOLD.TTF') format('truetype');
}

@font-face {
  font-family: 'Seagal';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/SEAGAL-BOLDOBLIQUE.TTF') format('truetype');
}

/* --------------------------------------------------------------------------
   Font Face Declarations - Inter Font Family (self-hosted)
   -------------------------------------------------------------------------- */
/* latin-ext (includes č, š, ž for Slovenian) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/inter/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/inter/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   CSS Variables / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --color-primary: #348467;
  --color-primary-light: #9acbae;
  --color-primary-dark: #2a6b52;
  --color-white: #ffffff;
  --color-black: #3A3A3A;
  --color-beige: #D2C9B9;
  --color-beige-light: #F5EFE5;
  --color-gray: #3A3A3A;
  --color-gray-light: #abb8c3;
  
  /* Typography */
  --font-primary: 'Seagal', Georgia, 'Times New Roman', serif;
  --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.5rem;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --header-height: 160px;
  --header-height-sticky: 60px;
  
  /* Z-index */
  --z-header: 100;
  --z-offcanvas: 200;
  --z-overlay: 150;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-secondary);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-black);
  background-color: var(--color-beige-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.page--home {
  background-color: var(--color-white);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary);
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
}

/* Outline text effect for h2 */
h2 {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--color-primary);
  font-size: clamp(var(--font-size-3xl), 5vw, var(--font-size-5xl));
  font-weight: 700;
}

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--fluid {
  max-width: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background: transparent;
  transition: all var(--transition-base);
}

.header--sticky {
  background: var(--color-white);
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16.8px 22.4px; /* 30% smaller: 24px * 0.7 = 16.8px, 32px * 0.7 = 22.4px */
  min-height: var(--header-height);
  transition: all var(--transition-base);
}

.header--sticky .header__inner {
  min-height: var(--header-height-sticky);
  padding: 11.2px 22.4px; /* 30% smaller: 16px * 0.7 = 11.2px, 32px * 0.7 = 22.4px */
  align-items: center;
}

/* Header columns */
.header__start,
.header__center,
.header__end {
  flex: 1;
  display: flex;
  align-items: flex-start;
}

.header__start {
  justify-content: flex-start;
}

.header__center {
  justify-content: center;
}

.header__end {
  justify-content: flex-end;
}

/* Logo */
.logo {
  display: block;
  transition: all var(--transition-base);
}

.logo__image {
  height: auto;
  max-height: 120px;
  width: auto;
  transition: all var(--transition-base);
}

.logo__image--vertical {
  max-height: 140px;
}

.logo__image--horizontal {
  display: none;
  max-height: 60px;
}

.header--sticky .logo__image--vertical {
  display: none;
}

.header--sticky .logo__image--horizontal {
  display: block;
  max-height: 46.2px; /* 30% smaller than 66px: 66 * 0.7 = 46.2px */
}

/* Social icons in header */
.header__socials {
  display: none;
}

@media (min-width: 768px) {
  .header__socials {
    display: flex;
    gap: var(--space-md);
  }
}

/* Mobile: never show header social icons */
@media (max-width: 767px) {
  .header__socials {
    display: none !important;
  }
}

.social-icons {
  display: flex;
  gap: var(--space-sm);
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--color-white);
  transition: all var(--transition-fast);
}

/* Inner pages: icons need contrast on light background */
body:not(.page--home) .header:not(.header--sticky) .social-icons a {
  color: var(--color-primary);
}

body:not(.page--home) .header:not(.header--sticky) .social-icons a:hover {
  color: var(--color-primary-dark);
}

.header--sticky .social-icons a {
  color: var(--color-primary);
}

.social-icons a:hover {
  color: var(--color-primary-light);
}

.social-icons svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* Menu trigger button */
.menu-trigger {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.625rem 1.125rem;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-lg);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: all var(--transition-fast);
}

.menu-trigger:hover {
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.24);
}

.menu-trigger:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

.header__end {
  align-items: center;
  gap: var(--space-lg);
}

.lang-switcher--header {
  display: none;
  line-height: 1;
}

@media (min-width: 768px) {
  .lang-switcher--header {
    display: inline-flex;
  }
}

/* Mobile: never show header language switcher */
@media (max-width: 767px) {
  .lang-switcher--header {
    display: none !important;
  }
}

/* Homepage: show header language only when sticky */
.page--home .header:not(.header--sticky) .lang-switcher--header {
  display: none;
}

.page--home .header:not(.header--sticky) .menu-trigger {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.page--home .header:not(.header--sticky) .menu-trigger:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

.menu-trigger__icon {
  display: flex;
  flex-direction: column;
  gap: 4.5px;
  width: 20px;
}

.menu-trigger__icon span {
  display: block;
  height: 2.5px;
  background: currentColor;
  border-radius: 1.5px;
}

.menu-trigger__label {
  display: none;
}

@media (min-width: 768px) {
  .menu-trigger__label {
    display: inline;
  }
}

/* Header hover bounce (Mac-dock-style) */
.social-icons a,
.menu-trigger,
.menu-trigger__icon,
.header--sticky .logo {
  transition:
    color var(--transition-fast),
    background-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-icons a:hover,
.social-icons a:focus-visible {
  transform: translateY(-3px) scale(1.18);
}

/* Menu button: lift only (no scale on text), scale the icon inside */
.menu-trigger:hover,
.menu-trigger:focus-visible {
  transform: translateY(-2px);
}

.menu-trigger:hover .menu-trigger__icon,
.menu-trigger:focus-visible .menu-trigger__icon {
  transform: scale(1.2);
}

.header--sticky .logo:hover,
.header--sticky .logo:focus-visible {
  transform: translateY(-2px) scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .social-icons a:hover,
  .social-icons a:focus-visible,
  .menu-trigger:hover,
  .menu-trigger:focus-visible,
  .menu-trigger:hover .menu-trigger__icon,
  .menu-trigger:focus-visible .menu-trigger__icon,
  .header--sticky .logo:hover,
  .header--sticky .logo:focus-visible {
    transform: none;
  }
}

/* Mobile: make burger button square */
@media (max-width: 767px) {
  .menu-trigger {
    width: 46px;
    height: 46px;
    padding: 0;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   Offcanvas Menu
   -------------------------------------------------------------------------- */
.offcanvas-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: var(--z-overlay);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.offcanvas-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  height: 100dvh;
  background: var(--color-beige-light);
  z-index: var(--z-offcanvas);
  transform: translateX(100%);
  transition: transform var(--transition-base);
  overflow-y: auto;
  /* Smooth momentum scroll on iOS + keep scroll inside the panel (no body chain).
     On tall screens content fits → no scrollbar, identical to before. */
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.offcanvas.is-active {
  transform: translateX(0);
}

.offcanvas__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-sm);
}

.lang-switcher__link {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-gray);
}

.lang-switcher__link.is-active {
  color: var(--color-primary);
}

.lang-switcher__sep {
  color: var(--color-gray-light);
}

.offcanvas__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.offcanvas__close:hover {
  background: var(--color-primary-dark);
}

.offcanvas__close svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.offcanvas__content {
  padding: 0 var(--space-xl) var(--space-xl);
  /* Extra bottom clearance (incl. iOS safe-area) so the last schedule line
     always scrolls fully past the browser toolbar / home indicator.
     Invisible on tall screens where the menu doesn't need to scroll. */
  padding-bottom: calc(var(--space-2xl) + env(safe-area-inset-bottom, 0px));
}

/* Navigation menu */
.nav-menu {
  margin-bottom: var(--space-2xl);
}

/* Compact layout when viewport height is limited */
@media (max-height: 900px) {
  .offcanvas__header {
    padding: var(--space-sm) var(--space-lg);
  }

  .offcanvas__content {
    padding: 0 var(--space-lg) var(--space-md);
  }

  .nav-menu {
    margin-bottom: var(--space-xl);
  }

  .nav-menu__link {
    padding: 8px 0;
    font-size: var(--font-size-lg);
  }

  .contact-info {
    gap: var(--space-sm);
  }

  .contact-info__label {
    margin-bottom: var(--space-xs);
    font-size: 0.8rem;
  }

  .contact-info__value {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

/* Extra compact for moderate viewports */
@media (max-height: 800px) {
  .offcanvas__header {
    padding: 10px var(--space-lg);
  }

  .offcanvas__content {
    padding: 0 var(--space-lg) var(--space-sm);
  }

  .nav-menu {
    margin-bottom: var(--space-xl);
  }

  .nav-menu__link {
    padding: 8px 0;
    font-size: var(--font-size-base);
  }

  .contact-info {
    gap: 10px;
  }

  .contact-info__label {
    margin-bottom: 2px;
    font-size: 0.75rem;
  }

  .contact-info__value {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .offcanvas__close {
    width: 36px;
    height: 36px;
  }

  .offcanvas__close svg {
    width: 12px;
    height: 12px;
  }
}

/* Very compact for short viewports */
@media (max-height: 720px) {
  .offcanvas__header {
    padding: 8px var(--space-md);
  }

  .offcanvas__content {
    padding: 0 var(--space-md) 8px;
  }

  .nav-menu {
    margin-bottom: var(--space-lg);
  }

  .nav-menu__link {
    padding: 6px 0;
    font-size: 0.95rem;
  }

  .contact-info {
    gap: 8px;
  }

  .contact-info__icon {
    width: 18px;
    height: 18px;
  }

  .contact-info__label {
    margin-bottom: 1px;
    font-size: 0.7rem;
  }

  .contact-info__value {
    font-size: 0.8rem;
    line-height: 1.3;
  }
}

/* Ultra compact for very short viewports */
@media (max-height: 650px) {
  .offcanvas__header {
    padding: 6px var(--space-md);
  }

  .offcanvas__content {
    padding: 0 var(--space-md) 6px;
  }

  .nav-menu {
    margin-bottom: var(--space-md);
  }

  .nav-menu__link {
    padding: 4px 0;
    font-size: 0.9rem;
  }

  .contact-info {
    gap: 6px;
  }

  .contact-info__icon {
    width: 16px;
    height: 16px;
  }

  .contact-info__label {
    margin-bottom: 0;
    font-size: 0.65rem;
  }

  .contact-info__value {
    font-size: 0.75rem;
    line-height: 1.25;
  }

  .offcanvas__close {
    width: 32px;
    height: 32px;
  }

  .lang-switcher {
    font-size: 0.8rem;
  }
}

.nav-menu__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-menu__link {
  display: block;
  padding: 12px 0;
  font-family: var(--font-primary);
  font-size: var(--font-size-xl);
  font-weight: 500;
  color: var(--color-black);
  border-bottom: 1px solid var(--color-beige);
  transition: all var(--transition-fast);
}

.nav-menu__link:hover,
.nav-menu__link.is-active {
  color: var(--color-primary);
}

/* Contact info in offcanvas */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-info__item {
  display: flex;
  gap: var(--space-md);
}

.contact-info__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-primary);
}

.contact-info__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.contact-info__text {
  flex: 1;
}

/* Label + value on one line (e.g. "Telefon: +386 …") to save vertical space.
   The whitespace between the two spans renders as the separating space. */
/* All labels: same size + semibold for a consistent look */
.contact-info__label {
  display: inline;
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-gray);
}

/* Urnik wraps its label in <strong> — normalize it to the same semibold */
.contact-info__label strong {
  font-weight: inherit;
}

/* Naslov (first item) and Urnik (multi-line value) keep their label stacked
   above the value; same size as the inline ones, just on its own line. */
.contact-info__item:first-child .contact-info__label,
.contact-info__label:has(strong) {
  display: block;
  margin-bottom: var(--space-xs);
}

.contact-info__value {
  font-size: var(--font-size-base);
  color: var(--color-black);
}

.contact-info__value a:hover {
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   Main Content Area
   -------------------------------------------------------------------------- */
main {
  flex: 1;
  margin-top: var(--header-height);
}

.page--home main {
  margin-top: 0;
  padding-top: 0;
}

.page--home .hero {
  margin-top: 0;
}

section {
  padding: var(--space-3xl) 0;
}

/* Inner pages: tighter top spacing below fixed header */
body:not(.page--home) main > section:first-child {
  padding-top: var(--space-xl);
}

/* --------------------------------------------------------------------------
   Hero Section (Homepage)
   -------------------------------------------------------------------------- */
.hero {
  padding: 0;
  position: relative;
  height: 100vh;
  display: flex;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-height));
}

.hero__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  height: 100%;
}

@media (min-width: 768px) {
  .hero__wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

.hero__left {
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + var(--space-2xl)) var(--space-xl) var(--space-2xl);
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  --hero-watermark-offset-x: 56px;
  --hero-watermark-offset-y: 72px;
}

.hero__left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/hero-logo-overlay.webp');
  background-repeat: no-repeat;
  background-position: calc(100% + var(--hero-watermark-offset-x)) calc(100% + var(--hero-watermark-offset-y));
  background-size: clamp(440px, 56vw, 780px);
  opacity: 0.09;
  mix-blend-mode: multiply;
  filter: saturate(1.05);
  pointer-events: none;
  z-index: 0;
}

.hero__left::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 1.5px, transparent 1.5px);
  background-size: 100px 100px, 150px 150px;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.hero__right {
  background-color: var(--color-beige-light);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  overflow: hidden;
  position: relative;
}

/* Soft dark vignette in the top-right corner so the white menu button has
   guaranteed contrast against the building photo behind it (homepage hero). */
.hero__right::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Fixed-radius circle anchored at the top-right corner: solid dark
     plateau through the button area, then a soft dissolve into the photo. */
  background: radial-gradient(ellipse 320px 200px at top right,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.6) 40%,
    rgba(0, 0, 0, 0.3) 70%,
    transparent 100%);
  pointer-events: none;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero__right {
    min-height: 100vh;
  }
}

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

.hero__text {
  color: var(--color-white);
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.hero__title {
  font-family: var(--font-primary);
  font-size: clamp(2.5rem, 6vw, 6.25rem); /* 40px to 100px */
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--color-white);
  margin-bottom: var(--space-lg);
}

@media (min-width: 1200px) {
  .hero__title {
    font-size: 100px;
  }
}

.hero__subtitle {
  font-family: var(--font-primary);
  font-size: clamp(1.25rem, 4vw, 2rem); /* 20px to 32px */
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

@media (min-width: 1200px) {
  .hero__subtitle {
    font-size: 32px;
  }
}

.hero__description {
  font-size: clamp(var(--font-size-base), 2vw, var(--font-size-lg));
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: var(--space-xl);
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* --------------------------------------------------------------------------
   Hero Entrance Animation
   -------------------------------------------------------------------------- */
@keyframes heroCharIn {
  from { opacity: 0; transform: translateY(0.4em); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroSlideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

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

.hero__char {
  display: inline-block;
  opacity: 0;
  will-change: transform, opacity;
}

.hero.is-ready .hero__char {
  animation: heroCharIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--char-index, 0) * 55ms);
}

.hero__subtitle,
.hero__description,
.hero__buttons {
  opacity: 0;
}

.hero.is-ready .hero__subtitle {
  animation: heroSlideInLeft 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.85s;
}

.hero.is-ready .hero__description {
  animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 1.1s;
}

.hero.is-ready .hero__buttons {
  animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 1.3s;
}

@media (prefers-reduced-motion: reduce) {
  .hero__char,
  .hero__subtitle,
  .hero__description,
  .hero__buttons {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* --------------------------------------------------------------------------
   Subpage main heading reveal (slide-up + fade)
   -------------------------------------------------------------------------- */
.reveal-heading {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-heading.is-ready {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-heading {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Info blocks scroll reveal (homepage, below hero)
   -------------------------------------------------------------------------- */
.info-block {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.info-block.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .info-block {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-secondary);
  font-size: var(--font-size-base);
  font-weight: 500;
  text-align: center;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn--primary {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-beige-light);
  color: var(--color-primary);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn--outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn--green {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--green:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

/* Hero buttons: dock-style lift on hover (no scale → text stays crisp) */
.hero__buttons .btn {
  transition:
    color var(--transition-fast),
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero__buttons .btn:hover,
.hero__buttons .btn:focus-visible {
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .hero__buttons .btn:hover,
  .hero__buttons .btn:focus-visible {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Info Section (Homepage footer area)
   -------------------------------------------------------------------------- */
.info-section {
  background: #FBF8F2;
  padding: calc(var(--space-3xl) + var(--space-lg)) 0;
}

.info-section__grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: start;
}

@media (min-width: 768px) {
  .info-section {
    padding: calc(var(--space-3xl) + var(--space-xl)) 0;
  }

  .info-section__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3xl);
  }
}

.info-block {
  text-align: center;
  align-self: start;
}

.info-block__title {
  font-family: var(--font-primary);
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.info-block h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  opacity: 0.85;
}

.info-block__content {
  color: var(--color-gray);
  line-height: 1.8;
}

.info-block__content a {
  color: var(--color-primary);
  font-weight: 500;
}

.info-block__content a:hover {
  text-decoration: underline;
}

.info-block mark {
  background: none;
  color: var(--color-primary);
  font-weight: 500;
}

/* Tagline */
.tagline {
  font-family: var(--font-primary);
  font-size: var(--font-size-2xl);
  font-style: italic;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin: 0 0 var(--space-md) 0;
  line-height: 1.2;
}

/* Social icons block */
.social-icons-block {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.social-icons-block a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  color: var(--color-primary);
  transition: all var(--transition-fast);
}

.social-icons-block a:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.social-icons-block svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Partner logo */
.partner-logo {
  display: flex;
  justify-content: center;
  margin-top: var(--space-xl);
}

.partner-logo img {
  height: 55px;
  width: auto;
}

/* --------------------------------------------------------------------------
   Page Header (for inner pages)
   -------------------------------------------------------------------------- */
.page-header {
  padding: var(--space-3xl) 0 var(--space-lg);
  text-align: center;
  background: var(--color-beige-light);
}

.page-header__title {
  margin-bottom: 0;
}

/* Reduce gap between page header and next section (Menu/Gallery) */
.page-header + section {
  padding-top: var(--space-2xl);
}

@media (max-width: 767px) {
  .page-header {
    padding-bottom: var(--space-md);
  }

  .page-header + section {
    padding-top: var(--space-lg);
  }
}

/* --------------------------------------------------------------------------
   About Page
   -------------------------------------------------------------------------- */
.about-section {
  background: var(--color-beige-light);
}

.about-section__grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: start;
}

@media (min-width: 768px) {
  .about-section__grid {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
  }
}

.about-section__image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.about-section__content h2 {
  margin-bottom: var(--space-xl);
}

.about-section__text {
  color: var(--color-gray);
  font-size: var(--font-size-base);
  line-height: 1.8;
}

.about-section__text strong {
  color: var(--color-black);
}

/* --------------------------------------------------------------------------
   Gallery Page
   -------------------------------------------------------------------------- */
.gallery-section {
  background: var(--color-beige-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  grid-auto-flow: dense;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: var(--space-lg);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-auto-rows: 350px;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Tall items span 2 rows */
.gallery-item--tall {
  grid-row: span 2;
}

/* Wide items span 2 columns */
.gallery-item--wide {
  grid-column: span 2;
}

/* --------------------------------------------------------------------------
   Menu Page
   -------------------------------------------------------------------------- */
.menu-section {
  background: var(--color-beige-light);
}

.menu-section__images {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  max-width: 800px;
  margin: 0 auto;
}

.menu-section__image {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

/* --------------------------------------------------------------------------
   Legal Pages
   -------------------------------------------------------------------------- */
.legal-section {
  background: var(--color-beige-light);
  padding: var(--space-3xl) 0;
}

.legal-section__title {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--color-primary);
  font-size: clamp(var(--font-size-3xl), 5vw, var(--font-size-5xl));
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.legal-content h2 {
  color: var(--color-primary);
  -webkit-text-stroke: 0;
  font-size: var(--font-size-2xl);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-lg);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  color: var(--color-primary);
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-content p {
  color: var(--color-gray);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.legal-content ul {
  margin: var(--space-md) 0 var(--space-lg) var(--space-lg);
  list-style: disc;
}

.legal-content li {
  color: var(--color-gray);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.legal-content a {
  color: var(--color-primary);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--color-primary-dark);
}

.legal-content strong {
  color: var(--color-black);
  font-weight: 600;
}

.legal-updated {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-beige);
  text-align: center;
  color: var(--color-gray);
  font-size: var(--font-size-sm);
}

@media (max-width: 767px) {
  .legal-content {
    padding: var(--space-lg);
  }

  .legal-content ul {
    margin-left: var(--space-md);
  }
}

/* --------------------------------------------------------------------------
   Contact Page
   -------------------------------------------------------------------------- */
.contact-section {
  background: var(--color-beige-light);
}

.contact-section__grid {
  display: grid;
  gap: var(--space-2xl);
}

@media (min-width: 768px) {
  .contact-section__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }
}

/* Contact Form */
.contact-form {
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.contact-form h2 {
  margin-bottom: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-row {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 480px) and (max-width: 767px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tablet: stack form fields to prevent datetime input from distorting layout */
@media (min-width: 768px) and (max-width: 1023px) {
  .form-row--2 {
    grid-template-columns: 1fr;
  }
}

/* Desktop: two columns with proper spacing */
@media (min-width: 1024px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-black);
}

.form-label--required::after {
  content: ' *';
  color: #cf2e2e;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  font-family: inherit;
  font-size: var(--font-size-base);
  border: 1px solid var(--color-beige);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  transition: border-color var(--transition-fast);
  box-sizing: border-box;
  max-width: 100%;
}

/* Mobile: reduce horizontal padding for datetime inputs to prevent overflow */
@media (max-width: 767px) {
  .form-input[type="datetime-local"],
  .form-input[type="date"],
  .form-input[type="time"] {
    padding: var(--space-md) 2px;
    font-size: 14px;
  }
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.form-checkbox {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  font-size: var(--font-size-sm);
  color: var(--color-gray);
}

.form-checkbox input {
  margin-top: 3px;
  flex-shrink: 0;
}

/* Make the privacy-policy link clearly a link (green + underline) so it isn't
   mistaken for plain label text and clicked by accident when aiming for the box */
.form-checkbox a {
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: underline;
}

.form-checkbox a:hover {
  text-decoration: none;
}

.form-submit {
  margin-top: var(--space-lg);
}

/* Honeypot — visually hidden but not display:none (bots skip display:none) */
.form-group--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Form response message */
.form-message {
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-radius: 4px;
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

.form-message--success {
  background: #e8f3ec;
  color: var(--color-primary);
  border: 1px solid var(--color-primary-light);
}

.form-message--error {
  background: #fdecec;
  color: #b3261e;
  border: 1px solid #f5c2c0;
}

.is-error {
  border-color: #b3261e !important;
}

/* Contact Info Card */
.contact-card {
  padding: var(--space-xl);
}

.contact-card h2 {
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  -webkit-text-stroke: 0;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.contact-card__address {
  font-family: var(--font-secondary);
  font-size: var(--font-size-base);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
}

.contact-card__address strong {
  color: var(--color-black);
}

.contact-card__details {
  color: var(--color-gray);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

.contact-card__details a {
  color: var(--color-primary);
}

/* Promote the phone/email block to a Seagal display treatment so it reads
   as the column's focal CTA (matches .catering-aside__contact). */
.contact-card__details p:last-child {
  margin-top: var(--space-md);
  font-family: var(--font-primary);
  font-size: var(--font-size-lg);
  line-height: 1.6;
}

.contact-card__image {
  width: 100%;
  border-radius: var(--radius-md);
  margin-top: var(--space-lg);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--color-primary);
  padding: var(--space-lg) 0;
  color: #fff;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  text-align: center;
  max-width: none;
  padding: 0 var(--space-xl);
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 0 var(--space-xl);
  }
}

.footer-menu {
  display: flex;
  gap: var(--space-lg);
}

.footer-menu a {
  font-size: var(--font-size-sm);
  color: #fff;
}

.footer-menu a:hover {
  text-decoration: underline;
}

.footer__copyright {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  color: #fff;
}

.footer__copyright a {
  color: #fff;
  font-weight: 500;
}

.footer__copyright a strong {
  font-weight: inherit;
}

.footer__copyright a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .footer__copyright {
    justify-content: flex-end;
  }

  /* Separator bullet between copyright and credit (desktop only) */
  .footer__copyright a::before {
    content: '•';
    display: inline-block;
    margin-right: var(--space-sm);
    opacity: 0.55;
  }
}

/* --------------------------------------------------------------------------
   Responsive Utilities
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hide-desktop {
    display: none !important;
  }
}

/* Tablet-only line breaks for better text wrapping */
.tablet-br {
  display: none;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .tablet-br {
    display: inline;
  }
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn var(--transition-slow) ease forwards;
}

/* Staggered animation delays */
.animate-delay-1 { animation-delay: 100ms; }
.animate-delay-2 { animation-delay: 200ms; }
.animate-delay-3 { animation-delay: 300ms; }
.animate-delay-4 { animation-delay: 400ms; }

/* --------------------------------------------------------------------------
   Catering Page
   -------------------------------------------------------------------------- */
.catering-aside {
  padding: var(--space-md) 0;
}

@media (min-width: 768px) {
  .catering-aside {
    padding: var(--space-lg) 0 0 var(--space-lg);
  }
}

.catering-aside__title {
  font-size: clamp(var(--font-size-3xl), 5vw, var(--font-size-5xl));
  color: transparent;
  -webkit-text-stroke: 1.5px var(--color-primary);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 var(--space-lg);
}

.catering-aside__lead {
  color: var(--color-gray);
  font-size: var(--font-size-base);
  line-height: 1.8;
}

.catering-aside__lead p + p {
  margin-top: var(--space-md);
}

.catering-aside__contact {
  margin-top: var(--space-lg);
  font-family: var(--font-primary);
  font-size: var(--font-size-lg);
  line-height: 1.6;
}

.catering-aside__contact a {
  color: var(--color-primary);
}

.catering-aside__image {
  width: 100%;
  margin-top: var(--space-xl);
  border-radius: var(--radius-md);
  display: block;
}

/* Small URNIK-style form heading */
.form-heading {
  font-family: var(--font-primary);
  font-size: var(--font-size-lg);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  opacity: 0.85;
  margin-bottom: var(--space-lg);
}

/* Larger textarea for catering inquiries */
.form-textarea--lg {
  min-height: 160px;
}

/* Native select inherits .form-input styling but needs a custom arrow */
.form-input select,
select.form-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='none' stroke='%23348467' stroke-width='1.5' d='M1 1.5l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right var(--space-md) center;
  background-size: 12px 8px;
  padding-right: calc(var(--space-md) * 2 + 12px);
}

/* reCAPTCHA v3: hide the floating badge.
   Google's terms require a visible text disclosure on pages using reCAPTCHA
   when the badge is hidden — add the notice near each form's submit button. */
.grecaptcha-badge {
  visibility: hidden;
}

/* Required reCAPTCHA branding shown in place of the hidden badge.
   Grouped with the GDPR consent as light legal microcopy. */
.form-recaptcha-note {
  margin: var(--space-sm) 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--color-gray);
  opacity: 0.8;
}
