@font-face {
  font-family: 'HelveticaNeueBlack';
  src: url('fonts/HelveticaNeueBlack.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'HelveticaNeueMedium';
  src: url('fonts/HelveticaNeueMedium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'HelveticaNeueMedium';
  src: url('fonts/HelveticaNeueMediumItalic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

a, button, .brand {
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: #f6f6eb;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 20px;
}

.grid-layout {
  display: flex;
  flex-direction: row;
  gap: 6px;
  align-items: flex-start;
}

.col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.col-1 { width: 186px; }
.col-2 { width: 186px; }
.col-3 { width: 194px; }
.col-4 { width: 206px; }

/* MARKA LOGOSU */
.brand {
  width: 100%;
  height: 107px;
  overflow: visible;
  cursor: pointer;
}
.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left top;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.brand:hover img {
  transform: translateY(-3px);
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.13));
}

/* KARTLAR GENEL */
.card {
  position: relative;
  overflow: visible;
  display: block;
  text-decoration: none;
  border-radius: 3px;
  cursor: pointer;
  width: 100%;
  flex-shrink: 0;
}

/* Resim wrapper — overflow burada kısıtlanıyor */
.card__img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  border-radius: 3px;
}
.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.card:hover .card__img img {
  transform: perspective(1px) scale(1.05);
}

.card__label {
  position: absolute;
  left: -2px;
  right: 0;
  padding: 0;
  font-family: 'HelveticaNeueBlack', 'Bebas Neue', sans-serif;
  font-weight: 900;
  color: #ffffff;
  line-height: 0.79;
  filter: drop-shadow(3px 5px 20px rgba(0,0,0,0.60));
  pointer-events: none;
}

/* SÜTUN 1 */
.card--cartoons {
  height: 268px;
  background-color: #F2C94C;
}
.card--cartoons .card__img img { object-position: center 15%; }
.card--cartoons .card__label { font-size: 57px; bottom: -2.3px; letter-spacing: -1px; }

.card--other {
  height: 227px;
  background-color: #E8A84C;
}
.card--other .card__img img { object-position: center center; }
.card--other .card__label { font-size: 33.1px; bottom: -1.55px; letter-spacing: -1px; }

/* SÜTUN 2 */
.card--about {
  height: 124px;
  background-color: #7B8FA1;
}
.card--about .card__img img { object-position: center center; }
.card--about .card__label { font-size: 48.5px; bottom: -2.75px; letter-spacing: -1px; }

.card--illustrations {
  height: 268px;
  background-color: #E8A0B4;
}
.card--illustrations .card__img img { object-position: center 30%; }
.card--illustrations .card__label { font-size: 46.5px; bottom: -3.5px; letter-spacing: -1px; }

/* SÜTUN 3 */
.card--stories {
  height: 230px;
  background-color: #E8673A;
}
.card--stories .card__img img { object-position: center 35%; }
.card--stories .card__label { font-size: 42.5px; bottom: -3.5px; letter-spacing: -1px; }

/* SÜTUN 4 */
.card--shop {
  height: 178px;
  background-color: #5BA8C4;
}
.card--shop .card__img img { object-position: center center; }
.card--shop .card__label { font-size: 58.6px; bottom: -3.4px; letter-spacing: -1px; }

.card--social {
  height: 78px;
  background-color: #E87AAF;
}
.card--social .card__img img { object-position: center center; }
.card--social .card__label { font-size: 35px; bottom: -2px; letter-spacing: -1px; }

.card--contact {
  height: 124px;
  background-color: #6DBFAD;
}
.card--contact .card__img img { object-position: center center; }
.card--contact .card__label { font-size: 46px; bottom: -2.3px; letter-spacing: -1px; }

/* TÜM EKRANLARDA AYNI KALSIN */
.scale-wrapper {
  width: 790px;
  transform-origin: top center;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ============ DARK MODE ============ */
body, html.dark-mode {
  transition: background-color 0.4s ease;
}
html.dark-mode, body.dark-mode {
  background-color: #1a1a0f;
}
html.dark-mode body {
  background-color: #1a1a0f !important;
}
.top-bar, .top-bar a, .mobile-menu, .mobile-menu a, .hamburger span, .page-title {
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
body.dark-mode .top-bar {
  background-color: #1a1a0f;
}
body.dark-mode .top-bar a {
  color: #f6f6eb;
}
body.dark-mode .hamburger span {
  background: #f6f6eb;
}
body.dark-mode .mobile-menu {
  background: #1a1a0f;
  border-top: 1px solid rgba(246,246,235,0.1);
}
body.dark-mode .mobile-menu a {
  color: #f6f6eb;
}
body.dark-mode .page-title {
  color: #f6f6eb;
}

/* ============ THEME TOGGLE LOGO BUTTON ============ */
.theme-toggle {
  position: absolute;
  left: 220px;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  height: 64px;
}
.theme-toggle img {
  height: 24px;
  width: auto;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.theme-toggle:hover img {
  transform: translateY(-2px);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15));
}
@media (max-width: 1200px) {
  .top-bar {
    left: 0 !important;
    right: 0 !important;
    display: flex;
    align-items: center;
    padding: 0 20px;
  }
  .bar-left {
    position: static;
    flex: none;
    display: flex;
    align-items: center;
  }
  .mobile-menu {
    left: 0 !important;
    padding-left: 40px !important;
    padding-right: 20px !important;
  }
  .theme-toggle {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    height: auto !important;
  }
  .theme-toggle img {
    height: clamp(14px, 4.5vw, 24px);
  }
  .hamburger {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: none;
    margin-left: auto;
  }
}


/* ============ TEXT SELECTION ============ */
::selection {
  background-color: #f27558;
  color: #ffffff;
}
.bar-middle a,
.bar-right a,
.bar-left a,
.illus-dropdown-menu a,
.op-dropdown-menu a {
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.2s !important;
}
