/* =========================
   RESET + ROOT
========================= */
:root{
  --bg: #0b1220;
  --panel: rgba(255,255,255,0.04);
  --panel2: rgba(255,255,255,0.02);
  --border: rgba(255,255,255,0.08);

  --text: #e8eef7;
  --muted: rgba(232,238,247,0.72);

  --brand: #ffc400;
  --brand2: rgba(255,196,0,0.45);

  --shadow: 0 18px 50px rgba(0,0,0,0.35);
  --radius: 20px;
}

*{ margin:0; padding:0; box-sizing:border-box; }
html, body{ height:100%; }

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a{ color: inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

/* =========================
   LAYOUT
========================= */
.container{
  width: min(1100px, 92%);
  margin: 0 auto;
}

.section{
  padding: 40px 0;
}

.section-title{
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 4px solid var(--brand);
}

.main{ padding-top: 18px; }

.muted{ color: var(--muted); }
.note{
  color: rgba(232,238,247,0.70);
  font-size: 13px;
}

/* =========================
   HEADER (LOGO WATERMARK)
========================= */
.topbar{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8,12,22,0.65);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.topbar::before{
  content:"";
  position:absolute;
  inset:0;
  background: url("/assets/img/logo.png") no-repeat center center;
  background-size: 420px;
  opacity: 0.20;
  filter: brightness(1.4) contrast(1.15);
  pointer-events:none;
}

.topbar-inner{
  position: relative;
  z-index: 2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
}

/* =========================
   NAV
========================= */
.nav{
  display:flex;
  align-items:center;
  gap: 14px;
}

.nav a{
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
}

.nav a:hover{
  border-color: rgba(255,196,0,0.30);
  background: rgba(255,255,255,0.05);
}

.nav a.active{
  border-color: rgba(255,196,0,0.50);
  background: rgba(255,196,0,0.15);
}

.nav .nav-cta{
  border-color: rgba(255,196,0,0.40);
  background: rgba(255,196,0,0.12);
}

.nav-toggle{
  display:none;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 18px;
  color:#fff;
  cursor:pointer;
}

/* Mobile Nav */
@media (max-width: 860px){
  .nav-toggle{ display:block; }

  .nav{
    display:none;
    position:absolute;
    top: 60px;
    left: 4%;
    right: 4%;
    flex-direction: column;
    gap: 10px;
    background: rgba(8,12,22,0.95);
    padding: 15px;
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

  body.nav-open .nav{
    display:flex;
  }

  .nav a{ width:100%; }
}

/* =========================
   HERO (INDEX)
========================= */
.hero{
  position: relative;
  padding: 90px 0 55px;
  overflow: hidden;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: url("/assets/img/logo.png") no-repeat center center;
  background-size: 560px;
  opacity: 0.12;
  filter: brightness(1.6) contrast(1.1);
  pointer-events:none;
}

.hero > *{ position: relative; z-index: 2; }

.hero h1{
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.gold{ color: var(--brand); }

.hero-inner{
  display:grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
  align-items: start;
}

.hero-badge{
  background: linear-gradient(145deg, var(--panel), var(--panel2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.badge-list{
  margin-top: 6px;
  padding-left: 18px;
  color: var(--muted);
}

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

/* =========================
   PREMIUM CARD
========================= */
.card{
  background: linear-gradient(145deg, var(--panel), var(--panel2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: all .25s ease;
}

.card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--brand2);
}

.card h3{
  color: var(--brand);
  margin-bottom: 10px;
}

.card p{
  color: var(--muted);
  font-size: 15px;
}

/* =========================
   GRID (GENEL)
========================= */
.grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

/* =========================
   PRODUCT GRID
========================= */
.product-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 25px;
}

.product{
  background: linear-gradient(145deg, var(--panel), var(--panel2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .25s ease;
}

.product:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--brand2);
}

.product .img{
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 20px;
}

.product .body{ padding: 18px; }

.product .cat{
  font-size: 13px;
  color: var(--brand);
  margin-bottom: 6px;
}

.product .name{
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 8px;
  letter-spacing: .2px;
}

.product .desc{
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}

.product .sku{
  font-size: 13px;
  color: rgba(232,238,247,0.65);
}

/* =========================
   CONTACT PAGE (3 CARD)
========================= */
.contact-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 20px;
}

/* FORM */
.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field.full{ grid-column: 1 / -1; }

.input{
  width:100%;
  padding:12px 12px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color: #fff;
  outline: none;
}

.input:focus{
  border-color: rgba(255,196,0,0.45);
}

textarea.input{
  min-height: 120px;
  resize: vertical;
}

/* INFO LIST */
.info-row{
  display:flex;
  justify-content:space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.info-row .k{ color: var(--muted); }
.info-row .v{ color: rgba(232,238,247,0.92); }

/* Map wrapper */
.map-wrapper{
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

/* ALERTS */
.alert{
  padding: 14px;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.08);
}

.alert.ok{
  background: rgba(0,200,100,0.15);
  border-color: rgba(0,200,100,0.40);
}

.alert.err{
  background: rgba(255,60,60,0.15);
  border-color: rgba(255,60,60,0.40);
}

/* =========================
   BUTTONS
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 18px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  font-weight: 700;
  transition: .2s;
  cursor: pointer;
}

.btn:hover{
  border-color: rgba(255,196,0,0.45);
  transform: translateY(-2px);
}

.btn-primary{
  background: rgba(255,196,0,0.15);
  border-color: rgba(255,196,0,0.40);
}

.btn-primary:hover{
  background: rgba(255,196,0,0.20);
}

/* full-width button helper */
.full{ width:100%; }

/* =========================
   FOOTER
========================= */
.footer{
  padding: 25px 0;
  text-align:center;
  border-top:1px solid rgba(255,255,255,0.06);
  color: var(--muted);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px){
  .section{ padding: 28px 0; }
  .section-title{ font-size: 18px; }
  .card{ padding: 22px; border-radius: 18px; }
  .grid{ gap: 22px; }

  .product-grid{ gap: 28px; }
  .contact-grid{ gap: 28px; }

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

@media (max-width: 420px){
  .container{ width: 92%; }
}

/* =========================
   MAP CARD (karta tam otursun)
========================= */
.map-card{
  padding: 0;              /* kart paddingini sıfırla */
  overflow: hidden;        /* taşmayı engelle */
}

.map-card .map-head{
  padding: 22px 22px 0 22px;
}

.map-embed{
  margin-top: 14px;
  height: 320px;           /* masaüstü yüksekliği */
  width: 100%;
}

.map-embed iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* mobilde biraz daha kısa */
@media (max-width: 768px){
  .map-embed{ height: 260px; }
}
/* =========================
   FOOTER FINAL DÜZEN
========================= */

.footer{
  margin-top: 60px;
  padding-top: 40px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-title{
  font-weight: 800;
  font-size: 18px;
  color: var(--brand);
  margin-bottom: 6px;
}

.footer-text{
  font-size: 14px;
  color: var(--muted);
}

.footer-right{
  display:flex;
  align-items:center;
  gap: 14px;
  font-size: 14px;
}

.footer-right a{
  color: rgba(232,238,247,0.85);
  transition: .2s;
}

.footer-right a:hover{
  color: var(--brand);
}

.footer-right .dot{
  opacity: 0.5;
}

.footer-bottom{
  margin-top: 30px;
  padding: 18px 0;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}

/* =========================
   MOBILE FOOTER
========================= */

@media (max-width: 768px){

  .footer-inner{
    flex-direction: column;
    text-align: center;
  }

  .footer-right{
    justify-content: center;
    flex-wrap: wrap;
  }

}
/* =========================
   İLETİŞİM BİLGİLERİ HİZALAMA
========================= */

.info-list{
  margin-top: 6px;
}

.info-row{
  display: grid;
  grid-template-columns: 120px 1fr; /* sol sabit, sağ esnek */
  gap: 14px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.info-row:last-child{
  border-bottom: 0;
}

.info-row .k{
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap; /* soldaki başlıklar tek satır */
}

.info-row .v{
  color: rgba(232,238,247,0.92);
  font-size: 14px;
  line-height: 1.45;
  word-break: break-word;      /* adres taşmasın */
  overflow-wrap: anywhere;     /* uzun stringlerde taşmayı engelle */
}

/* Mobilde alt alta */
@media (max-width: 768px){
  .info-row{
    grid-template-columns: 1fr; /* tek kolon */
    gap: 6px;
    padding: 12px 0;
  }

  .info-row .k{
    white-space: normal;
    font-size: 12px;
    opacity: .9;
  }

  .info-row .v{
    font-size: 14px;
  }
}

/* =========================
   MOBILE FIX: İletişim Bilgileri hizalama (KESİN OVERRIDE)
========================= */
@media (max-width: 768px){
  .contact-grid .card .info-list .info-row{
    display:flex !important;
    flex-direction: column !important;
    align-items:flex-start !important;
    gap: 6px !important;
    padding: 12px 0 !important;
  }

  .contact-grid .card .info-list .info-row .k{
    width: 100% !important;
    white-space: normal !important;
    font-size: 12px !important;
    color: var(--muted) !important;
  }

  .contact-grid .card .info-list .info-row .v{
    width: 100% !important;
    font-size: 14px !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }
}
/* =========================
   HEADER FULL BACKGROUND LOGO (PC)
========================= */

.topbar{
  position: relative;
  overflow: hidden;
  background: rgba(8,12,22,0.85); /* koyuluğu biraz azalttım */
}

/* Logo arka plan */
.topbar::before{
  content:"";
  position:absolute;
  inset:0;
  background: url("/assets/img/logo.png") no-repeat center center;
  background-size: contain;   /* TAMAMINI GÖSTER */
  opacity: 0.18;              /* görünür ama yazıyı boğmaz */
  filter: brightness(1.4) contrast(1.1);
  pointer-events:none;
}

/* Menü üstte kalsın */
.topbar-inner{
  position: relative;
  z-index: 2;
}

/* PC'de daha büyük göster */
@media (min-width: 992px){
  .topbar::before{
    background-size: 80%;
    opacity: 0.22;
  }
}
/* =========================
   HERO FULL BACKGROUND LOGO (PC)
========================= */

.hero-home{
  position: relative;
  overflow: hidden;
}

/* Arkaplan logo */
.hero-home::before{
  content:"";
  position:absolute;
  inset:0;
  background: url("/assets/img/logo.png") no-repeat center center;
  background-size: contain;   /* tamamını göster */
  opacity: 0.10;
  filter: brightness(1.5) contrast(1.1);
  pointer-events:none;
}

/* İçerik üstte kalsın */
.hero-home > .container{
  position: relative;
  z-index: 2;
}

/* PC’de tamamen yay */
@media (min-width: 992px){
  .hero-home::before{
    background-size: 100% auto;  /* genişliği tamamen kapla */
    opacity: 0.14;
  }
}
/* =========================
   HERO: arkaplan logo sadece container/kart içinde
========================= */

/* Eski full-width hero watermark'ını kapat */
.hero::before,
.hero-home::before{
  content: none !important;
}

/* Hero içini kart gibi yap */
.hero-home{
  padding: 26px 0 18px; /* taşmayı azalt */
}

.hero-home .hero-inner{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(8,12,22,0.55);
  padding: 46px 44px;   /* PC padding */
}

/* Logo sadece bu kartın içinde yayılır */
.hero-home .hero-inner::before{
  content:"";
  position:absolute;
  inset:0;
  background: url("/assets/img/logo.png") no-repeat center center;
  background-size: cover;   /* kartı kaplasın */
  opacity: 0.14;            /* çok büyümesin */
  filter: brightness(1.25) contrast(1.05);
  pointer-events:none;
}

/* içerik üstte */
.hero-home .hero-inner > *{
  position: relative;
  z-index: 2;
}

/* Mobil düzen */
@media (max-width: 900px){
  .hero-home .hero-inner{
    padding: 28px 18px;
  }
  .hero-home .hero-inner::before{
    opacity: 0.10;
    background-size: cover;
  }
}
/* =========================
   MOBİL MENÜ FIX (overflow kırpma sorunu)
========================= */

/* Header menüyü kırpmasın */
.topbar{
  overflow: visible !important;
}

/* Mobil açılır menüyü üstte tut */
@media (max-width: 860px){
  .nav{
    z-index: 2000 !important;
  }

  /* İstersen daha sağlam: absolute yerine fixed */
  body.nav-open .nav{
    position: fixed !important;
    top: 72px !important;
    left: 12px !important;
    right: 12px !important;
  }
}
/* =========================
   MOBİL: Header logo pozisyonu
========================= */
@media (max-width: 860px){
  .topbar::before{
    background-position: center 12px !important; /* yukarı kaydır */
    background-size: 320px !important;           /* mobilde daha dengeli */
    opacity: 0.18 !important;                    /* istersen 0.14 de yapabiliriz */
  }
}
/* =========================
   MOBİL HEADER LOGO FIX
========================= */

@media (max-width: 860px){

  .topbar{
    height: 70px; /* header yüksekliği sabit */
  }

  .topbar::before{
    background-size: 220px !important;      /* küçült */
    background-position: center top !important; /* tam yukarı al */
    opacity: 0.12 !important;               /* daha hafif */
  }

}