/* ==========================================================================
   FUARLAR.INFO - Premium Modern Web Design System
   Colors, Glassmorphism, Micro-animations & Responsive Layouts
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #1040e3;
  --primary-dark: #0b2da3;
  --primary-light: #3d6bff;
  --primary-gradient: linear-gradient(135deg, #1040e3 0%, #00b4d8 100%);
  --secondary: #0f172a;
  --accent: #f59e0b;
  --accent-red: #ef4444;
  --success: #10b981;
  --success-light: #ecfdf5;
  --warning: #f59e0b;
  --warning-light: #fffbeb;
  --dark: #090d16;
  --dark-surface: #131a2a;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 35px -5px rgba(16, 64, 227, 0.15);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   TOP BAR & HEADER (2 KATMANLI MİMARİ: LOGO ÜSTTE, MENÜ TAM GENİŞLİK ALTA)
   ========================================================================== */

.top-bar {
  background: #0b1120;
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  font-weight: 500;
}

.top-bar-contact a {
  color: #fff;
  font-weight: 600;
}

.top-bar-contact a:hover {
  color: #38bdf8;
}

.top-bar-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-link {
  color: #94a3b8;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.top-bar-link:hover {
  color: #fff;
}

/* Header Ana Katman (Logo & Vurgulu Butonlar) */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 1000;
}

.header-brand-row {
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-gradient);
  color: #fff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(16, 64, 227, 0.3);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--secondary);
  line-height: 1.1;
}

.brand-name span {
  color: var(--primary);
}

.brand-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.header-action-area {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
}

.header-phone-box i {
  font-size: 1.3rem;
  color: var(--primary);
}

.header-phone-text {
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.header-phone-number {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--secondary);
}

.btn-ai-wizard {
  background: var(--primary-gradient);
  color: #fff !important;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(16, 64, 227, 0.25);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-ai-wizard:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 64, 227, 0.35);
}

/* ==========================================================================
   MASAÜSTÜ NAVİGASYON (MENÜ LOGO ALTINDA TAM GENİŞLİKTE YER ALIR)
   ========================================================================== */

.desktop-navbar {
  background: #0f172a;
  border-top: 1px solid #1e293b;
  position: relative;
}

.desktop-nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 14px;
  color: #e2e8f0;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover, .nav-item.active .nav-link {
  color: #38bdf8;
  background: rgba(255, 255, 255, 0.06);
}

.nav-link i {
  font-size: 1rem;
}

.nav-badge-ai {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 800;
  text-transform: uppercase;
  margin-left: 2px;
}

.nav-badge-tr {
  background: #ef4444;
  color: #fff;
  font-size: 0.68rem;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 700;
}

/* Dropdown Menüler */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #1e293b;
  min-width: 230px;
  box-shadow: var(--shadow-xl);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border: 1px solid #334155;
  border-top: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1100;
  padding: 8px 0;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 9px 18px;
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-link:hover {
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  padding-left: 22px;
}

/* ==========================================================================
   MOBİL HAMBURGER VE AÇILIR DRAWER MENÜ
   ========================================================================== */

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #cbd5e1;
  color: var(--secondary);
  font-size: 1.5rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #0f172a;
  color: #fff;
  z-index: 9999;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid #1e293b;
}

.mobile-drawer-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.6rem;
  cursor: pointer;
}

.mobile-menu-list {
  padding: 15px 0;
  flex: 1;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #38bdf8;
}

.mobile-drawer-footer {
  padding: 20px;
  border-top: 1px solid #1e293b;
  background: #090d16;
}

.mobile-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9998;
  display: none;
}

.mobile-backdrop.open {
  display: block;
}

/* ==========================================================================
   HERO BÖLÜMÜ & BÜYÜK AI ARAMA ALANI (proje.md Madde 49)
   ========================================================================== */

.hero-section {
  background: radial-gradient(circle at 80% 20%, rgba(16, 64, 227, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(0, 180, 216, 0.1) 0%, transparent 50%),
              #ffffff;
  padding: 60px 0 50px 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
  max-width: 900px;
}

.hero-title span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 750px;
  margin-bottom: 35px;
  line-height: 1.6;
}

/* Büyük AI Soru Kutusu */
.hero-ai-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(16, 64, 227, 0.1);
  padding: 24px;
  margin-bottom: 30px;
  position: relative;
  border: 2px solid transparent;
  transition: var(--transition);
}

.hero-ai-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 20px 45px rgba(16, 64, 227, 0.15);
}

.hero-ai-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.hero-ai-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
}

.hero-ai-input-wrap {
  display: flex;
  gap: 12px;
  align-items: center;
}

.hero-ai-textarea {
  flex: 1;
  border: none;
  font-family: inherit;
  font-size: 1.1rem;
  color: var(--secondary);
  font-weight: 500;
  resize: none;
  outline: none;
  background: transparent;
  padding: 8px 0;
  min-height: 52px;
}

.hero-ai-textarea::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.btn-hero-ai {
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(16, 64, 227, 0.3);
  transition: var(--transition);
}

.btn-hero-ai:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 64, 227, 0.4);
}

.hero-sample-prompts {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 0.85rem;
}

.hero-sample-label {
  color: var(--text-muted);
  font-weight: 600;
}

.sample-prompt-chip {
  background: #f1f5f9;
  color: #334155;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}

.sample-prompt-chip:hover {
  background: #e2e8f0;
  color: var(--primary);
  border-color: #cbd5e1;
}

/* ==========================================================================
   HIZLI ARAMA VE FİLTRE BARI
   ========================================================================== */

.filter-bar {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

.filter-form-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1.2fr auto;
  gap: 14px;
  align-items: center;
}

.filter-control-wrap {
  position: relative;
}

.filter-control-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1.1rem;
}

.filter-input, .filter-select {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-main);
  background: #fff;
  transition: var(--transition);
  outline: none;
}

.filter-input:focus, .filter-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(16, 64, 227, 0.12);
}

.btn-filter-submit {
  background: var(--secondary);
  color: #fff;
  border: none;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-filter-submit:hover {
  background: #000;
}

/* ==========================================================================
   FUAR KARTLARI (PREMIUM CARD DESIGN)
   ========================================================================== */

.fair-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.fair-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.fair-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: #cbd5e1;
}

.fair-card-header {
  padding: 18px 20px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.fair-sector-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fair-scores-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fair-score-badge {
  background: #0f172a;
  color: #38bdf8;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.fair-match-pill {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
}

.fair-card-body {
  padding: 20px;
  flex: 1;
}

.fair-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.3;
  margin-bottom: 8px;
}

.fair-card-title a {
  color: inherit;
}

.fair-card-title a:hover {
  color: var(--primary);
}

.fair-meta-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.fair-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fair-meta-item i {
  color: var(--primary);
  font-size: 1rem;
  width: 18px;
}

.fair-ai-quote {
  background: #f8fafc;
  border-left: 3px solid var(--primary);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.82rem;
  color: #334155;
  margin-top: 14px;
}

.fair-card-footer {
  padding: 14px 20px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fair-support-info {
  font-size: 0.8rem;
  font-weight: 600;
}

.btn-card-action {
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-card-action:hover {
  background: var(--primary-dark);
  color: #fff;
}

/* ==========================================================================
   BADGES & UI ELEMANLARI
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
}

.badge-success {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.badge-warning {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

.badge-secondary {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

/* ==========================================================================
   SECTION BAŞLIKLARI VE DÜZEN
   ========================================================================== */

.section-spacer {
  padding: 60px 0;
}

.section-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 35px;
}

.section-subtitle {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.2;
}

.section-title span {
  color: var(--primary);
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
}

/* ==========================================================================
   FOOTER (İLETİŞİM: +90 532 504 69 66 DAHİL)
   ========================================================================== */

.site-footer {
  background: #090d16;
  color: #94a3b8;
  padding: 70px 0 25px 0;
  border-top: 1px solid #1e293b;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand-title span {
  color: #38bdf8;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #64748b;
}

.footer-heading {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  color: #94a3b8;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links-list a:hover {
  color: #38bdf8;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-item i {
  font-size: 1.2rem;
  color: #38bdf8;
  margin-top: 2px;
}

.footer-contact-label {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
}

.footer-contact-val {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748b;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (MASAÜSTÜ MENÜ LOGO ALTI, MOBİLDE HAMBURGER)
   ========================================================================== */

@media (max-width: 1024px) {
  .desktop-navbar {
    display: none; /* Mobilde masaüstü menü gizlenir */
  }

  .mobile-nav-toggle {
    display: block; /* Mobilde hamburger butonu görünür */
  }

  .header-phone-box {
    display: none; /* Mobilde alan kazanmak için gizlenir, drawer'da yer alır */
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .hero-title {
    font-size: 2.3rem;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .hero-section {
    padding: 35px 0 25px 0;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-ai-input-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-hero-ai {
    justify-content: center;
  }

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

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
