/* Sticky footer: footer stays at bottom when content is short */
html {
  height: 100%;
}

body {
  min-height: 100%;
}

#wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#wrapper > #content {
  flex: 1 0 auto;
}

#footer.site-footer-ib {
  flex-shrink: 0;
}

/* Compact header on small screens */
@media (max-width: 991px) {
  #header.header-transparent .container {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }

  #header #logo img {
    max-height: 38px !important;
    width: auto !important;
  }

  #header #main-menu-trigger {
    line-height: 38px;
    padding-top: 0;
    padding-bottom: 0;
    left: 0 !important;
    right: auto !important;
  }
}

@media (max-width: 767px) {
  #header.header-transparent .container {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
  }

  #header #logo img {
    max-height: 32px !important;
  }

  #header #main-menu-trigger {
    line-height: 32px;
    font-size: 18px;
    left: 0 !important;
    right: auto !important;
  }
}

/* Üç footer sütun başlığı: #footer h3 ile aynı (main.css); ek ince ayar */
#footer.site-footer-ib h3.ib-footer-section-title {
  letter-spacing: 0.02em;
}

@media (max-width: 767px) {
  #footer.site-footer-ib {
    padding-top: 30px;
    padding-bottom: 12px;
  }

  #footer.site-footer-ib .ib-footer-main-row > [class*="col-"] {
    margin-bottom: 18px;
  }

  #footer.site-footer-ib .ib-footer-col-contact,
  #footer.site-footer-ib .ib-footer-col-hours {
    margin-top: 28px;
  }

  #footer.site-footer-ib .ib-footer-section-title {
    margin-top: 0;
    margin-bottom: 16px;
    color: #bdbdbd;
    font-size: 18px;
    letter-spacing: 0.03em;
  }

  #footer.site-footer-ib ul li,
  #footer.site-footer-ib p,
  #footer.site-footer-ib span,
  #footer.site-footer-ib a {
    font-size: 14px;
    line-height: 1.7;
  }

  #footer.site-footer-ib p,
  #footer.site-footer-ib span {
    margin-top: 0;
  }

  #footer.site-footer-ib .ib-footer-useful li,
  #footer.site-footer-ib .ib-footer-branch-item,
  #footer.site-footer-ib .ib-footer-hour-line {
    margin-bottom: 8px;
  }

  #footer.site-footer-ib .ib-footer-hours-branch {
    margin-bottom: 18px;
  }

  #footer.site-footer-ib ul.social.ib-footer-social {
    margin-top: 18px !important;
  }

  #footer.site-footer-ib ul.social.ib-footer-social li a {
    margin: 0 10px !important;
  }

  #footer.site-footer-ib .footer_logo {
    margin-top: 8px;
    padding-top: 22px;
    padding-bottom: 8px;
  }

  #footer.site-footer-ib .footer_logo img {
    margin-bottom: 10px;
  }

  #footer.site-footer-ib .footer_logo p {
    font-size: 13px;
    margin-top: 0;
    margin-bottom: 0;
  }
}

.ib-footer-branch-item {
  margin-bottom: 10px;
}

.ib-footer-branch-item a {
  display: block;
}

.ib-branch-name {
  font-weight: 700;
}

.ib-branch-addr {
  font-weight: 400;
}

/* Footer sosyal: tüm sayfalarda aynı yatay boşluk (şablon float farklarını sıfırla) */
#footer.site-footer-ib ul.social.ib-footer-social {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
  width: 100%;
  text-align: center;
}

#footer.site-footer-ib ul.social.ib-footer-social li {
  display: inline-block !important;
  float: none !important;
  margin: 0 !important;
  vertical-align: middle;
}

#footer.site-footer-ib ul.social.ib-footer-social li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  line-height: 1 !important;
  float: none !important;
  margin: 0 12px !important;
}

#footer.site-footer-ib ul.social.ib-footer-social li a i {
  line-height: 1;
}

.ib-footer-col-hours .ib-footer-hours-block {
  margin-top: 0;
}

.ib-footer-hours-branch {
  margin-bottom: 14px;
}

.ib-footer-hours-branch-name {
  margin-bottom: 4px;
}

.ib-footer-hour-line {
  font-weight: 400;
  margin: 2px 0;
  line-height: 1.45;
}

.ib-hour-label {
  font-weight: 600;
}

.ib-hour-value {
  font-weight: 400;
}

.ib-footer-useful a {
  display: inline-block;
  padding: 2px 0;
}

/* Anasayfa #slide-2 parallax arka planı */
#slide-2.discover .bcg.ib-parallax-discover {
  background-image: url("../img/ib/ib-menu-1920x600.png");
}

/* Anasayfa video section (#slide-04) arka planı */
#slide-04.video .bcg.background16 {
  background-image: url("../img/ib/sis-kebap.png");
}

/* Hero rotasyon metni: global h1 { text-transform: uppercase } Türkçede i→I yapar (İ olmalı) */
#home-header #fade h1 {
  text-transform: none;
}

/* Eski .text-uppercase yerine; Bootstrap uppercase yine İ harfini bozar */
#home-header .ib-hero-tagline {
  text-transform: none;
}

#home-header .ib-home-mobile-brand-logo {
  display: none;
}

#home-header {
  position: relative;
}

#home-header .ib-hero-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  text-decoration: none;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

#home-header .ib-hero-scroll-indicator.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#home-header .ib-scroll-mouse {
  width: 28px;
  height: 46px;
  border: 2px solid #fff;
  border-radius: 20px;
  display: inline-flex;
  justify-content: center;
  padding-top: 8px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.2);
}

#home-header .ib-scroll-wheel {
  width: 4px;
  height: 8px;
  border-radius: 3px;
  background: #fff;
  animation: ib-scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes ib-scroll-wheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  60% {
    transform: translateY(12px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  #home-header .ib-scroll-wheel {
    animation: none;
  }
}

@media (max-width: 991px) {
  #home-header .ib-home-mobile-brand-logo {
    display: block;
    width: min(31vw, 150px);
    max-width: 100%;
    height: auto;
    margin: 0 auto 16px;
  }
}

/* Anasayfa tam ekran slider: görsellerin üzerine koyu katman (mbBgndGallery, yalnız index) */
.mbBgndGallery {
  z-index: 0;
}

.mbBgndGallery::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 2;
}

.mbBgndGallery img {
  z-index: 0;
}

/* Home branches tabs: centered active branch heading above slider */
.our_menu .ib-branch-current {
  margin: 6px 0 22px;
}

.our_menu .ib-branch-current-title {
  margin: 0 0 8px;
}

.our_menu .ib-branch-current-address {
  margin: 0;
}

.our_menu .ib-branch-tabs {
  margin-bottom: 14px;
}

.our_menu .ib-branch-btn-group {
  display: inline-block;
}

.our_menu .ib-branch-btn-group .ib-branch-btn {
  margin: 0 6px 8px;
  min-width: 120px;
}

/* Home "Subelerimiz" slider: keep legacy fixed frame, crop with cover */
.our_menu .our-menu-slider .item {
  height: 600px;
  min-height: 600px;
  overflow: hidden;
}

.our_menu .our-menu-slider .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1024px) {
  .our_menu .our-menu-slider .item {
    height: 400px;
    min-height: 400px;
  }
}

@media (max-width: 800px) {
  .our_menu .our-menu-slider .item {
    height: 370px;
    min-height: 370px;
  }
}

@media only screen and (max-width: 767px) {
  .our_menu .our-menu-slider .item {
    height: 340px;
    min-height: 340px;
  }
}

@media only screen and (max-width: 480px) {
  .our_menu .our-menu-slider .item {
    height: 230px;
    min-height: 230px;
  }
}

@media screen and (max-width: 320px) {
  .our_menu .our-menu-slider .item {
    height: 160px;
    min-height: 160px;
  }
}

@media (max-width: 767px) {
  .our_menu .ib-branch-btn-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Home video decorative images: fixed frame + cover crop */
#slide-04 .left_bg img,
#slide-04 .right_bg img,
#slide-04 .right_bg2 img {
  width: 330px;
  height: 335px;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

/* Mobile bottom-tab navigation */
.ib-mobile-bottom-tabs {
  display: none;
}

.ib-mobile-bottom-tabs .ib-mobile-tab {
  text-decoration: none;
}

@media (max-width: 991px) {
  #header,
  #header-sticky-wrapper {
    display: none !important;
  }

  #welcome-section.welcome-block .row {
    display: flex;
    flex-wrap: wrap;
  }

  #welcome-section .ib-welcome-content {
    order: 1;
    width: 100%;
    margin-bottom: 18px;
  }

  #welcome-section .ib-welcome-media-left {
    order: 2;
    width: 100%;
  }

  #welcome-section .ib-welcome-media-right {
    display: none;
  }

  #welcome-section .ib-welcome-media img {
    width: 100%;
    height: clamp(200px, 34vh, 260px);
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
  }

  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }

  #scroll_up {
    bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }

  .ib-mobile-bottom-tabs {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 2px;
    padding: 7px 8px calc(8px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -6px 22px rgba(0, 0, 0, 0.12);
  }

  .ib-mobile-bottom-tabs .ib-mobile-tab {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 11px;
    color: #4f4f4f;
    padding: 6px 4px;
    transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
  }

  .ib-mobile-bottom-tabs .ib-mobile-tab .ib-mobile-tab-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
  }

  .ib-mobile-bottom-tabs .ib-mobile-tab .ib-mobile-tab-logo img {
    width: 24px;
    height: 24px;
    object-fit: contain;
  }

  .ib-mobile-bottom-tabs .ib-mobile-tab .ib-mobile-tab-label {
    font-size: 11px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-align: center;
    white-space: nowrap;
  }

  .ib-mobile-bottom-tabs .ib-mobile-tab.is-active {
    color: #c59d5f;
    background: rgba(197, 157, 95, 0.12);
  }

  .ib-mobile-bottom-tabs .ib-mobile-tab:active {
    transform: translateY(1px);
  }
}

@media (max-width: 420px) {
  .ib-mobile-bottom-tabs .ib-mobile-tab .ib-mobile-tab-icon {
    width: 22px;
    height: 22px;
    font-size: 18px;
  }

  .ib-mobile-bottom-tabs .ib-mobile-tab .ib-mobile-tab-logo img {
    width: 22px;
    height: 22px;
  }

  .ib-mobile-bottom-tabs .ib-mobile-tab .ib-mobile-tab-label {
    font-size: 10px;
  }
}

/* Cookie consent banner */
.ib-cookie-consent {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1400;
  background: rgba(18, 18, 18, 0.96);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  padding: 18px 18px 14px;
}

.ib-cookie-consent[hidden] {
  display: none !important;
}

.ib-cookie-consent__title {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
  color: #fff;
}

.ib-cookie-consent__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}

.ib-cookie-consent__text a {
  color: #d9b074;
  text-decoration: underline;
}

.ib-cookie-consent__actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ib-cookie-btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ib-cookie-btn:focus-visible {
  outline: 2px solid #d9b074;
  outline-offset: 2px;
}

.ib-cookie-btn--accept {
  background: #d9b074;
  border-color: #d9b074;
  color: #232323;
}

.ib-cookie-btn--manage,
.ib-cookie-btn--secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.ib-cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 1450;
  background: rgba(8, 8, 8, 0.35);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.ib-cookie-overlay[hidden] {
  display: none !important;
}

.ib-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1460;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ib-cookie-modal[hidden] {
  display: none !important;
}

.ib-cookie-modal-card {
  width: min(560px, 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #181818;
  color: #fff;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
  padding: 20px;
  position: relative;
}

.ib-cookie-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: 30px;
  line-height: 1;
  padding: 0;
}

.ib-cookie-modal__title {
  margin: 0 30px 8px 0;
  color: #fff;
  font-size: 22px;
}

.ib-cookie-modal__text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
}

.ib-cookie-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.ib-cookie-setting-copy strong {
  display: block;
  font-size: 15px;
  color: #fff;
}

.ib-cookie-setting-copy span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.ib-switch {
  position: relative;
  display: inline-flex;
  width: 52px;
  height: 30px;
  flex-shrink: 0;
}

.ib-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.ib-switch__slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: #626262;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.ib-switch__slider::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  left: 4px;
  top: 4px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.ib-switch input:checked + .ib-switch__slider {
  background: #d9b074;
}

.ib-switch input:checked + .ib-switch__slider::before {
  transform: translateX(22px);
}

.ib-switch.ib-switch--disabled {
  opacity: 0.85;
}

.ib-switch.ib-switch--disabled .ib-switch__slider {
  cursor: not-allowed;
  background: #7b7b7b;
}

.ib-switch.ib-switch--disabled input:checked + .ib-switch__slider {
  background: #b7b7b7;
}

.ib-cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.ib-cookie-modal-open {
  overflow: hidden;
}

/* Menu page: modern sticky category bar */
.menu_tabs .menu-bar {
  width: min(980px, calc(100% - 30px));
  margin: 24px auto 0;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.menu_tabs .menu-bar.dark {
  background: rgba(255, 255, 255, 0.96);
}

.menu_tabs #menu-scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu_tabs #menu-scroll li {
  display: block;
}

.menu_tabs #menu-scroll li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-right: 0;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: #f6f6f7;
  color: #4b4b4b;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.menu_tabs #menu-scroll li a:after {
  content: none;
}

.menu_tabs #menu-scroll li a.ib-active {
  background: #7b2f3a;
  border-color: #7b2f3a;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(123, 47, 58, 0.35);
}

@media (hover: hover) and (pointer: fine) {
  .menu_tabs #menu-scroll li a:hover {
    background: #7b2f3a;
    border-color: #7b2f3a;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(123, 47, 58, 0.35);
  }
}

@media (max-width: 767px) {
  .ib-cookie-consent {
    left: 10px;
    right: 10px;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    padding: 14px 14px 12px;
  }

  .ib-cookie-consent__title {
    font-size: 16px;
  }

  .ib-cookie-consent__text {
    font-size: 13px;
  }

  .ib-cookie-btn {
    flex: 1 1 auto;
    text-align: center;
  }

  .ib-cookie-modal {
    padding: 12px;
  }

  .ib-cookie-modal-card {
    padding: 16px;
  }

  .ib-cookie-modal__title {
    font-size: 18px;
  }

  .ib-cookie-setting-row {
    align-items: flex-start;
  }

  .ib-cookie-modal__actions .ib-cookie-btn {
    flex: 1 1 auto;
    text-align: center;
  }

  .menu_tabs .menu-bar {
    width: calc(100% - 20px);
    margin-top: 14px;
    padding: 10px 10px;
    border-radius: 12px;
  }

  .menu_tabs #menu-scroll {
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .menu_tabs #menu-scroll::-webkit-scrollbar {
    display: none;
  }

  .menu_tabs #menu-scroll li a {
    min-height: 36px;
    padding: 7px 14px;
    font-size: 12px;
    white-space: nowrap;
  }
}

