/* "O nama" — bela kuća (`icon-home.png`; Početna koristi `icon-nav-pocetna.png`) */
.navigation ul#main-menu li a span.icon.icon-aboutus {
  font-size: 0;
  line-height: 0;
  width: 49px;
  height: 24px;
  background: url("/application/themes/saigon/img/icon-home.png?v=3") center center no-repeat;
  background-size: contain;
  vertical-align: middle;
}
.navigation ul#main-menu li a span.icon.icon-aboutus:before {
  display: none !important;
  content: none !important;
}

/* Početna — beli zmaj + činija (transparentna pozadina) */
.navigation ul#main-menu li a span.icon.icon-home {
  font-size: 0;
  line-height: 0;
  width: 49px;
  height: 24px;
  background: url("/application/themes/saigon/img/icon-nav-pocetna.png?v=1") center center no-repeat;
  background-size: contain;
  vertical-align: middle;
}
.navigation ul#main-menu li a span.icon.icon-home:before {
  display: none !important;
  content: none !important;
}

/* Početna — Filozofija: beli linijski PNG → potpuno crn (brightness(0)), veći, više uz desnu ivicu */
section.home-section-1::after {
  display: none !important;
  content: none !important;
}
section.home-section-1 .home-section-1-mark {
  position: absolute;
  right: 0;
  bottom: max(118px, env(safe-area-inset-bottom, 0px));
  top: auto;
  left: auto;
  width: 200px;
  max-width: min(200px, 42vw);
  margin: 0;
  padding: 0;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 1;
}
section.home-section-1 .home-section-1-mark img {
  width: 100%;
  height: auto;
  max-height: min(300px, 52vh);
  object-fit: contain;
  object-position: right center;
  display: block;
  margin: 0;
  filter: brightness(0) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.2));
}
@media (max-width: 991px) {
  section.home-section-1 .special-text-area {
    position: relative;
    z-index: 3;
  }
  section.home-section-1 .home-section-1-mark {
    z-index: 1;
    opacity: 0.32;
  }
  section.home-section-1 .home-section-1-mark img {
    filter: brightness(0) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
  }
}
@media (max-width: 767px) {
  section.home-section-1 .home-section-1-mark {
    width: 148px;
    max-width: min(148px, 40vw);
    bottom: max(88px, env(safe-area-inset-bottom, 0px));
    opacity: 0.16;
  }
  section.home-section-1 .home-section-1-mark img {
    max-height: min(230px, 46vh);
    filter: brightness(0) drop-shadow(0 1px 6px rgba(0, 0, 0, 0.06));
  }
}
@media (max-width: 575px) {
  section.home-section-1 .home-section-1-mark {
    opacity: 0;
    visibility: hidden;
  }
}

/* Početna — sekcija Filozofija: malo veća slika */
section.home-section-1 .special-image-area {
  overflow: visible;
}
section.home-section-1 .special-image-area img.bID-180 {
  width: 100%;
  height: auto;
  transform: scale(1.08);
  transform-origin: center top;
}
@media (max-width: 767px) {
  section.home-section-1 .special-image-area {
    max-width: 100%;
  }
  section.home-section-1 .special-image-area img.bID-180 {
    transform: scale(1.04);
  }
}

/* Početna — home-section-2: ista boja (#804633), manji logo, dijagonalni raster (::before rotiran) */
section.home-section-2 {
  position: relative !important;
  background-color: #804633 !important;
  background-image: none !important;
  overflow: hidden;
}
section.home-section-2::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 220%;
  height: 220%;
  margin: 0;
  padding: 0;
  background-image: url("/branding/home-section-2-pattern.png?v=1");
  background-repeat: repeat;
  background-position: center center;
  -webkit-background-size: 40px 40px;
  -moz-background-size: 40px 40px;
  -o-background-size: 40px 40px;
  background-size: 40px 40px;
  -webkit-transform: translate(-50%, -50%) rotate(-32deg);
  -ms-transform: translate(-50%, -50%) rotate(-32deg);
  transform: translate(-50%, -50%) rotate(-32deg);
  mix-blend-mode: multiply;
  opacity: 0.26;
  pointer-events: none;
}
section.home-section-2 > * {
  position: relative;
  z-index: 1;
}

/* home-section-2: čitljiviji tekst — tamna ploča + senke (uzorak ispod slabiji) */
section.home-section-2 .text-desktop-right {
  max-width: 36em;
  padding: 1.55rem 1.85rem;
  background: rgba(22, 11, 8, 0.9);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 6px 28px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
@media (min-width: 768px) {
  section.home-section-2 .text-desktop-right {
    margin-left: auto;
  }
}
section.home-section-2 .text-desktop-right h2 {
  color: #fff;
  font-size: clamp(1.55rem, 2.75vw, 2.1rem);
  line-height: 1.3;
  font-weight: bold;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.45),
    0 2px 14px rgba(0, 0, 0, 0.55);
}
section.home-section-2 .text-desktop-right p {
  font-size: 1.1875rem;
  line-height: 1.75;
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.4),
    0 2px 12px rgba(0, 0, 0, 0.5);
}
@media (min-width: 992px) {
  section.home-section-2 .text-desktop-right p {
    font-size: 1.25rem;
  }
}
#wrapper #content section.home-section-2 .text-desktop-right hr:after {
  background: #fff !important;
}

/* Početna — teaser: Google recenzije 5,0 + dugme (centrirano, kartica) */
#teaser-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.75rem;
}
#teaser-content hr {
  width: 100%;
  max-width: 420px;
  height: 3px;
  margin: 0;
  border: 0;
  background: #fff;
  color: #fff;
  opacity: 1;
  flex-shrink: 0;
  align-self: stretch;
  box-shadow: none;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
#teaser-content .teaser-reviews {
  color: #fff;
  width: 100%;
  max-width: 300px;
  margin: 0;
  flex-shrink: 0;
  align-self: center;
  box-sizing: border-box;
  padding: 1.35rem 1.5rem 1.5rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.32);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
}
#teaser-content .teaser-reviews-label {
  font-size: 11px;
  font-weight: 700;
  margin: 0 0 0.85rem 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.92;
}
#teaser-content .teaser-reviews-stars {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  color: #f5c518;
  font-size: 19px;
  line-height: 1;
  margin: 0 0 0.65rem 0;
}
#teaser-content .teaser-reviews-stars .fa-star {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}
#teaser-content .teaser-reviews-scoreline {
  margin: 0 0 0.5rem 0;
  line-height: 1.15;
  font-weight: 700;
}
#teaser-content .teaser-reviews-score {
  font-size: 2.35rem;
  letter-spacing: -0.02em;
}
#teaser-content .teaser-reviews-outof {
  font-size: 1.05rem;
  font-weight: 400;
  opacity: 0.88;
}
#teaser-content .teaser-reviews-note {
  font-size: 12.5px;
  line-height: 1.45;
  margin: 0;
  max-width: 240px;
  opacity: 0.88;
}
#teaser-content .teaser-reviews-cta {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 300px;
  align-self: center;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
}
#teaser-content .teaser-reviews-cta .btn {
  width: 100%;
  max-width: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

/* Početna — teaser / .innerteaser: čitljivije na telefonu */
@media (max-width: 991px) {
  #teaser.home #teaser-content {
    gap: 1rem;
  }
}

@media (max-width: 650px) {
  #teaser.home {
    height: auto !important;
    min-height: 0;
    padding-bottom: 0 !important;
    overflow: visible;
  }
  #teaser.home .innerteaser {
    min-height: 0;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.38) 42%,
      rgba(0, 0, 0, 0.22) 100%
    );
  }
  #teaser.home .innerteaser > .container {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }
  #teaser.home #teaser-content {
    max-width: none !important;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 0 1.15rem !important;
    gap: 1.05rem;
    align-items: stretch;
  }
  #teaser.home #teaser-content .teaser-reviews {
    max-width: none;
    width: 100%;
    padding: 1.1rem 1rem 1.2rem;
    border-radius: 14px;
  }
  #teaser.home #teaser-content .teaser-reviews-label {
    font-size: 10px;
    letter-spacing: 0.12em;
    margin-bottom: 0.65rem;
  }
  #teaser.home #teaser-content .teaser-reviews-score {
    font-size: 2rem;
  }
  #teaser.home #teaser-content .teaser-reviews-cta {
    max-width: none;
    width: 100%;
  }
  #teaser.home #teaser-content .teaser-reviews-cta .btn {
    min-height: 48px;
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 10px;
  }
  /* Slika jela: u toku dokumenta, centrirano (umesto apsolutnog „odsecanja”) */
  #teaser.home #teaser-speise {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: min(88vw, 300px) !important;
    max-width: 100%;
    padding: 4px 12px 32px;
    box-sizing: border-box;
  }
  #teaser.home #teaser-speise img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  #teaser.home #teaser-speise:after {
    display: none;
  }
  #teaser.home #follow-us {
    position: relative;
    margin-top: -12px;
  }
}

@media (max-width: 380px) {
  #teaser.home #teaser-content .teaser-reviews-note {
    font-size: 11.5px;
  }
}

/* Ugrađena mapa (OSM) na tačnoj adresi — umesto statičnog google-map.jpg */
#google-map {
  background: none !important;
  padding: 0;
  overflow: hidden;
}
#google-map .google-map-frame {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
  display: block;
  vertical-align: top;
}
/* main.css #google-map a rasteže sve linkove na ceo blok — lomi Leaflet +/− i attribution */
#google-map a:not(.google-map-external) {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  width: auto !important;
  height: auto !important;
  max-width: none;
}
#google-map a.google-map-external {
  position: absolute;
  left: auto;
  right: 14px;
  top: auto;
  bottom: 14px;
  width: auto;
  height: auto;
  padding: 10px 16px;
  background: rgba(62, 72, 39, 0.96);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  z-index: 2000;
  line-height: 1.2;
}
#google-map .leaflet-container {
  font-family: inherit;
  background: #dde5d4;
}
#google-map a.google-map-external:hover,
#google-map a.google-map-external:focus {
  background: rgba(94, 103, 56, 0.98);
  color: #fff !important;
  text-decoration: none !important;
}

/* Leaflet zoom: samo jasan + i − (bez mešanja sa ikonama fonta) */
#google-map .leaflet-control-zoom-in span,
#google-map .leaflet-control-zoom-out span {
  font-size: 0 !important;
  line-height: 0 !important;
  overflow: hidden;
  display: inline-block;
  width: 100%;
  text-align: center;
  vertical-align: middle;
}
#google-map .leaflet-control-zoom-in span::before {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  line-height: 26px;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: #333;
}
#google-map .leaflet-control-zoom-out span::before {
  content: '\2212';
  font-size: 22px;
  font-weight: 400;
  line-height: 26px;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: #333;
}

/* Početna — Instagram: zvanični embed profila @najnajnudle (mreža + klik na objavu) */
.home-section-instagram .instagram-feed-wrap {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}
.home-section-instagram .instagram-zaprati-btn {
  margin-bottom: 1.25rem;
  text-align: center;
}
.home-section-instagram .instagram-zaprati-btn .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.home-section-instagram .instagram-profile-embed {
  width: 100%;
  max-width: 100%;
  height: 580px;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  display: block;
  background: #000;
  color-scheme: dark;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
@media (max-width: 767px) {
  .home-section-instagram .instagram-profile-embed {
    height: 520px;
    border-radius: 6px;
  }
}

/* Header — mobilni meni (≤650px): panel, veći tap, jezik ne prekriva hamburger */
@media (max-width: 650px) {
  #top .navigation {
    position: relative;
    z-index: 20;
  }
  #top .main-menu-btn {
    top: max(12px, env(safe-area-inset-top, 0px));
    right: max(4px, env(safe-area-inset-right, 0px));
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #top .main-menu-btn:active {
    background: rgba(255, 255, 255, 0.22);
  }
  #main-menu-state:checked ~ .main-menu-btn {
    background: rgba(255, 255, 255, 0.24);
  }
  #top .main-menu-btn .main-menu-btn-icon {
    left: 50%;
    margin-left: -20px;
    top: 50%;
    margin-top: -1px;
  }
  #top .main-menu-btn .main-menu-btn-icon:before,
  #top .main-menu-btn .main-menu-btn-icon:after {
    left: 0;
  }
  #top #language {
    display: block;
    top: max(14px, env(safe-area-inset-top, 0px));
    right: calc(48px + max(10px, env(safe-area-inset-right, 0px)));
    bottom: auto;
    z-index: 21;
  }
  #top #language .ccm-block-switch-language-flags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.35);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }
  #top #language .ccm-block-switch-language-flags a,
  #top #language .ccm-block-switch-language-flags span {
    padding: 4px 8px !important;
    font-size: 14px !important;
    border-radius: 6px;
  }
  #top #language .ccm-block-switch-language-flags a:hover,
  #top #language .ccm-block-switch-language-flags a:focus {
    background: rgba(255, 255, 255, 0.1);
  }
  #main-menu-state:checked ~ #main-menu {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 12px 0 0 0;
    padding: 6px 0;
    list-style: none;
    background: rgba(22, 11, 8, 0.94);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
      0 18px 48px rgba(0, 0, 0, 0.45),
      inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
  #top .navigation ul#main-menu li {
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  #top .navigation ul#main-menu li:last-child {
    border-bottom: 0;
  }
  #top .navigation ul#main-menu li a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 14px 18px;
    min-height: 48px;
    box-sizing: border-box;
  }
  #top .navigation ul#main-menu li a span.icon {
    flex-shrink: 0;
    width: 28px;
    text-align: center;
    font-size: 22px;
    line-height: 1;
  }
  #top .navigation ul#main-menu li a span.text {
    display: block;
    text-align: left;
    font-size: 16px;
    letter-spacing: 0.02em;
    width: auto;
  }
  #top .navigation ul#main-menu li a:hover,
  #top .navigation ul#main-menu li a:focus {
    background: rgba(255, 255, 255, 0.06);
  }
  #top .navigation ul#main-menu li.nav-selected a {
    background: rgba(255, 255, 255, 0.1);
    border-left: 3px solid #fff;
    padding-left: 15px;
    font-weight: 700;
  }
  #top .navigation ul#main-menu li.nav-selected a:after {
    display: none;
  }
  #top .navigation ul#main-menu li a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: -4px;
  }
  #main-menu-state:checked ~ #main-menu ~ #language {
    display: block;
    position: static;
    width: 100%;
    margin-top: 10px;
    margin-left: 0;
    margin-right: 0;
    right: auto;
    top: auto;
  }
  #main-menu-state:checked ~ #main-menu ~ #language .ccm-block-switch-language-flags {
    justify-content: center;
  }
}
