/* =====================================================
   hizmetim.tr — Landing Page Styles
   ===================================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary:    #6366f1;
  --primary-d:  #4f46e5;
  --primary-l:  #818cf8;
  --bg:         #f8fafc;
  --white:      #ffffff;
  --text:       #1e293b;
  --muted:      #64748b;
  --border:     #e2e8f0;
  --radius:     12px;
  --shadow:     0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.12);
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ── CONTAINER ─────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ── NAVBAR ────────────────────────────────────── */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { font-size: 1.4rem; font-weight: 800; color: var(--text); }
.logo-dot { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-link { color: var(--muted); font-size: .95rem; font-weight: 500; transition: color .2s; }
.nav-link:hover { color: var(--primary); }
.nav-btn-outline { padding: .5rem 1.25rem; border: 2px solid var(--primary); color: var(--primary); border-radius: 8px; font-weight: 600; font-size: .9rem; transition: all .2s; }
.nav-btn-outline:hover { background: var(--primary); color: #fff; }

/* ── HERO ───────────────────────────────────────── */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 100px 1.5rem 4rem; position: relative; overflow: hidden; background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%); }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(99,102,241,.3) 0%, transparent 70%); pointer-events: none; }
.hero-content { position: relative; z-index: 1; max-width: 780px; }
.hero-title { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; line-height: 1.15; color: #f1f5f9; margin-bottom: 1rem; }
.hero-highlight { background: linear-gradient(135deg, #818cf8, #c084fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 1.15rem; color: #94a3b8; margin-bottom: 2.5rem; line-height: 1.7; }

/* ── SEARCH ─────────────────────────────────────── */
.search-form { margin-bottom: 2rem; }
.search-box { display: flex; align-items: center; background: #fff; border-radius: 60px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.3); padding: .4rem .4rem .4rem 0; }
.search-field { flex: 1; display: flex; align-items: center; padding: 0 1.25rem; }
.search-icon-left { color: #94a3b8; font-size: .9rem; margin-right: .6rem; flex-shrink: 0; }
.search-input { width: 100%; border: none; outline: none; font-size: .95rem; color: var(--text); background: transparent; font-family: inherit; }
.search-input::placeholder { color: #94a3b8; }
.search-divider { width: 1px; height: 28px; background: var(--border); flex-shrink: 0; }
.search-btn { flex-shrink: 0; padding: .85rem 2rem; background: var(--primary); color: #fff; border: none; border-radius: 50px; font-size: .95rem; font-weight: 700; cursor: pointer; transition: background .2s; display: flex; align-items: center; gap: .5rem; margin-left: .4rem; }
.search-btn:hover { background: var(--primary-d); }

/* ── HERO STATS ────────────────────────────────── */
.hero-stats { display: flex; justify-content: center; align-items: center; gap: 1rem; color: #94a3b8; font-size: .9rem; }
.hero-stats strong { color: #e2e8f0; }
.stat-sep { color: #475569; }

/* ── SECTIONS ────────────────────────────────────── */
.categories-section,
.businesses-section { padding: 5rem 0; }
.categories-section { background: #fff; }
.businesses-section { background: var(--bg); }

.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }
.section-header h2 { font-size: 1.75rem; font-weight: 800; color: var(--text); }
.section-header p { color: var(--muted); font-size: .95rem; margin-top: .25rem; }
.see-all { color: var(--primary); font-weight: 600; font-size: .9rem; display: flex; align-items: center; gap: .4rem; }
.see-all:hover { color: var(--primary-d); }

/* ── CATEGORY CARDS ─────────────────────────────── */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; }
.category-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.5rem 1rem; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; transition: all .25s; cursor: pointer; }
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: .75rem; }
.cat-name { font-size: .85rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.cat-count { font-size: .75rem; color: var(--muted); margin-top: .25rem; }

/* ── BUSINESS CARDS ─────────────────────────────── */
.businesses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.business-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); transition: all .25s; }
.business-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.biz-cover { height: 160px; background: var(--border) center/cover no-repeat; position: relative; }
.biz-cover-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.biz-logo { position: absolute; bottom: -24px; left: 1rem; width: 48px; height: 48px; border-radius: 12px; border: 3px solid #fff; overflow: hidden; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.biz-logo img { width: 100%; height: 100%; object-fit: cover; }
.biz-info { padding: 1.75rem 1rem 1rem; }
.biz-header { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .5rem; }
.biz-name { font-size: 1rem; font-weight: 700; color: var(--text); }
.biz-category { font-size: .72rem; font-weight: 600; padding: .2rem .6rem; border-radius: 20px; width: fit-content; }
.biz-location { font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: .35rem; margin-bottom: .4rem; }
.biz-rating { display: flex; align-items: center; gap: .3rem; font-size: .8rem; margin-bottom: .4rem; }
.rating-num { font-weight: 700; color: var(--text); }
.rating-count { color: var(--muted); }
.biz-slogan { font-size: .8rem; color: var(--muted); font-style: italic; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.see-all-wrap { text-align: center; margin-top: 2.5rem; }
.empty-state { grid-column: 1/-1; text-align: center; padding: 4rem 2rem; color: var(--muted); }
.empty-state i { font-size: 3rem; margin-bottom: 1rem; opacity: .4; display: block; }

/* ── BUTTONS ─────────────────────────────────────── */
.btn-primary { display: inline-block; padding: .85rem 2.5rem; background: var(--primary); color: #fff; border-radius: 10px; font-weight: 700; font-size: .95rem; transition: background .2s; }
.btn-primary:hover { background: var(--primary-d); }

/* ── CTA SECTION ─────────────────────────────────── */
.cta-section { padding: 4rem 0; background: linear-gradient(135deg, #0f172a, #1e1b4b); }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: 3rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; }
.cta-text h2 { font-size: 1.75rem; font-weight: 800; color: #f1f5f9; margin-bottom: .5rem; }
.cta-text p { color: #94a3b8; max-width: 500px; }
.cta-actions { flex-shrink: 0; }

/* ── FOOTER ─────────────────────────────────────── */
.footer { background: #0f172a; color: #94a3b8; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.footer-brand { }
.footer-logo { font-size: 1.5rem; font-weight: 800; color: #f1f5f9; margin-bottom: .75rem; }
.footer-logo span { color: var(--primary-l); }
.footer-brand p { font-size: .9rem; line-height: 1.7; }
.footer-col h4 { color: #e2e8f0; font-size: .9rem; font-weight: 700; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .05em; }
.footer-col a { display: block; font-size: .85rem; color: #94a3b8; margin-bottom: .6rem; transition: color .2s; }
.footer-col a:hover { color: #e2e8f0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem; font-size: .82rem; color: #475569; }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 768px) {
  .search-box { flex-direction: column; border-radius: 16px; padding: .75rem; gap: .5rem; }
  .search-divider { width: 100%; height: 1px; }
  .search-field { width: 100%; padding: .5rem .75rem; }
  .search-btn { width: 100%; justify-content: center; border-radius: 10px; }
  .nav-links .nav-link { display: none; }
  .categories-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .businesses-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { text-align: center; justify-content: center; }
  .section-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; }
}
