/* ==========================================================
   Ana menu + arama (iamsterdam.com tarzi)
   - tek satir, kalin yazi, ince ok
   - tam genislikte acilan menu paneli
   - yuvarlak cizgili arama dugmesi + buyuk arama kutusu
   Renk degistirmek icin sadece --bgr-accent degerini degistirin.
   ========================================================== */
:root {
  --bgr-accent: #e30613;
  --bgr-text: #111;
  --bgr-line: #e6e6e6;
  --bgr-soft: #f7f7f7; }

.bgr-nav {
  position: relative;
  background: #fff !important;
  border-top: 1px solid var(--bgr-line);
  border-bottom: 1px solid var(--bgr-line); }
  .bgr-nav > .container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    min-height: 64px; }
  .bgr-nav .navbar-collapse {
    position: static; }

header.active {
  padding-bottom: 66px; }

/* --- Ust seviye linkler --- */
.bgr-nav .navbar-nav > li.nav-item {
  position: static; }
.bgr-nav .navbar-nav > li > .nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 64px;
  padding: 0 14px !important;
  background: transparent !important;
  border: 0;
  color: var(--bgr-text) !important;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  outline: none; }
  .bgr-nav .navbar-nav > li > .nav-link:focus-visible {
    box-shadow: inset 0 0 0 2px var(--bgr-text);
    border-radius: 4px; }
  .bgr-nav .navbar-nav > li > .nav-link:before {
    content: '';
    position: absolute;
    top: auto;
    left: 14px;
    right: 14px;
    bottom: -1px;
    width: auto;
    height: 3px;
    background: var(--bgr-accent) !important;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.2s ease; }
.bgr-nav .navbar-nav > li:hover > .nav-link:before,
.bgr-nav .navbar-nav > li.open > .nav-link:before {
  transform: scaleX(1); }

.bgr-chevron {
  flex: none;
  margin-top: 1px;
  transition: transform 0.2s ease; }
.bgr-has-mega.open .bgr-chevron {
  transform: rotate(180deg); }

/* --- Acilan menu paneli --- */
.bgr-mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  background: #fff;
  border-top: 1px solid var(--bgr-line);
  box-shadow: 0 16px 24px -12px rgba(0, 0, 0, 0.18);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s; }
.bgr-has-mega.open > .bgr-mega {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s; }
.bgr-mega-inner {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  padding-top: 36px;
  padding-bottom: 44px; }
.bgr-mega-title {
  flex: 0 0 240px;
  margin: 0;
  color: var(--bgr-text);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15; }
ul.bgr-mega-links {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 40px;
  margin: 0;
  padding: 0;
  list-style: none; }
  ul.bgr-mega-links li a {
    display: inline-block;
    color: var(--bgr-text);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    text-decoration: none; }
  ul.bgr-mega-links li a:hover,
  ul.bgr-mega-links li a:focus {
    color: var(--bgr-text);
    text-decoration: underline;
    text-underline-offset: 4px; }

/* --- Yuvarlak arama dugmesi --- */
.bgr-search-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: 16px;
  padding: 0;
  border: 1px solid #d6d6d6;
  border-radius: 50%;
  background: #fff;
  color: var(--bgr-text);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease; }
  .bgr-search-btn:hover,
  .bgr-search-btn.open {
    border-color: var(--bgr-text); }
  .bgr-search-btn:focus {
    outline: none; }
  .bgr-search-btn:focus-visible {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--bgr-text); }
  .bgr-search-btn .bgr-ico-close,
  .bgr-search-btn.open .bgr-ico-search {
    display: none; }
  .bgr-search-btn.open .bgr-ico-close {
    display: block; }

/* --- Arama paneli --- */
.bgr-search {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 21;
  padding: 36px 0 44px;
  background: #fff;
  border-top: 1px solid var(--bgr-line);
  box-shadow: 0 16px 24px -12px rgba(0, 0, 0, 0.18);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s; }
  .bgr-search.open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s; }

.bgr-search-form {
  display: flex;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  background: var(--bgr-soft);
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease; }
  .bgr-search-form:focus-within {
    border-bottom-color: var(--bgr-text); }
  .bgr-search-form input {
    flex: 1;
    min-width: 0;
    height: 68px;
    padding: 0 24px;
    border: 0;
    background: transparent;
    color: var(--bgr-text);
    font-family: inherit;
    font-size: 22px;
    outline: none;
    -webkit-appearance: none;
    appearance: none; }
    .bgr-search-form input::placeholder {
      color: #6b6b6b; }
    .bgr-search-form input::-webkit-search-cancel-button {
      display: none; }
  .bgr-search-form button {
    flex: none;
    width: 68px;
    height: 68px;
    border: 0;
    background: transparent;
    color: var(--bgr-text);
    cursor: pointer; }

/* --- Sayfa karartma --- */
.bgr-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.35);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s; }
  .bgr-overlay.open {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.2s ease, visibility 0s; }

/* --- Arama sonuc sayfasi --- */
.bgr-search-page .bgr-search-form {
  max-width: none;
  margin-bottom: 28px; }
.bgr-search-page .result-count {
  color: #555;
  margin-bottom: 20px; }

/* ================= Mobil / tablet ================= */
@media (max-width: 991px) {
  .bgr-nav > .container {
    flex-wrap: wrap;
    min-height: 60px; }
  .bgr-nav .navbar-toggler {
    order: 1; }
  .bgr-search-btn {
    order: 2;
    margin-left: auto; }
  .bgr-nav .navbar-collapse {
    order: 3;
    flex-basis: 100%;
    max-height: 70vh;
    overflow-y: auto;
    padding-bottom: 12px; }
  .bgr-nav .navbar-nav {
    border-top: 1px solid var(--bgr-line);
    padding-top: 0; }
  .bgr-nav .navbar-nav > li > .nav-link {
    width: 100%;
    height: auto;
    justify-content: space-between;
    padding: 16px 0 !important;
    border-bottom: 1px solid var(--bgr-line);
    font-size: 16px;
    text-align: left; }
    .bgr-nav .navbar-nav > li > .nav-link:before {
      display: none; }
  .bgr-mega {
    position: static;
    display: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
    border: 0;
    transition: none; }
  .bgr-has-mega.open > .bgr-mega {
    display: block; }
  .bgr-mega-inner {
    display: block;
    padding: 8px 0 12px 16px; }
  .bgr-mega-title {
    display: none; }
  ul.bgr-mega-links {
    grid-template-columns: 1fr;
    gap: 0; }
    ul.bgr-mega-links li a {
      display: block;
      padding: 10px 0; }
  .bgr-search {
    padding: 16px 0 20px; }
  .bgr-search-form input {
    height: 56px;
    padding: 0 16px;
    font-size: 18px; }
  .bgr-search-form button {
    width: 56px;
    height: 56px; }
  header.active {
    padding-bottom: 62px; } }

@media (min-width: 992px) and (max-width: 1199px) {
  .bgr-nav .navbar-nav > li > .nav-link {
    padding: 0 9px !important;
    font-size: 14px; }
  .bgr-nav .navbar-nav > li > .nav-link:before {
    left: 9px;
    right: 9px; } }

/* --- Kayan yazi seridi (siyah ust seridin ustunde, beyaz zemin / siyah yazi) --- */
.bgr-serit {
  background: #fff;
  color: #111;
  border-bottom: 1px solid var(--bgr-line);
  overflow: hidden; }
  .bgr-serit-sar {
    display: flex;
    width: max-content;
    animation: bgr-kay 40s linear infinite; }
  .bgr-serit:hover .bgr-serit-sar {
    animation-play-state: paused; }
  .bgr-serit ul {
    display: flex;
    flex-shrink: 0;
    margin: 0;
    padding: 8px 0;
    list-style: none; }
  .bgr-serit li {
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
    white-space: nowrap;
    padding-right: 48px;
    position: relative; }
    .bgr-serit li:after {
      content: '';
      position: absolute;
      right: 21px;
      top: 7px;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--bgr-accent); }
    .bgr-serit li a {
      color: #111; }
    .bgr-serit li a:hover {
      color: var(--bgr-accent); }

@keyframes bgr-kay {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .bgr-serit-sar {
    animation: none; } }

/* ==========================================================
   Sag sutun sekme seritleri (her sekmenin kendi rengi)
   ========================================================== */
.sidebar .tabs-widget .nav-tabs a.nav-item {
  color: #fff;
  font-weight: 600; }
.sidebar .tabs-widget .nav-tabs a.nav-item.active,
.sidebar .tabs-widget .nav-tabs a[aria-selected="true"] {
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.35); }
#nav-popular-tab,
#nav-popular-tab[aria-selected="true"] {
  background: #9B2335; }
#nav-recent-tab,
#nav-recent-tab[aria-selected="true"] {
  background: #176B78; }
#nav-eglence-tab,
#nav-eglence-tab[aria-selected="true"] {
  background: #512DA8; }
#nav-alisveris-tab,
#nav-alisveris-tab[aria-selected="true"] {
  background: #B8860B; }

/* ==========================================================
   Logo: 206x40 -> 309x60 (yarim kat buyutuldu)
   ========================================================== */
.header-banner-place a.navbar-brand img {
  width: 309px;
  max-width: 100%;
  height: auto; }

/* ==========================================================
   Yeni reklam alanlari
   ========================================================== */
.bgr-gy-reklam {
  text-align: center;
  margin: 0 0 30px; }
.bgr-gri-reklam {
  text-align: center; }
  .bgr-gri-reklam img {
    max-width: 100%;
    height: auto; }
.bgr-en-alt-reklam {
  text-align: center;
  margin-top: 20px; }
  .bgr-en-alt-reklam img {
    max-width: 100%;
    height: auto; }
