/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #2b2b2b;

  /* 🔥 SABİT ARKAPLAN */
  background-image: url("/static/images/background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.web-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;

  background: rgba(245, 244, 239, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 18px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 14px;
}

.lang-select select {
  border: none;
  background: transparent;
  font-family: 'Montserrat', sans-serif;
}

/* ===== CONTENT ===== */
.web-content {
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 120px;

  /* 🔥 içerik arkaplan üstünde */
  background: rgba(255,255,255,0.08);
}

@media (max-width: 820px){
  .web-content{ padding-top: 92px; }
}

/* Örnek içerik blokları için */
.section {
  background: rgba(255,255,255,0.88);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 40px;
}

@media (max-width: 1024px){
  .section{ padding: 28px; }
  .signature-box{ padding: 24px; }
}

/* ===== FOOTER ===== */
.web-footer {
  background: rgba(245, 244, 239, 0.95);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a {
  font-size: 13px;
  color: #333;
  text-decoration: none;
}

/* ===== LOGO ===== */
.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 34px;
  width: auto;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 18px;
}

/* ===== PAGE ENTER ANIMATION ===== */
.page-wrap {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
  will-change: opacity, transform;
}

.page-wrap.is-enter {
  opacity: 1;
  transform: translateY(0);
}

/* Kullanıcı “reduce motion” isterse animasyon kapansın */
@media (prefers-reduced-motion: reduce) {
  .page-wrap,
  .page-wrap.is-enter {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ===== LOADING OVERLAY ===== */
.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.loading-overlay.is-visible {
  display: block;
}

.loading-bg {
  position: absolute;
  inset: 0;
  background-image: url("/static/images/background.png");
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  transform: scale(1.03); /* blur kenarlarda boşluk olmasın */
}

.loading-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.08); /* hafif ferahlık */
}

.loading-logo {
  width: min(320px, 70vw);
  height: auto;
  filter: drop-shadow(0 18px 35px rgba(0,0,0,0.25));
  animation: embagoPulse 1.6s ease-in-out infinite;
}

@keyframes embagoPulse {
  0%   { opacity: .78; transform: scale(1); }
  50%  { opacity: 1;   transform: scale(1.03); }
  100% { opacity: .78; transform: scale(1); }
}

/* ===== HERO SIGNATURE ===== */
.signature-box {
  background: rgba(255,255,255,0.88);
  border-radius: 16px;
  padding: 32px 36px;
}

.signature-row {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap; /* mobilde alta düşsün */
}

/* Sol taraf: Logo + EMBAGO */
.signature-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.signature-brand img {
  height: 56px;          /* 🔥 logo büyüdü */
  width: auto;
}

.signature-brand span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 22px;
  color: #1f1f1f;
}

/* Sağ taraf: İmza */
.signature-text {
  font-family: 'Dancing Script', cursive;
  font-size: 36px;
  font-weight: 600;
  color: #2b2b2b;
  white-space: nowrap;  /* masaüstünde tek satır */
}

/* Mobil ince ayar */
@media (max-width: 768px) {
  .signature-text {
    white-space: normal;
    text-align: center;
    font-size: 30px;
  }
}

/* ================================
   FORM CARD (admin modal dili)
================================ */
.m-card{
  background: rgba(255,255,255,0.90);
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);
  overflow: hidden;
}

.m-card-static{
  margin-top: 14px;
}

.m-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.m-title{
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .2px;
}

.m-help{
  margin-top: 6px;
  font-size: 13px;
  opacity: .72;
  line-height: 1.35;
}

/* body + grid */
.m-body{
  padding: 18px 22px 8px 22px;
}

.m-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}

@media (max-width: 820px){
  .m-grid{ grid-template-columns: 1fr; }
}

/* fields */
.m-field label{
  display:block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 7px;
}

.m-field .m-help{
  margin-top: 6px;
  font-size: 12px;
  opacity: .70;
}

/* inputs */
.m-field input,
.m-field select,
.m-field textarea{
  width: 100%;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 12px;
  padding: 11px 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.m-field textarea{
  min-height: 110px;
  resize: vertical;
}

.m-field input:focus,
.m-field select:focus,
.m-field textarea:focus{
  border-color: rgba(0,0,0,0.22);
  box-shadow: 0 0 0 4px rgba(0,0,0,0.06);
}

/* price */
.m-price{
  display:flex;
  align-items:baseline;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.70);
}

.m-price b{
  font-size: 20px;
  font-weight: 900;
}

.m-price .m-tl{
  font-size: 13px;
  opacity: .75;
}

/* actions */
.m-actions{
  display:flex;
  justify-content:flex-end;
  gap: 10px;
  padding: 14px 22px 18px 22px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* buttons */
.btn-primary{
  border: none;
  border-radius: 14px;
  padding: 11px 16px;
  font-weight: 800;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  background: #f6a200; /* turuncu/altın */
  color: #1b1b1b;
  transition: transform .12s ease, filter .12s ease;
}
.btn-primary:hover{ transform: translateY(-1px); filter: brightness(0.98); }
.btn-primary:active{ transform: translateY(0px); }

.btn-light{
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.85);
  border-radius: 14px;
  padding: 11px 16px;
  font-weight: 800;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
}

.btn-mini{
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.85);
  border-radius: 12px;
  padding: 8px 12px;
  font-weight: 800;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
}

/* map */
.map-wrap{
  height: 260px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.10);
  overflow: hidden;
  background: rgba(255,255,255,0.65);
}

.map-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-top: 10px;
  flex-wrap:wrap;
}

/* Tabs: form kartı kadar geniş, 2'ye bölünsün */
.tabs{
  display:flex;
  gap:12px;
  width:100%;
}

.tab-btn{
  flex: 1 1 50%;
  width: 50%;
  text-align: center;
  justify-content: center;
  padding: 14px 16px;
  border-radius: 16px;

  /* FONT */
  font-family: 'Montserrat', sans-serif;
  font-size: 15.5px;   /* bir tık daha büyük */
  font-weight: 600;    /* net, modern */
  letter-spacing: 0.2px;
}

/* Mobilde alt alta da inebilir istersen */
@media (max-width: 620px){
  .tabs{
    flex-direction: column;
  }
  .tab-btn{
    width: 100%;
  }
}

.tab-btn.is-active{
  background: rgba(255,255,255,0.92);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  font-weight: 700;
}

.tab-btn:disabled{
  cursor: not-allowed;
  opacity: .55;
}

.tab-panel{ display:none; }
.tab-panel.is-active{ display:block; }

/* ===== WAIT PAGE ===== */

.wait-wrap{
  min-height: calc(100vh - 160px); /* header + footer payı */
  display: flex;
  align-items: center;
  justify-content: center;
}

.wait-card{
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-radius: 22px;
  padding: 56px 48px;
  width: 100%;
  max-width: 520px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.15);

  animation: fadeUp .6s ease-out;
}

.wait-logo{
  width: 170px;
  margin-bottom: 22px;
  animation: pulse 1.6s ease-in-out infinite;
}

.wait-title{
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.wait-sub{
  font-size: 14px;
  opacity: .7;
}

/* Animations */
@keyframes pulse {
  0%   { opacity: .4; transform: scale(.97); }
  50%  { opacity: 1;  transform: scale(1); }
  100% { opacity: .4; transform: scale(.97); }
}

@keyframes fadeUp{
  from{ opacity:0; transform: translateY(20px); }
  to{ opacity:1; transform: translateY(0); }
}

.forget-device{
  margin-left: 10px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;

  color: #9b2c2c;
  background: rgba(255,255,255,0.6);
  border-radius: 10px;
  text-decoration: none;
  transition: all .2s ease;
}

.forget-device:hover{
  background: rgba(255,255,255,0.85);
  color: #7a1f1f;
}

.result-card{
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.06);
  padding: 18px 18px;
}

.result-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding-bottom:12px;
  border-bottom: 1px solid #EEF1F3;
}

.result-title{
  font-weight: 800;
  font-size: 16px;
}

.result-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin-top: 14px;
}

.result-item .k{
  font-size: 12px;
  font-weight: 800;
  opacity: .8;
  margin-bottom: 6px;
}

.result-item .v{
  font-size: 13px;
  font-weight: 700;
}

@media(max-width: 760px){
  .result-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 900px){
  .main-nav{ gap: 14px; }
  .main-nav a{ font-size: 13px; }
}

.status-pill{
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
}

/* örnek durum renkleri (istersen genişletiriz) */
.status-open{ background:#fff4e5; color:#b86b00; }
.status-ok{ background:#e9fff0; color:#087f3e; }
.status-bad{ background:#ffecec; color:#b00020; }

.result-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:14px;
}

/* Hareket kutusu (admin ile aynı) */
.hareket-card{
  border: 1px solid #E9ECEF;
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 14px;
}

.hareket-title{
  font-weight: 700;
  margin-bottom: 10px;
}

.hareket-list{
  display:flex;
  flex-direction:column;
  gap:8px;
  font-weight: 600;
  font-size: 12px;
}

.hareket-sep{
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #E9ECEF;
}

.hareket-label{
  opacity:.7;
  font-size:12px;
}

.hareket-value{
  font-weight:600;
  font-size:12px;
}