/* ==========================================================================
   AYDIN YAPI MARKET — token sistemi
   ========================================================================== */
:root{
  --bg: #FFFFFF;
  --bg-soft: #FAFAF8;
  --bg-raised: #F5F4F0;
  --ink: #262220;
  --ink-soft: #55504A;
  --line: #E7E4DC;

  --paint-orange: #E2531F;
  --paint-yellow: #D9A61B;
  --paint-red: #B23A2E;
  --paint-blue: #2B6E8C;
  --paint-grey: #6B675E;
  --paint-green: #4B7A3D;

  --paint-current: var(--paint-orange);

  --font-display: "Oswald", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --radius: 2px;
  --container: 1180px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a{ color: inherit; }
h1,h2,h3{ font-family: var(--font-display); margin: 0; text-transform: uppercase; letter-spacing: 0.01em; }
p{ margin: 0; }
ul,dl{ margin: 0; padding: 0; list-style: none; }

.eyebrow{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--paint-current);
  margin: 0 0 0.9rem;
  transition: color 0.4s ease;
}

/* ==========================================================================
   Boya damlası arka planı
   ========================================================================== */
#drip-bg{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.grain-overlay{
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand{
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
}
.brand-sub{
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  margin-top: 0.15rem;
}
.brand-mark.small{ font-size: 1.05rem; }
.brand-sub.small{ font-size: 0.55rem; }

.main-nav{
  display: flex;
  align-items: center;
  gap: 2rem;
}
.main-nav a{
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-bottom: 2px;
}
.main-nav a:not(.nav-phone)::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--paint-current);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav a:not(.nav-phone):hover::after,
.main-nav a:not(.nav-phone):focus-visible::after{ transform: scaleX(1); }

.nav-phone{
  background: var(--ink);
  color: var(--bg);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
}

.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span{
  width: 22px; height: 2px;
  background: var(--ink);
  display: block;
}

a:focus-visible, button:focus-visible{
  outline: 2px solid var(--paint-current);
  outline-offset: 3px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position: relative;
  z-index: 2;
  overflow: hidden;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 1.5rem 4rem;
  max-width: var(--container);
  margin: 0 auto;
}

.hero-inner{ max-width: 780px; }

.hero-title{
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 700;
  line-height: 0.98;
  color: var(--ink);
}

.hero-sub{
  margin-top: 1.6rem;
  max-width: 520px;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.hero-cta{
  margin-top: 2.2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--ink);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-primary{
  background: var(--paint-current);
  border-color: var(--paint-current);
  color: #FBF8F1;
}
.btn-primary:hover{ filter: brightness(1.08); }
.btn-ghost{
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover{ background: var(--ink); color: var(--bg); }

.scroll-hint{
  position: absolute;
  bottom: 2.2rem;
  left: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.scroll-hint span{
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
}
.scroll-hint-line{
  width: 2px;
  height: 34px;
  background: linear-gradient(var(--paint-current), transparent);
  animation: dripPulse 1.8s ease-in-out infinite;
}
@keyframes dripPulse{
  0%,100%{ transform: scaleY(1); opacity: 0.9; }
  50%{ transform: scaleY(0.6); opacity: 0.4; }
}

/* ==========================================================================
   Genel section düzeni
   ========================================================================== */
section{ position: relative; z-index: 2; }

/* ---------- Dekoratif şekiller (beyaz zemin üzerinde hafif dokunuşlar) ---------- */
.hero::before{
  content: "";
  position: absolute;
  top: -8%;
  right: -10%;
  width: min(52vw, 640px);
  height: min(52vw, 640px);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(226,83,31,0.10), transparent 70%);
  background: radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--paint-current) 14%, transparent), transparent 70%);
  pointer-events: none;
  z-index: -1;
  transition: background 0.5s ease;
}
.hero::after{
  content: "";
  position: absolute;
  top: 14%;
  right: 6%;
  width: 130px;
  height: 130px;
  border: 2px solid rgba(226,83,31,0.35);
  border: 2px solid color-mix(in srgb, var(--paint-current) 45%, transparent);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.categories::before{
  content: "";
  position: absolute;
  left: -6%;
  top: 30%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(38,34,32,0.035), transparent 68%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.section-head{ position: relative; }
.section-head::after{
  content: "";
  position: absolute;
  left: 1.5rem;
  bottom: 1rem;
  width: 46px;
  height: 4px;
  background: var(--paint-current);
  transition: background 0.4s ease;
}

.cat-card{ position: relative; }
.cat-card::after{
  content: "";
  position: absolute;
  right: 1.2rem;
  bottom: 1.1rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--paint, var(--paint-orange));
  opacity: 0.35;
  pointer-events: none;
}

.about{ overflow: hidden; }
.about::before{
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(242,238,228,0.14);
  pointer-events: none;
}
.about::after{
  content: "";
  position: absolute;
  right: 20px;
  bottom: 30px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 1px solid rgba(242,238,228,0.1);
  pointer-events: none;
}

.contact{ overflow: hidden; }
.contact::before{
  content: "";
  position: absolute;
  left: -8%;
  bottom: -12%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, rgba(43,110,140,0.09), transparent 70%);
  background: radial-gradient(circle at 60% 40%, color-mix(in srgb, var(--paint-current) 10%, transparent), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.section-head{
  max-width: var(--container);
  margin: 0 auto;
  padding: 5rem 1.5rem 2.5rem;
}
.section-title{
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

/* ==========================================================================
   Kategoriler
   ========================================================================== */
.categories{ padding-bottom: 2rem; }

.cat-grid{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.cat-card{
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cat-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -18px rgba(38,34,32,0.35);
}

.cat-swatch{
  height: 8px;
  background: var(--paint, var(--paint-orange));
}

.cat-body{ padding: 1.6rem; }
.cat-tag{
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}
.cat-body h3{
  font-size: 1.25rem;
  margin: 0.6rem 0 0.6rem;
}
.cat-body p{
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ==========================================================================
   Hakkımızda
   ========================================================================== */
.about{
  background: var(--ink);
  color: var(--bg);
  padding: 5rem 1.5rem;
}
.about-inner{ max-width: var(--container); margin: 0 auto; }
.about .eyebrow{ color: var(--paint-current); }
.about-text{
  max-width: 640px;
  margin-top: 1.4rem;
  font-size: 1.08rem;
  color: #D9D4C8;
}
.about-stats{
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.stat-num{
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--bg);
}
.stat-label{
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: #A8A296;
  margin-top: 0.3rem;
}

/* ==========================================================================
   İletişim
   ========================================================================== */
.contact{ padding: 5rem 1.5rem 6rem; }
.contact-inner{
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.info-list{ margin-top: 2rem; display: flex; flex-direction: column; gap: 1.4rem; }
.info-row dt{
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--paint-current);
  margin-bottom: 0.3rem;
}
.info-row dd{ margin: 0; font-size: 1rem; }
.info-row a{ text-decoration: none; border-bottom: 1px solid var(--ink); }

.contact-cta{ margin-top: 2.2rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.map-embed{
  height: 100%;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-raised);
  filter: grayscale(0.25) contrast(1.05);
}
.map-embed iframe{ display: block; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{
  border-top: 1px solid var(--line);
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 2;
  background: var(--bg);
}
.footer-inner{
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.footer-inner p{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-soft);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px){
  .cat-grid{ grid-template-columns: repeat(2, 1fr); }
  .contact-inner{ grid-template-columns: 1fr; }
  .map-embed{ min-height: 280px; }
  .hero::before{ width: 70vw; height: 70vw; top: -14%; }
}

@media (max-width: 680px){
  .main-nav{
    position: fixed;
    inset: 62px 0 0 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.6rem;
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    border-top: 1px solid var(--line);
    z-index: 60;
  }
  .main-nav.open{ transform: translateY(0); }
  .main-nav a{ font-size: 1.05rem; padding: 0.4rem 0; }
  .nav-toggle{ display: flex; }
  .cat-grid{ grid-template-columns: 1fr; }
  .about-stats{ gap: 2rem; }

  .section-head{ padding: 3.4rem 1.25rem 1.8rem; }
  .hero{ padding: 1.6rem 1.25rem 3.4rem; }
  .hero-cta{ flex-direction: column; align-items: stretch; }
  .hero-cta .btn{ width: 100%; }

  .about{ padding: 3.6rem 1.25rem; }
  .about-stats{ gap: 1.6rem 2.2rem; }

  .contact{ padding: 3.6rem 1.25rem 4rem; }
  .contact-cta{ flex-direction: column; align-items: stretch; }
  .contact-cta .btn{ width: 100%; }
  .map-embed{ min-height: 240px; }

  .about::before, .about::after, .categories::before, .contact::before, .hero::after{ display: none; }
}

@media (max-width: 420px){
  .header-inner{ padding: 0.75rem 1.1rem; }
  .brand-mark{ font-size: 1.15rem; }
  .hero-title{ font-size: clamp(2.1rem, 10vw, 2.8rem); }
  .hero-sub{ font-size: 0.98rem; }
  .cat-body{ padding: 1.3rem; }
  .stat-num{ font-size: 2rem; }
  .footer-inner{ flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Mobilde performans: ağır scroll-bağlı animasyon ve blur kapatılıyor
   (düşük güçlü mobil GPU'larda kayma/gecikme hissine yol açıyordu)
   ========================================================================== */
@media (max-width: 680px), (pointer: coarse){
  #drip-bg{ display: none; }
  .grain-overlay{ display: none; }
  .site-header{
    background: rgba(255,255,255,0.97);
    backdrop-filter: none;
  }
  html{ scroll-behavior: auto; }
}
