@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
    --color-red: #ff3b2f;
    --color-dark: #111827;
    --color-bg: #ffffff;
    --color-section-bg: #f9fafb;
    --color-section-alt: #f3f4f6;
    --color-text: #111827;
    --color-muted: #6b7280;
    --container-width: 1200px;
}

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

body {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
}





/* ===== WHY-US sağ görsel (YENİ, çakışmaz) ===== */
.why-photo-col{
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-photo-card{
  width: min(520px, 100%);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

.why-photo-img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;       /* istersen kaldır */
  object-fit: cover;
}

/* mobilde alt alta */
@media (max-width: 900px){
  .why-photo-col{ order: 2; }
}














/* ================================
   FIXED NAVBAR + HERO UYUMLU CSS
   (Tek parça - yapıştır)
   ================================ */

:root{
  --nav-h: 74px;          /* navbar yüksekliği */
  --info-h: 48px;         /* hero-top-info yüksekliği (yaklaşık) */
}

/* ✅ Varsayılan: hero OLMAYAN sayfalar */
body{
  padding-top: var(--nav-h); /* fixed navbar altında içerik başlasın */
}

/* ✅ Hero OLAN sayfalar: body padding kapat, hero kendi padding'i var */
body.has-hero{
  padding-top: 0;
}

/* === HERO GENEL === */
.hero{
  position: relative;
  min-height: 100vh;
  color: #ffffff;
  background-image: url("assets/hero-1.jpg"); /* js override ediyor */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  isolation: isolate;

  /* ✅ Fixed header (navbar + top-info) kadar aşağı insin */
  padding-top: calc(var(--nav-h) + var(--info-h) + 28px);
}

/* Sol tarafta koyu degrade */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.9) 0%,
    rgba(0,0,0,0.75) 35%,
    rgba(0,0,0,0.4) 65%,
    rgba(0,0,0,0) 100%
  );
  z-index:0;
}

/* === HEADER & NAV === */

/* ✅ Header fixed (navbar + top-info) */
.site-header{
  position: fixed;
  top:0;
  left:0;
  right:0;
  z-index: 100000;
  padding:0;
}

/* ✅ Navbar alanı + siyah arkaplan */
.navbar{
  position: relative;            /* mobil menü absolute bunun içinde */
  z-index: 100001;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;

  min-height: var(--nav-h);      /* ✅ height yerine min-height (padding taşırmaz) */
  padding: 16px 60px;

  background: rgba(0,0,0,0.78);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Logo alanı */
.nav-left .brand{
  font-weight:700;
  letter-spacing:0.18em;
  font-size:0.9rem;
  text-transform:uppercase;
  color:#ffffff;
  text-decoration:none;

  display:inline-flex;
  align-items:center;
  gap:10px;
}

.brand-logo{
  height:48px;
  width:auto;
  display:block;
}

/* Menü */
.nav-menu{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  flex:1;
  margin:0;
  padding:0;
}

.nav-menu a{
  text-decoration:none;
  font-size:0.9rem;
  font-weight:500;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:#ffffff;
  transition: color 0.2s ease;
}

.nav-menu a:hover{ color: var(--color-red); }

.nav-right .phone-button{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 18px;
  border-radius:999px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.3);
  color:#ffffff;
  text-decoration:none;
  font-size:0.85rem;
}

.phone-circle{
  width:32px;height:32px;border-radius:50%;
  background: var(--color-red);
  display:flex;align-items:center;justify-content:center;
  font-size:0.9rem;
}

.phone-text{ white-space:nowrap; }

/* ✅ Top info satırı (fixed header içinde) */
.hero-top-info{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:32px;
  flex-wrap:wrap;

  min-height: var(--info-h);
  padding: 10px 16px 14px;

  background: rgba(0,0,0,0.78);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.info-item{
  display:flex;
  align-items:center;
  gap:10px;
  color: rgba(255,255,255,0.85);
  font-size:0.9rem;
  text-decoration:none;
}

.info-icon{
  width:28px;height:28px;border-radius:50%;
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.25);
  display:flex;align-items:center;justify-content:center;
  font-size:0.8rem;
}

/* === HERO İÇERİĞİ === */
.hero-inner{
  position: relative;
  z-index:1;
  max-width: var(--container-width);
  margin: 40px auto 0;
  padding: 40px 60px 80px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
}

.hero-content{ max-width:560px; }

.hero-content h1{
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  line-height:1.1;
  margin-bottom:24px;
  text-transform:uppercase;
}

.hero-content p{
  font-size:0.96rem;
  line-height:1.8;
  color: rgba(255,255,255,0.8);
  margin-bottom:32px;
}

.btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 36px;
  border-radius:4px;
  background: var(--color-red);
  color:#fff;
  text-decoration:none;
  font-weight:600;
  letter-spacing:0.16em;
  text-transform:uppercase;
  border:none;
  cursor:pointer;
}

/* === HERO SAĞ ALT === */
.hero-side{
  position:absolute;
  right:40px;
  bottom:40px;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:24px;
  z-index:5;
}

/* === MOBİL NAV === */
.nav-toggle{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  flex-direction:column;
  gap:4px;
}

.nav-toggle span{
  width:22px;height:2px;background:#fff;
}

/* ===== NAV DROPDOWN (desktop hover + mobile click) ===== */
.nav-dropdown{ position:relative; }

/* ✅ Parent alanını büyüt (hover kopmasın) */
.nav-parent{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 12px 0;
}

.nav-caret{ font-size:.9em; opacity:.9; }

/* Desktop submenu */
.nav-submenu{
  position:absolute;
  left:0;
  top:100%;
  margin-top:6px;
  min-width:220px;

  background:#121a33;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:8px;
  list-style:none;
  margin-left:0;

  display:none;
  z-index: 100050; /* ✅ header üstünde */
}

.nav-submenu li a{
  display:block;
  padding:10px 10px;
  border-radius:10px;
  text-decoration:none;
}

.nav-submenu li a:hover{
  background: rgba(255,255,255,.08);
}

/* ✅ Desktop: hover + focus ile aç */
@media (min-width: 901px){
  .nav-dropdown:hover .nav-submenu,
  .nav-dropdown:focus-within .nav-submenu{
    display:block;
  }

  /* ✅ Hover tamponu: parent->submenu geçişinde kapanmasın */
  .nav-dropdown::after{
    content:"";
    position:absolute;
    left:0;
    top:100%;
    width:100%;
    height:12px;
  }
}

/* === RESPONSIVE === */
@media (max-width: 992px){
  .navbar{
    padding:12px 20px;
    gap:12px;
  }

  .brand-logo{ height:40px; }

  /* hero sayfada üst boşluğu biraz azalt */
  .hero{
    padding-top: calc(var(--nav-h) + var(--info-h) + 18px);
  }

  .nav-left{ flex:1; }

  .nav-right{
    display:flex;
    align-items:center;
    gap:10px;
    margin-left:auto;
  }

  .nav-right .phone-button{ display:none; }

  .nav-toggle{
    display:inline-flex;
    order:3;
  }

  /* Menü açılır panel */
  .nav-menu{
    position:absolute;
    top: calc(100% + 10px);
    left:20px;
    right:20px;
    flex-direction:column;
    background: rgba(0,0,0,0.95);
    padding:16px;
    border-radius:8px;
    display:none;
    gap:14px;
    z-index: 100010;
  }

  .navbar.is-open .nav-menu{ display:flex; }

  /* Mobile dropdown */
  .navbar .nav-submenu{
    position:static;
    display:none;
    padding:6px 0 0;
    margin-top:0;
    background:transparent;
    border:0;
    border-radius:0;
  }

  .navbar .nav-submenu li a{
    padding:10px 12px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    margin:8px 0 0;
    border-radius:12px;
  }

  .nav-dropdown.is-open > .nav-submenu{ display:block; }
}

@media (max-width: 600px){
  .hero{
    padding-top: calc(var(--nav-h) + var(--info-h) + 22px);
  }
  .hero-inner{ margin-top:10px; }
  .hero-content h1{ font-size:2.1rem; }
  .hero-top-info{ gap:16px; }
}








/* === HİZMETLERİMİZ === */

.services {
    background: var(--color-section-bg);
    color: var(--color-text);
    padding: 100px 60px 120px;
}

.services-inner {
    max-width: var(--container-width);
    margin: 0 auto;
}

/* 01 / 02 / 03 satırı – her birinin sağında uzun çizgi */

.services-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

.service-step {
    display: flex;
    align-items: center;
    gap: 16px;
}

.service-step-number {
    font-size: 1.1rem;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: var(--color-dark);
}

/* çizgi */
.service-step::after {
    content: "";
    flex: 1;
    height: 2px;
    background: rgba(148, 163, 184, 0.7);
}

/* Kartlar */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.service-card {
    background: #ffffff;
    padding: 60px 40px 50px;
    text-align: center;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #ff3b2f 0%, #b91c1c 70%, #7f1d1d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid rgba(248, 250, 252, 0.9);
}

.service-icon span {
    font-size: 1.8rem;
    color: #ffffff;
}

.service-card h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--color-dark);
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-muted);
}

/* Hizmetler responsive */

@media (max-width: 992px) {
    .services {
        padding: 70px 20px 80px;
    }

    .services-steps {
        grid-template-columns: 1fr;
        row-gap: 12px;
    }

    .service-step::after {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 40px 24px 36px;
    }
}

/* === NEDEN BİZ === */

.why-us {
    background: #ffffff;
    color: var(--color-text);
    padding: 100px 60px 120px;
}

.why-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.why-content {
    flex: 1 1 55%;
}

.why-content h2 {
    font-size: clamp(2.4rem, 3.4vw, 3rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: var(--color-dark);
}

.why-text {
    font-size: 0.98rem;
    line-height: 1.9;
    color: var(--color-muted);
    max-width: 560px;
    margin-bottom: 40px;
}

.why-highlights {
    list-style: none;
    margin: 0 0 40px;
    padding: 0;
}

.why-highlights li {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
    color: var(--color-dark);
}

.why-btn {
    margin-top: 10px;
}

/* SAĞ TARAF GÖRSEL BLOĞU (NAV ÜSTÜNE ÇIKMA FIX) */

.why-image-wrap{
  flex: 1 1 45%;
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;

  /* ✅ nav üstüne çıkmasın */
  z-index: 0;
  isolation: isolate; /* kendi içinde güvenli katman */
}

/* Arkadaki bordo eğik şerit */
.why-image-bg{
  position: absolute;
  right: 0;
  top: 5%;
  bottom: -5%;
  width: 70px;
  background: #7b1b13;
  transform: skewX(-10deg);

  /* ✅ sadece kendi içinde arkada kalsın */
  z-index: 0;
}

/* Asıl görsel maskesi */
.why-image-mask{
  position: relative;
  width: min(460px, 100%);
  /* ✅ yükseklik kontrolde: hem taşma azalır hem üstte kalmaz */
  aspect-ratio: 4 / 3;
  overflow: hidden;

  transform: skewX(-8deg);
  box-shadow: 0 24px 45px rgba(15, 23, 42, 0.2);

  /* ✅ wrap içindeki en üst katman ama nav değil */
  z-index: 1;
}

/* Görsel */
.why-image-mask img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  /* mask eğimini nötrle */
  transform: skewX(8deg) scale(1.05);
}

/* Responsive küçük ekran */
@media (max-width: 900px){
  .why-image-wrap{ min-height: 280px; }
  .why-image-bg{ width: 56px; }
  .why-image-mask{ aspect-ratio: 16 / 10; }
}


/* Neden Biz responsive */

@media (max-width: 992px) {
    .why-us {
        padding: 70px 20px 90px;
    }

    .why-inner {
        flex-direction: column;
        gap: 40px;
    }

    .why-content {
        flex: 1 1 auto;
    }

    .why-highlights li {
        font-size: 1.1rem;
    }

    .why-image-wrap {
        width: 100%;
        justify-content: flex-start;
    }

    .why-image-mask {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .why-content h2 {
        font-size: 2.1rem;
    }

    .why-highlights li {
        font-size: 1rem;
    }
}

/* === İSTATİSTİKLER + ANLAŞMALARIMIZ === */

.stats-partners {
    background: var(--color-section-bg);
    color: var(--color-text);
    padding: 100px 60px 120px;
}

.stats-inner {
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Üst 3 sayı */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    text-align: center;
    margin-bottom: 80px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 2px var(--color-red);
    text-stroke: 2px var(--color-red);
}

.stat-number::after {
    content: "+";
    margin-left: 4px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-dark);
}

/* Ortadaki başlık */

.partners-title {
    text-align: center;
    font-size: 1.4rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: var(--color-dark);
}

/* Logo sırası */

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.partners-logos img {
    max-height: 60px;
    width: auto;
    opacity: 0.9;
    filter: grayscale(20%);
    transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

.partners-logos img:hover {
    transform: translateY(-4px);
    opacity: 1;
    filter: grayscale(0%);
}

/* İstatistik responsive */

@media (max-width: 992px) {
    .stats-partners {
        padding: 70px 20px 90px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        row-gap: 30px;
        margin-bottom: 50px;
    }

    .stat-number {
        font-size: 2.4rem;
    }

    .partners-logos {
        gap: 24px;
    }

    .partners-logos img {
        max-height: 50px;
    }
}

@media (max-width: 600px) {
    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .partners-title {
        font-size: 1.1rem;
    }
}

/* === FOOTER === */

.site-footer {
    background: var(--color-section-alt);
    color: var(--color-muted);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    margin-top: 40px;
    font-size: 0.9rem;
}

.footer-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 60px 60px 30px;
    display: grid;
    grid-template-columns: 2fr 1fr 1.3fr;
    gap: 40px;
}

.footer-col h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 18px;
    color: var(--color-dark);
}

.footer-brand p {
    max-width: 420px;
    line-height: 1.7;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: 0.22em;
    font-size: 0.95rem;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-dark);
}

/* Hızlı menü linkleri */

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    text-decoration: none;
    color: var(--color-muted);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-red);
}

/* İletişim bilgileri */

.footer-info {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.footer-info li {
    margin-bottom: 6px;
}

.footer-info a {
    color: var(--color-muted);
    text-decoration: none;
}

.footer-info a:hover {
    color: var(--color-red);
}

/* Sosyal ikonlar */

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-dark);
    background: #ffffff;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
    background: var(--color-red);
    border-color: var(--color-red);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Alt bar */

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.4);
    padding: 14px 0 18px;
    background: #e5e7eb;
}

.footer-bottom-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-credit span {
    color: var(--color-dark);
}

/* Responsive footer */

@media (max-width: 992px) {
    .footer-inner {
        padding: 40px 20px 24px;
        grid-template-columns: 1.5fr 1fr;
        row-gap: 30px;
    }

    .footer-bottom-inner {
        padding: 0 20px;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-brand p {
        max-width: 100%;
    }
}



























/* NAV: sağ alan (sepet + telefon) */
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Sepet butonu */
.cart-button {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;

    /* telefon butonuna yakın bir görünüm için */
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cart-button:hover {
    background: rgba(255, 255, 255, 0.14);
}

.cart-icon {
    width: 22px;
    height: 22px;
    fill: #ffffff;
    opacity: 0.95;
}

/* Sepet sayaç rozet */
.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    line-height: 1;
    font-weight: 700;

    background: #ff1472;
    /* markanın pembe rengi varsa */
    color: #fff;
    border: 2px solid rgba(0, 0, 0, 0.25);
}






































/* Menü içi telefon (desktop'ta görünmesin) */
.nav-phone-item {
    display: none;
}

@media (max-width: 992px) {
    .nav-phone-item {
        display: block;
        width: 100%;
        margin-top: 6px;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }

    .nav-phone-link {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 12px;
        border-radius: 10px;
        text-decoration: none;
        color: #fff;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .nav-phone-ico {
        width: 28px;
        height: 28px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--color-red);
        color: #fff;
        font-size: 0.9rem;
    }
}




.cart-button {
    color: #fff;
}

.cart-icon {
    fill: currentColor;
}











































































/* ===== KENDİN TASARLA (DESIGNER) ===== */

.designer {
    background: #ffffff;
    color: var(--color-text);
    padding: 70px 60px 90px;
}

.designer-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    /* solda büyük, sağ panel */
    gap: 36px;
    align-items: start;
}

.designer-preview {
    position: relative;
    background: url("assets/ARKA.png") center/cover no-repeat;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
    min-height: 420px;
}





@media (max-width: 992px) {
    .designer-preview {
        min-height: 0 !important;
        aspect-ratio: 16 / 9;
        /* gerekirse 3/2 dene */
        width: 100%;
        background-position: 50% 50%;
        background-size: contain;
        background-repeat: no-repeat;
        background-color: #fff;
        /* boşluk kalırsa temiz dursun */
    }

    .designer-preview-img,
    .designer-layer {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: 50% 50%;
    }
}




.designer-preview-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Designer preview layers */
.designer-layer{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}


.designer-panel {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
    padding: 18px 18px 16px;
}

.designer-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 10px;
}

.designer-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: grid;
    gap: 8px;
    color: #374151;
    font-size: 0.9rem;
}

.designer-field {
    margin: 10px 0 14px;
}

.designer-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #111827;
    margin-bottom: 8px;
}

.designer-select {
    width: 100%;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.55);
    padding: 0 12px;
    font-family: inherit;
    outline: none;
    background: #fff;
}

.designer-select:focus {
    border-color: rgba(255, 59, 47, 0.7);
    box-shadow: 0 0 0 4px rgba(255, 59, 47, 0.12);
}

/* üst sekmeler */
.designer-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.45);
    padding-bottom: 10px;
    margin-top: 6px;
}

.designer-tab {
    background: transparent;
    border: none;
    padding: 10px 10px;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    cursor: pointer;
    color: #111827;
    border-radius: 10px 10px 0 0;
    opacity: 0.7;
}

.designer-tab.is-active {
    opacity: 1;
    color: var(--color-red);
}

/* alt sekmeler */
.designer-subtabs {
    display: flex;
    gap: 10px;
    margin: 12px 0 10px;
}

.designer-subtab {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.55);
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

.designer-subtab.is-active {
    border-color: rgba(255, 59, 47, 0.7);
    box-shadow: 0 0 0 4px rgba(255, 59, 47, 0.10);
}

/* grup */
.designer-group {
    margin-top: 12px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 12px;
    padding: 12px;
    background: #fafafa;
}

.designer-group-title {
    font-weight: 800;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    color: #111827;
    margin-bottom: 10px;
}

/* swatches */
.swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.swatch {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 2px solid rgba(17, 24, 39, 0.10);
    background: var(--sw, #000);
    cursor: pointer;
    position: relative;
}

.swatch.is-selected {
    border-color: rgba(255, 59, 47, 0.9);
    box-shadow: 0 0 0 4px rgba(255, 59, 47, 0.16);
}

.designer-help {
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.55;
}

/* satın alma */
.designer-buy {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.designer-price {
    font-weight: 800;
    color: #111827;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

.btn-addcart,
.btn-buy {
    height: 46px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.btn-addcart {
    background: #111827;
    color: #fff;
}

.btn-buy {
    background: var(--color-red);
    color: #fff;
}

/* responsive */
@media (max-width: 992px) {
    .designer {
        padding: 50px 20px 70px;
    }

    .designer-inner {
        grid-template-columns: 1fr;
    }

    .designer-preview {
        min-height: 260px;
    }
}





























































/* Designer items alanı */
.designer-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Renk kutuları (yan/orta deri, lakost, taytüyü, vip) */
.designer-items .swatch {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 2px solid rgba(17, 24, 39, 0.10);
    background: var(--sw, #000);
    cursor: pointer;
    position: relative;
}

.designer-items .swatch.is-selected {
    border-color: rgba(255, 59, 47, 0.95);
    box-shadow: 0 0 0 4px rgba(255, 59, 47, 0.16);
}

/* DESEN: küçük görsel kutuları */
.pattern-tile {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 2px solid rgba(17, 24, 39, 0.10);
    background: #e5e7eb;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pattern-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pattern-tile.is-selected {
    border-color: rgba(255, 59, 47, 0.95);
    box-shadow: 0 0 0 4px rgba(255, 59, 47, 0.16);
}

/* DESEN: "seçme (X)" kutusu */
.pattern-none {
    position: relative;
    background: #fff;
}

.pattern-none::before,
.pattern-none::after {
    content: "";
    position: absolute;
    width: 26px;
    height: 2px;
    background: rgba(17, 24, 39, 0.5);
    border-radius: 2px;
}

.pattern-none::before {
    transform: rotate(45deg);
}

.pattern-none::after {
    transform: rotate(-45deg);
}

/* DİKİŞ: renk kutuları biraz daha büyük olsun */
.stitch-swatch {
    width: 38px !important;
    height: 38px !important;
    border-radius: 8px !important;
}































/* =========================================================
   SEPET SAYFASI (sepet.html)
   ========================================================= */
.cart-main {
    padding: 40px 20px 80px;
}

.cart-page-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.cart-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 20px;
    letter-spacing: 0.02em;
}

.cart-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 22px;
}

@media (max-width: 992px) {
    .cart-grid {
        grid-template-columns: 1fr;
    }
}

.cart-empty {
    padding: 18px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.cart-empty a {
    color: var(--color-red);
    text-decoration: none;
    font-weight: 700;
}

.cart-list {
    display: grid;
    gap: 12px;
}

.cart-item {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    align-items: flex-start;
    padding: 14px 14px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cart-item-title {
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 6px;
}

.cart-item-meta {
    opacity: 0.9;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.cart-item-prices {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 13px;
    opacity: 0.95;
}

.cart-item-side {
    display: grid;
    gap: 10px;
    justify-items: end;
    min-width: 140px;
}

.cart-qty {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.qty-btn {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.qty-val {
    min-width: 18px;
    text-align: center;
    font-weight: 800;
}

.remove-btn {
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.18);
    color: #fff;
    padding: 10px 12px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
}

.cart-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

.cart-summary,
.checkout {
    padding: 16px 16px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cart-summary {
    margin-bottom: 12px;
}

.summary-title,
.checkout-title {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 900;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.18);
}

.summary-row:first-of-type {
    border-top: none;
    padding-top: 0;
}

.summary-total strong {
    font-size: 18px;
}

.summary-note {
    margin: 10px 0 0;
    opacity: 0.85;
    font-size: 13px;
    line-height: 1.4;
}

.checkout-form .form-row {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.checkout-form label {
    font-weight: 800;
    font-size: 13px;
    opacity: 0.9;
}

/* ✅ BURASI DÜZELTİLDİ: yazı beyaz değil koyu olacak */
.checkout-form input,
.checkout-form select,
.checkout-form textarea,
#checkoutForm input,
#checkoutForm select,
#checkoutForm textarea {
    width: 100%;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: #eaf2ff !important;          /* açık zemin */
    color: #0b1020 !important;              /* koyu yazı */
    -webkit-text-fill-color: #0b1020 !important;
    outline: none;
}

/* Select option rengi */
.checkout-form select option,
#checkoutForm select option {
    color: #0b1020 !important;
    background: #ffffff !important;
}

/* Placeholder */
.checkout-form input::placeholder,
.checkout-form textarea::placeholder,
#checkoutForm input::placeholder,
#checkoutForm textarea::placeholder{
    color: rgba(11,16,32,.55) !important;
    -webkit-text-fill-color: rgba(11,16,32,.55) !important;
}

/* Chrome/Opera autofill beyaz yazı sorununu kır */
.checkout-form input:-webkit-autofill,
.checkout-form textarea:-webkit-autofill,
.checkout-form select:-webkit-autofill,
#checkoutForm input:-webkit-autofill,
#checkoutForm textarea:-webkit-autofill,
#checkoutForm select:-webkit-autofill{
    -webkit-text-fill-color: #0b1020 !important;
    box-shadow: 0 0 0px 1000px #eaf2ff inset !important;
    transition: background-color 9999s ease-out 0s;
}

.checkout-note {
    margin: 10px 0 0;
    opacity: 0.85;
    font-size: 13px;
    line-height: 1.4;
}














































































.hk-modal-thumbs {
    display: flex;
    gap: 8px;
    padding: 10px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, .10);
    background: #0b1020;
}

.hk-thumb {
    width: 58px;
    height: 58px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .18);
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.hk-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hk-thumb.is-active {
    outline: 2px solid rgba(255, 255, 255, .65);
}