/* ============================================================
   BASKI PARTNERİM — Ana Stil Dosyası
   ============================================================ */

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

:root {
  --primary:       #1e3a5f;
  --primary-light: #2980b9;
  --accent:        #f39c12;
  --success:       #27ae60;
  --danger:        #e74c3c;
  --text:          #1a1a2e;
  --text-muted:    #6b7280;
  --bg:            #f8fafc;
  --white:         #ffffff;
  --border:        #e5e7eb;
  --radius:        12px;
  --radius-lg:     20px;
  --shadow:        0 4px 24px rgba(0,0,0,.08);
  --shadow-lg:     0 8px 48px rgba(0,0,0,.12);
  --transition:    .25s ease;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }

img { max-width: 100%; height: auto; }
a { color: var(--primary-light); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius); font-weight: 600;
  font-size: 15px; cursor: pointer; border: 2px solid transparent;
  transition: var(--transition); white-space: nowrap; text-decoration: none;
}
.btn-primary  { background: var(--primary); color: #fff; }
.btn-primary:hover  { background: var(--primary-light); transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; color: #fff; }
.btn-outline  { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover  { background: var(--primary); color: #fff; text-decoration: none; }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1da851; text-decoration: none; color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-danger { background: var(--danger); color: #fff; }

/* ── Header ── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); transition: var(--transition);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: var(--primary); text-decoration: none; }
.logo-icon { font-size: 26px; }
.logo-text strong { color: var(--primary-light); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--text); font-weight: 500; font-size: 15px; transition: color var(--transition); }
.nav a:hover { color: var(--primary-light); text-decoration: none; }
.nav-cta { margin-left: 12px; padding: 10px 20px; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--primary); }
.mobile-nav { display: none; position: fixed; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 16px; z-index: 999; flex-direction: column; gap: 12px; }
.mobile-nav.open { display: flex; }

/* ── Hero ── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #0f2340 0%, #1e3a5f 40%, #1a5276 70%, #2980b9 100%); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-badge { display: inline-block; background: rgba(255,255,255,.12); color: #fff; padding: 8px 16px; border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 24px; border: 1px solid rgba(255,255,255,.2); }
.hero-title { font-size: clamp(36px, 5vw, 64px); font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 24px; }
.gradient-text { background: linear-gradient(90deg, #f39c12, #e67e22); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 18px; color: rgba(255,255,255,.8); margin-bottom: 36px; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-actions .btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; font-size: 17px; padding: 16px 32px; }
.hero-actions .btn-primary:hover { background: #e67e22; }
.hero-actions .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.hero-actions .btn-outline:hover { background: rgba(255,255,255,.15); }
.hero-stats { display: flex; gap: 40px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 28px; font-weight: 800; color: #fff; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.6); }

/* ── Sections ── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; color: var(--primary); margin-bottom: 12px; }
.section-header p { font-size: 17px; color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.section-header.light h2 { color: #fff; }
.section-header.light p { color: rgba(255,255,255,.75); }

/* ── Services ── */
.services { padding: 96px 0; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.service-card { background: #fff; border-radius: var(--radius-lg); padding: 36px 28px; border: 1px solid var(--border); transition: var(--transition); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.service-icon { font-size: 40px; margin-bottom: 20px; }
.service-card h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 20px; }
.service-link { font-weight: 600; color: var(--primary-light); font-size: 14px; }
.service-link:hover { text-decoration: none; opacity: .8; }

/* ── Price Engine ── */
.price-engine { background: linear-gradient(135deg, #1e3a5f, #2980b9); padding: 96px 0; }
.wizard-container { max-width: 800px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.wizard-step { display: none; padding: 40px; }
.wizard-step.active { display: block; }
.step-header { display: flex; gap: 12px; align-items: center; margin-bottom: 32px; justify-content: center; }
.step-num { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; background: var(--border); color: var(--text-muted); transition: var(--transition); }
.step-num.active { background: var(--primary); color: #fff; }
.step-num.done { background: var(--success); color: #fff; }
.wizard-step h3 { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 24px; }

/* Item Row */
.item-row { display: grid; grid-template-columns: 1fr 120px 36px; gap: 12px; align-items: center; margin-bottom: 12px; background: var(--bg); padding: 12px; border-radius: var(--radius); border: 1px solid var(--border); }
.item-row select, .item-row input[type=number] { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; background: #fff; }
.item-row select:focus, .item-row input:focus { outline: none; border-color: var(--primary-light); }
.remove-item { background: none; border: none; cursor: pointer; font-size: 18px; color: var(--danger); padding: 4px; border-radius: 6px; }
.remove-item:hover { background: #fef2f2; }
.add-item-btn { margin-top: 8px; border-style: dashed; }

/* Price Table */
.price-table { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.price-table-row { display: grid; grid-template-columns: 2fr 80px 120px 120px; gap: 0; }
.price-table-head { background: var(--primary); color: #fff; }
.price-table-head div, .price-table-row div { padding: 12px 16px; font-size: 14px; }
.price-table-row:not(.price-table-head) { border-bottom: 1px solid var(--border); }
.price-table-row:not(.price-table-head):last-child { border-bottom: none; }
.price-table-row div:not(:first-child) { text-align: right; }
.price-summary { margin-top: 20px; background: var(--bg); border-radius: var(--radius); padding: 20px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; border-bottom: 1px solid var(--border); }
.summary-row:last-child { border: none; font-size: 18px; font-weight: 700; color: var(--primary); }
.summary-row.discount { color: var(--danger); }
.combo-badge { background: #fef3c7; border: 1px solid #f59e0b; border-radius: 8px; padding: 10px 16px; margin-bottom: 16px; color: #92400e; font-size: 14px; font-weight: 600; }

/* Form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 15px; font-family: inherit; background: #fff; transition: var(--transition); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(41,128,185,.1); }
.file-drop { border: 2px dashed var(--border); border-radius: var(--radius); padding: 32px; text-align: center; cursor: pointer; transition: var(--transition); }
.file-drop:hover { border-color: var(--primary-light); background: rgba(41,128,185,.04); }
.file-icon { font-size: 36px; display: block; margin-bottom: 8px; }
.file-drop p { color: var(--text-muted); margin-bottom: 4px; }
.file-drop small { color: var(--border); font-size: 12px; }
.file-preview { background: #f0f7ff; border-radius: 8px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 14px; }
.file-preview .remove-file { margin-left: auto; cursor: pointer; color: var(--danger); }
.hidden { display: none !important; }
.kvkk-group { margin-top: 4px; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-muted); cursor: pointer; }
.checkbox-label input { margin-top: 3px; flex-shrink: 0; }
.g-recaptcha { margin: 16px 0; }
.wizard-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }

/* Success */
.success-screen { text-align: center; padding: 20px 0; }
.success-icon { font-size: 64px; margin-bottom: 20px; }
.success-screen h3 { font-size: 28px; font-weight: 800; color: var(--primary); margin-bottom: 12px; }
.success-screen p { color: var(--text-muted); font-size: 16px; margin-bottom: 28px; }
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Portfolio ── */
.portfolio { padding: 96px 0; background: #fff; }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.portfolio-item { border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.portfolio-img { height: 200px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: rgba(255,255,255,.7); transition: transform var(--transition); }
.portfolio-item:hover .portfolio-img { transform: scale(1.03); }
.portfolio-item p { padding: 12px 0 4px; font-weight: 600; color: var(--text); }

/* ── Process ── */
.process { padding: 96px 0; background: var(--bg); }
.process-steps { display: flex; align-items: flex-start; justify-content: center; gap: 0; flex-wrap: wrap; }
.process-step { text-align: center; max-width: 200px; padding: 24px 16px; position: relative; }
.process-icon { font-size: 44px; margin-bottom: 12px; }
.process-num { font-size: 12px; font-weight: 700; color: var(--primary-light); letter-spacing: 2px; margin-bottom: 8px; }
.process-step h4 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.process-step p { font-size: 13px; color: var(--text-muted); }
.process-arrow { font-size: 28px; color: var(--border); padding: 32px 8px 0; flex-shrink: 0; }

/* ── Footer ── */
.footer { background: var(--primary); color: rgba(255,255,255,.8); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.footer-links h4, .footer-contact h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-links a { display: block; color: rgba(255,255,255,.7); font-size: 14px; margin-bottom: 10px; transition: color var(--transition); }
.footer-links a:hover { color: #fff; text-decoration: none; }
.footer-contact p { font-size: 14px; margin-bottom: 10px; }
.footer-contact a { color: rgba(255,255,255,.7); }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: #fff; }

/* ── WhatsApp Sticky ── */
.whatsapp-sticky { position: fixed; bottom: 28px; right: 28px; z-index: 9999; background: #25d366; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.4); transition: transform var(--transition); }
.whatsapp-sticky:hover { transform: scale(1.12); }
.whatsapp-sticky svg { width: 28px; height: 28px; }

/* ── Modal ── */
.modal { display: none; position: fixed; inset: 0; z-index: 9998; }
.modal.open { display: flex; align-items: center; justify-content: center; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.modal-content { position: relative; background: #fff; border-radius: var(--radius-lg); max-width: 560px; width: 90%; max-height: 80vh; overflow-y: auto; }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 24px 28px; border-bottom: 1px solid var(--border); }
.modal-header h3 { font-size: 18px; font-weight: 700; color: var(--primary); }
.modal-header button { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text-muted); }
.modal-body { padding: 24px 28px; }
.modal-body p { margin-bottom: 14px; font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ── Admin ── */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--primary); color: #fff; padding: 0; }
.admin-sidebar .logo { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,.1); color: #fff; }
.admin-nav { padding: 16px 0; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 12px 20px; color: rgba(255,255,255,.75); font-size: 14px; font-weight: 500; transition: var(--transition); }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,.1); color: #fff; text-decoration: none; }
.admin-main { background: var(--bg); }
.admin-topbar { background: #fff; border-bottom: 1px solid var(--border); padding: 0 32px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.admin-topbar h1 { font-size: 20px; font-weight: 700; color: var(--primary); }
.admin-content { padding: 32px; }
.admin-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 32px; }
.admin-card { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--border); }
.admin-card .card-num { font-size: 32px; font-weight: 800; color: var(--primary); }
.admin-card .card-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.admin-table-wrap { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { background: var(--bg); padding: 12px 16px; text-align: left; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border); }
.admin-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--text); }
.admin-table tr:last-child td { border: none; }
.admin-table tr:hover td { background: #f9fafb; }
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 50px; font-size: 12px; font-weight: 600; }
.badge-new       { background: #dbeafe; color: #1e40af; }
.badge-contacted { background: #fef3c7; color: #92400e; }
.badge-approved  { background: #d1fae5; color: #065f46; }
.badge-rejected  { background: #fee2e2; color: #991b1b; }
.admin-filters { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; align-items: center; }
.admin-filters select, .admin-filters input { padding: 9px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; background: #fff; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav, .nav-cta { display: none; }
  .mobile-menu-btn { display: flex; margin-left: auto; }
  .hero-stats { gap: 24px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; justify-content: center; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .process-steps { flex-direction: column; align-items: center; }
  .process-arrow { display: none; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .item-row { grid-template-columns: 1fr 80px 36px; }
  .price-table-row { grid-template-columns: 1fr 60px; }
  .price-table-row div:nth-child(2), .price-table-row div:nth-child(3) { display: none; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .wizard-step { padding: 24px 16px; }
}
