/* PPFEX brand palette */
* {
  --primary-color: #ee1f23;
  --primary-color-rgb: 238, 31, 35;
  --bg-dark-1: #101010;
  --bg-dark-1-rgb: 16, 16, 16;
  --bg-dark-2: #202020;
  --bg-dark-3: #303030;
  --heading-font-color: var(--bg-dark-1);
  --body-font-color-dark: #dedede;
  --btn-color: #fff;
  --on-accent: #000;
}

.bg-color,
.bg-color.text-white,
.bg-color.text-light,
.dark-scheme .bg-color :is(h3, h4),
#back-to-top::before,
#mainmenu li a.new::before,
h5.new::before {
  color: var(--on-accent) !important;
}

#filters a.selected,
.image-popup .bg-color {
  color: var(--btn-color) !important;
}

.dark-scheme .bg-color a.btn-line {
  color: var(--btn-color);
  border-color: currentColor;
}

.dark-scheme .bg-color a.btn-line:hover {
  background: var(--bg-dark-1);
  border-color: var(--bg-dark-1);
  color: #fff;
}

.dark-scheme .btn-main:not(.btn-line):hover {
  color: #101010;
  background-color: #fff;
}

#mainmenu > li:hover > a,
.dark-scheme header.header-mobile #mainmenu li a.menu-item:hover,
.dark-scheme .accordion-section-title.active::before,
.d-stars i {
  color: var(--primary-color);
}

header:not(.header-mobile) #mainmenu li li > a:is(:hover, :focus-visible) {
  color: var(--on-accent) !important;
  background: var(--primary-color);
}

.dark-scheme :is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

.dark-scheme .bg-color a:focus-visible {
  outline-color: var(--bg-dark-1);
}

.text-light .form-control:focus {
  color: #fff;
  background-color: var(--bg-dark-2);
  border-color: var(--primary-color);
}

.dark-scheme .datepicker table tr td :is(span.active, span.focused),
.dark-scheme .datepicker table tr td:is(.active, .today, .active:hover, .today:hover) {
  background: var(--primary-color);
  color: var(--on-accent);
  text-shadow: none;
}

.dark-scheme .success,
.dark-scheme .error {
  color: #fff;
  background: var(--bg-dark-2);
  border-color: var(--primary-color);
}

.dark-scheme .error_input {
  border-bottom: 2px solid var(--primary-color) !important;
}

::selection {
  color: var(--on-accent);
  background: var(--primary-color);
}

#kareler .instagram-strip {
  position: relative;
}

#instagram-gonderileri {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

#instagram-gonderileri::-webkit-scrollbar {
  display: none;
}

#instagram-gonderileri > a {
  flex: 0 0 clamp(155px, 18vw, 320px);
  scroll-snap-align: start;
}

#instagram-gonderileri img {
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
}

#kareler .instagram-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff80;
  border-radius: 50%;
  background: #161616e8;
  color: #fff;
}

#kareler .instagram-arrow[data-step="-1"] { left: 10px; }
#kareler .instagram-arrow[data-step="1"] { right: 10px; }
#kareler .instagram-arrow:hover { background: var(--primary-color); }
#kareler .instagram-arrow:disabled { opacity: 0.45; }

#dukkan {
  position: relative;
  aspect-ratio: 2.3;
  padding: 0;
  isolation: isolate;
  overflow: hidden;
}

#dukkan > .jarallax-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#dukkan .dukkan-arac {
  z-index: 2;
  position: absolute;
  width: 62%;
  height: auto;
  left: 50%;
  bottom: 5%;
  transform: translateX(-50%);
}

@media (max-width: 767px) {
  #dukkan { aspect-ratio: 1.48; }
  #dukkan .dukkan-arac { width: 93%; bottom: 7%; }
}

@media (max-width: 767px) {
  .hero-baslik h1 { font-size: min(8.4vw, 60px); }
  .hero-baslik .subtitle { letter-spacing: min(1.2vw, 8px); }
}

/* Keep both states in the same fixed, centered frame. */
.dark-scheme header.transparent {
  position: fixed;
  inset: 0 0 auto;
  margin: 0 auto;
  width: 100%;
  border: 1px solid transparent;
  transition: width .24s ease, top .24s ease, border-radius .24s ease,
              border-color .24s ease, background-color .24s ease, box-shadow .24s ease;
}

.dark-scheme header.transparent.smaller {
  position: fixed;
  inset: 12px 0 auto;
  margin: 0 auto;
  width: min(1440px, calc(100% - 32px));
  border: 1px solid #ffffff40;
  border-radius: 999px;
  background: #191919f5;
  box-shadow: 0 6px 24px #0006;
}

@media (min-width: 993px) {
  header.transparent #topbar {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows .24s ease, opacity .2s ease;
  }
  header.transparent #topbar > .container { min-height: 0; overflow: hidden; }
  header.transparent.smaller #topbar {
    grid-template-rows: 0fr;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
  }
}

header.transparent > .container {
  width: 100%;
  padding-inline: clamp(16px, 2.25vw, 36px);
}

header.smaller .menu_side_area .btn-main { border-radius: 999px; }

header.smaller:not(.header-mobile) #mainmenu > li > a {
  padding-block: 18px;
}

@media (min-width: 993px) and (max-width: 1199px) {
  header.smaller #mainmenu > li:not(:last-child) { margin-right: 12px; }
}

.dark-scheme header.header-mobile.smaller {
  top: 8px;
  width: calc(100% - 16px);
  padding-block: 0;
}

header.header-mobile .de-flex {
  min-height: 56px;
  padding-block: 0;
}

.dark-scheme header.header-mobile.smaller.menu-open {
  border-radius: 24px;
  max-height: calc(100dvh - 16px);
}

header.header-mobile.smaller.menu-open #mainmenu {
  top: 56px;
  height: calc(100% - 56px);
  margin-top: 0;
}

@media (max-width: 767px) {
  header.header-mobile.smaller .menu_side_area { margin-left: 0; }
  header.header-mobile.smaller .menu_side_area .btn-main {
    display: inline-block !important;
    padding: 6px 12px;
    font-size: 13px;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dark-scheme header.transparent,
  header.transparent #topbar,
  header.transparent #mainmenu > li > a { transition: none; }
}

.workshop-card img {
  height: auto;
}

.workshop-card .workshop-caption {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 1rem 1.25rem;
  color: white;
  background: rgba(12, 12, 12, .72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.workshop-caption p {
  padding-top: .6rem;
  line-height: 1.5;
}

.workshop-card:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .workshop-card .workshop-caption {
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .workshop-caption p {
    display: none;
  }

  .workshop-card:is(:hover, :focus-visible) .workshop-caption {
    justify-content: center;
    background: rgba(12, 12, 12, .64);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .workshop-card:is(:hover, :focus-visible) p {
    display: block;
  }

  @media (prefers-reduced-motion: no-preference) {
    .workshop-card img {
      transition: transform .35s ease;
    }

    .workshop-card:is(:hover, :focus-visible) img {
      transform: scale(1.05);
    }
  }
}

#atolye.row {
  scroll-margin-top: 110px;
}
.atolye-bilgileri dt {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #fff;
}
.atolye-bilgileri dt i {
  color: var(--primary-color);
}
.atolye-bilgileri dd {
  margin: .15rem 0 1rem 1.65rem;
}
#atolye #contact_form label {
  margin-bottom: .35rem;
  font-weight: 600;
}

.faq-group {
  background: var(--bg-dark-2);
  border-radius: 10px;
  padding: clamp(20px, 3vw, 36px);
}
.faq-group h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2vw, 32px);
}
.faq-group details {
  border-top: 1px solid rgba(255, 255, 255, .14);
  scroll-margin-top: 115px;
}
.faq-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  line-height: 1.5;
  font-weight: 600;
  color: white;
  cursor: pointer;
  list-style: none;
}
.faq-group summary::-webkit-details-marker { display: none; }
.faq-group summary::after {
  content: '';
  width: 9px;
  height: 9px;
  flex: none;
  margin-right: 3px;
  border: solid var(--primary-color);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.faq-group details[open] summary::after { transform: rotate(225deg); }
.faq-group summary:focus-visible { outline: 2px solid var(--primary-color); }
.faq-group p { margin: 0 0 18px; }
.faq-list p a { color: white; text-decoration: underline; text-underline-offset: 3px; }

.faq-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  padding: clamp(20px, 3vw, 36px);
  border-inline-start: 3px solid var(--primary-color);
  border-radius: 10px;
  background: var(--bg-dark-2);
}
.faq-contact h2 { font-size: clamp(24px, 2vw, 32px); }
.faq-contact .btn-main:focus-visible { outline: 2px solid white; outline-offset: 4px; }

.guide-grid {
  display: grid;
  grid-template-columns: 1.24fr 1fr;
  gap: clamp(16px, 2vw, 26px);
}
.guide-card {
  position: relative;
  display: grid;
  grid-template-columns: 34% 1fr;
  border-radius: 10px;
  background: var(--bg-dark-2);
  overflow: hidden;
  isolation: isolate;
}
.guide-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}
.guide-copy {
  padding: clamp(18px, 2.2vw, 32px);
}
.guide-topic {
  display: flex;
  gap: .65rem;
  align-items: center;
  color: white;
  font-size: .8rem;
  font-weight: 600;
}
.guide-topic::before {
  content: '';
  background: var(--primary-color);
  width: 22px;
  height: 2px;
}
.guide-copy h3 {
  margin: .65rem 0 .5rem;
  font-size: clamp(23px, 2vw, 32px);
  line-height: 1.14;
}
.guide-copy p { line-height: 1.5; margin-bottom: 1rem; }
.guide a { color: #fff; font-weight: 600; }
.guide a span { color: var(--primary-color); }
.guide a:hover { text-decoration: underline; }
.guide a:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 3px; }
.guide-feature {
  grid-row: span 2;
  display: flex;
  align-items: flex-end;
  min-height: 420px;
}
.guide-feature img {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.guide-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(8,8,8,.97), rgba(8,8,8,.78) 31%, transparent 82%);
}
.guide-feature .guide-copy { padding: clamp(24px, 3vw, 46px); max-width: 38rem; }
.guide-feature h3 { font-size: clamp(33px, 3.4vw, 54px); }
.guide-feature p { color: #f4f4f4; }
@media (max-width: 991px) {
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .guide-feature { grid-column: 1 / -1; grid-row: auto; min-height: 370px; }
  .guide-card:not(.guide-feature) { grid-template-columns: 1fr; }
  .guide-card:not(.guide-feature) img { height: auto; aspect-ratio: 2 / 1; }
}
@media (max-width: 575px) {
  .guide-grid { grid-template-columns: 1fr; }
  .guide-feature { min-height: 350px; }
}
.guide-questions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.post-cover .sw-overlay {
  background: linear-gradient(90deg, rgba(10,10,10,.9), rgba(10,10,10,.62) 58%, rgba(10,10,10,.35));
  opacity: 1;
}
.post-story { max-width: 70ch; }
.post-story p { line-height: 1.8; }
.post-story .post-intro {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.6;
  color: #f4f4f4;
  border-inline-start: 3px solid var(--primary-color);
  padding-inline-start: 1em;
}
.post-story h2 {
  margin: 1.3em 0 .4em;
  font-size: clamp(24px, 2.25vw, 34px);
}
.tint-cover { padding: clamp(140px, 12vw, 190px) 0 clamp(36px, 5vw, 72px); }
.tint-cover-layout {
  display: grid;
  grid-template-columns: 1fr minmax(0, .95fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
}
.tint-cover-copy nav { font-size: .9rem; }
.tint-cover-copy nav a { color: #fff; }
.tint-cover-copy nav span { color: var(--primary-color); margin: 0 .45em; }
.tint-cover-copy h1 {
  max-width: 16ch;
  font-size: clamp(36px, 4.6vw, 72px);
  line-height: 1.05;
  margin: .45em 0 .35em;
  text-wrap: balance;
}
.tint-cover-copy p { max-width: 52ch; margin: 0; line-height: 1.6; font-size: 1.1rem; }
.tint-cover-layout > img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 10px;
}
.tint-cover + section { padding-top: clamp(32px, 5vw, 72px); }
.tint-cover + section .post-story > h2:first-child { margin-top: 0; }
.tint-preview {
  margin: 2rem 0;
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid #383838;
  border-radius: 12px;
  background: #1b1b1b;
}
.tint-preview figcaption {
  margin-bottom: 16px;
  color: #fff;
  font-family: var(--heading-font);
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.25;
}
.tint-frames img { display: block; width: 100%; height: auto; margin: 0; border-radius: 7px; }
.tint-frames img:last-child,
.tint-preview:has(#cam-fume:checked) .tint-frames img:first-child { display: none; }
.tint-preview:has(#cam-fume:checked) .tint-frames img:last-child { display: block; }
.tint-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  gap: 4px;
  padding: 4px;
  margin: 12px 0 0;
  border: 1px solid #454545;
  border-radius: 9px;
  background: #101010;
}
.tint-options input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
.tint-options label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 5px;
  margin: 0;
  border-radius: 5px;
  color: #ddd;
  font-size: clamp(13px, 2vw, 16px);
  font-weight: 600;
  cursor: pointer;
}
.tint-options label::before {
  content: '';
  width: 15px;
  height: 15px;
  flex: none;
  border: 1px solid #c4c7c9;
  border-radius: 50%;
  background: linear-gradient(135deg, #ebeff0 40%, #a2b2ba 42%, #c4ced3);
}
.tint-options label[for="cam-fume"]::before { background: linear-gradient(135deg, #565e63 40%, #25292c 42%, #444b50); }
.tint-options input:checked + label { background: #b51b23; color: #fff; }
.tint-options input:focus-visible + label { outline: 2px solid white; outline-offset: -3px; }
.tint-preview p { margin: 10px 0 0; color: #c7c7c7; font-size: .875rem; }
@media (max-width: 767px) {
  .tint-cover { padding-top: 40px; }
  .tint-cover-layout { grid-template-columns: 1fr; gap: 22px; }
  .tint-cover-layout > img { aspect-ratio: 16 / 10; }
}
.post-related {
  border-radius: 10px;
  background: var(--bg-dark-2);
  padding: clamp(20px, 2vw, 30px);
}
.post-related a {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.16);
  padding: 16px 0;
  color: #fff;
  font-weight: 600;
  line-height: 1.35;
}
.post-related a:last-child { padding-bottom: 0; }
.post-related img { width: 76px; height: 66px; object-fit: cover; border-radius: 5px; }
.post-related small { display: block; color: #c4c4c4; font-weight: 400; margin-bottom: 4px; }
.post-return { display: inline-block; color: #fff; padding-block: .6rem; }
.post-return span { color: var(--primary-color); }
