/* ===== ESENYURT YIKAMACI - ANA STYLE ===== */
:root {
  --primary: #0a4f8f;
  --primary-dark: #083a6e;
  --primary-light: #1a6bc5;
  --accent: #e8a020;
  --accent-dark: #c8860a;
  --text: #1a1a2e;
  --text-light: #555;
  --bg: #f5f7fa;
  --white: #ffffff;
  --border: #dde3ec;
  --success: #27ae60;
  --shadow: 0 4px 20px rgba(10,79,143,0.12);
  --radius: 10px;
}

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

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 15px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1,h2,h3,h4,h5 { font-family: 'Montserrat', sans-serif; line-height: 1.3; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  padding: 6px 0;
}
.topbar-inner {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.topbar-inner span { opacity: 0.85; }
.topbar-phone, .topbar-wa {
  margin-left: auto;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 13px;
  transition: all 0.2s;
}
.topbar-phone { background: var(--accent); color: #fff; }
.topbar-wa { background: #25D366; color: #fff; }
.topbar-phone:hover { background: var(--accent-dark); }
.topbar-wa:hover { background: #1ebe5a; }

/* ===== HEADER ===== */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon { font-size: 32px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 20px;
  color: var(--primary);
  letter-spacing: 1px;
}
.logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 3px;
}

/* ===== NAVIGATION ===== */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { background: var(--primary); color: var(--white); }
.arrow { font-size: 10px; transition: transform 0.2s; }
.nav-item:hover .arrow { transform: rotate(180deg); }
.dropdown {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s;
  z-index: 100;
  border: 1px solid var(--border);
}
.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: all 0.15s;
}
.dropdown-item:last-child { border-bottom: none; }
.dropdown-item:hover { background: var(--bg); color: var(--primary); padding-left: 22px; }

.header-cta {
  background: var(--accent);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  transition: all 0.2s;
  white-space: nowrap;
}
.header-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }

.mobile-toggle {
  display: none;
  background: var(--primary);
  color: white;
  border: none;
  font-size: 22px;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0; right: -300px;
  width: 280px;
  height: 100vh;
  background: var(--white);
  box-shadow: -5px 0 30px rgba(0,0,0,0.2);
  z-index: 2000;
  overflow-y: auto;
  padding: 60px 20px 20px;
  transition: right 0.3s ease;
}
.mobile-menu.open { right: 0; }
.mobile-close {
  position: absolute;
  top: 15px; right: 15px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text);
}
.mobile-nav-link {
  display: block;
  padding: 12px 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
}
.mobile-sub { padding: 5px 0 10px 15px; }
.mobile-sub a {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-light);
  border-bottom: 1px solid #f0f0f0;
}
.mobile-phone-btn {
  display: block;
  margin-top: 20px;
  background: var(--accent);
  color: white;
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
}
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
}
.mobile-overlay.active { display: block; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: var(--white);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: rgba(232,160,32,0.08);
  border-radius: 50%;
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.hero h1 span { color: var(--accent); }
.hero-sub {
  font-size: clamp(15px, 2vw, 20px);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 35px;
}
.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--accent);
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(232,160,32,0.4); }
.btn-outline {
  background: transparent;
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.6);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; transform: translateY(-2px); }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--accent);
}
.stat-label { font-size: 13px; opacity: 0.8; }

/* ===== SECTIONS ===== */
.section { padding: 60px 0; }
.section-alt { background: var(--white); }
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 {
  font-size: clamp(22px, 3vw, 34px);
  color: var(--primary);
  margin-bottom: 10px;
}
.section-title p { color: var(--text-light); font-size: 16px; }
.section-title .title-line {
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ===== SERVICE CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.3s;
  text-decoration: none;
  color: var(--text);
  display: block;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(10,79,143,0.18);
  border-color: var(--primary);
}
.service-icon { font-size: 44px; margin-bottom: 12px; display: block; }
.service-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.service-card p { font-size: 13px; color: var(--text-light); margin-bottom: 16px; }
.service-link {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.2s;
}
.service-card:hover .service-link { background: var(--accent); }

/* ===== SEO SECTIONS ===== */
.seo-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  border-left: 5px solid var(--primary);
}
.seo-section h2 {
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bg);
}
.seo-section p {
  color: var(--text-light);
  margin-bottom: 14px;
  font-size: 15px;
}
.seo-section p:last-child { margin-bottom: 0; }
.seo-section strong { color: var(--primary); }

/* ===== PRICE TABLE ===== */
.price-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 60px 0;
}
.price-section .section-title h2 { color: white; }
.price-section .title-line { background: var(--accent); }
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  color: var(--text);
}
.price-table thead {
  background: var(--accent);
  color: white;
}
.price-table th {
  padding: 14px 18px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-align: left;
}
.price-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:hover { background: var(--bg); }
.price-table tr td:last-child { font-weight: 700; color: var(--primary); }
.price-group { background: var(--bg) !important; }
.price-group td { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--primary); font-size: 13px; }

/* ===== REGIONS ===== */
.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.region-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border);
  transition: all 0.25s;
  display: block;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.region-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.region-card h3 {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 6px;
}
.region-card p { font-size: 13px; color: var(--text-light); }
.region-services { margin-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.region-tag {
  background: var(--bg);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  color: var(--primary);
  font-weight: 600;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: var(--white);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-light);
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 6px; }

/* ===== PAGE CONTENT ===== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  padding: 50px 0;
  text-align: center;
}
.page-hero h1 { font-size: clamp(24px, 4vw, 42px); font-weight: 900; margin-bottom: 10px; }
.page-hero p { opacity: 0.85; font-size: 16px; max-width: 600px; margin: 0 auto; }
.page-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  margin: 30px 0;
}
.page-content h2 { color: var(--primary); margin-bottom: 15px; font-size: 22px; margin-top: 25px; }
.page-content h2:first-child { margin-top: 0; }
.page-content p { color: var(--text-light); margin-bottom: 14px; font-size: 15px; }

/* ===== FOOTER ===== */
.site-footer {
  background: #0d1b2e;
  color: rgba(255,255,255,0.8);
  padding-top: 50px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo-icon { font-size: 36px; }
.footer-logo strong { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 16px; color: white; display: block; }
.footer-logo small { color: var(--accent); font-size: 11px; letter-spacing: 1px; }
.footer-desc { font-size: 13px; line-height: 1.8; margin-bottom: 16px; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact a { color: var(--accent); font-weight: 600; font-size: 14px; }
.footer-contact span { font-size: 13px; }
.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: white;
  font-size: 15px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-badge {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.footer-badge span {
  font-size: 12px;
  color: var(--success);
  font-weight: 600;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: var(--accent); }

/* ===== FLOATING BUTTONS ===== */
.float-btn {
  position: fixed;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 999;
  transition: all 0.2s;
  text-decoration: none;
}
.float-btn:hover { transform: scale(1.1); }
.float-phone { right: 20px; bottom: 80px; background: var(--accent); }
.float-wa { right: 20px; bottom: 20px; background: #25D366; }

/* ===== CONTACT FORM ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  transition: border-color 0.2s;
  background: var(--white);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  background: var(--primary);
  color: white;
  padding: 14px 30px;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s;
}
.btn-submit:hover { background: var(--accent); transform: translateY(-2px); }

/* ===== ALERT ===== */
.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; font-weight: 500; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ===== ADMIN ===== */
.admin-wrap {
  min-height: 100vh;
  display: flex;
  background: #f0f2f5;
}
.admin-sidebar {
  width: 240px;
  background: var(--primary-dark);
  color: white;
  padding: 0;
  flex-shrink: 0;
  min-height: 100vh;
}
.admin-logo {
  padding: 22px 20px;
  background: rgba(0,0,0,0.2);
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.admin-logo small { display: block; font-size: 11px; font-weight: 400; opacity: 0.6; margin-top: 3px; }
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all 0.2s;
}
.admin-nav a:hover, .admin-nav a.active {
  background: rgba(255,255,255,0.08);
  color: white;
  border-left-color: var(--accent);
}
.admin-main {
  flex: 1;
  padding: 30px;
  overflow: auto;
}
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.admin-header h1 { font-size: 24px; color: var(--text); }
.admin-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.admin-card h2 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--primary);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg);
}
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th {
  background: var(--bg);
  padding: 11px 14px;
  text-align: left;
  font-weight: 600;
  color: var(--text);
  border-bottom: 2px solid var(--border);
}
.admin-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.admin-table tr:hover td { background: #fafbff; }
.btn-sm {
  padding: 5px 12px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.btn-edit { background: var(--primary); color: white; }
.btn-del { background: #e74c3c; color: white; }
.btn-add { background: var(--success); color: white; padding: 9px 18px; border-radius: 7px; font-size: 13px; font-weight: 700; cursor: pointer; border: none; }
.btn-save { background: var(--primary); color: white; padding: 11px 24px; border-radius: 7px; font-size: 14px; font-weight: 700; cursor: pointer; border: none; }
.btn-save:hover, .btn-add:hover { opacity: 0.9; transform: translateY(-1px); }
.admin-form input, .admin-form textarea, .admin-form select {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 14px;
  background: var(--white);
}
.admin-form label { font-size: 13px; font-weight: 600; display: block; margin-bottom: 5px; color: var(--text); }
.admin-form textarea { min-height: 120px; resize: vertical; }

/* Login */
.login-page { min-height: 100vh; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); display: flex; align-items: center; justify-content: center; }
.login-card { background: white; border-radius: 16px; padding: 40px; width: 100%; max-width: 380px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.login-card h1 { text-align: center; font-size: 22px; color: var(--primary); margin-bottom: 8px; }
.login-card p { text-align: center; color: var(--text-light); font-size: 14px; margin-bottom: 28px; }
.login-logo { text-align: center; font-size: 48px; margin-bottom: 12px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav, .header-cta { display: none; }
  .mobile-toggle { display: block; }
  .hero { padding: 50px 0 40px; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 25px; }
  .contact-grid { grid-template-columns: 1fr; }
  .seo-section { padding: 22px; }
  .page-content { padding: 22px; }
  .admin-wrap { flex-direction: column; }
  .admin-sidebar { width: 100%; min-height: auto; }
  .price-table { font-size: 12px; }
  .price-table th, .price-table td { padding: 10px 10px; }
}
@media (max-width: 480px) {
  .topbar-inner { gap: 10px; font-size: 11px; }
  .hero h1 { font-size: 24px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .regions-grid { grid-template-columns: 1fr; }
}
