/*
Theme Name: Hali Yikama Rehber
Theme URI: https://haliyikamarehber.com
Author: Hali Yikama Rehber
Description: Hali yikama firmalarini listeleyen kapsamli rehber temasi
Version: 1.0.6
Text Domain: hali-yikama-rehber
License: GPL v2 or later
Tags: directory, listing, business, turkish, premium
*/

/* ==========================================================================
   DESIGN VARIABLES & SYSTEM
   ========================================================================== */
:root {
  --primary: #4F46E5;          /* Modern Indigo Purple */
  --primary-light: #6366F1;    /* Lighter Indigo */
  --primary-dark: #312E81;     /* Dark Navy Indigo */
  --primary-rgb: 79, 70, 229;
  
  --secondary: #06B6D4;        /* Electric Cyan */
  --secondary-light: #22D3EE;
  
  --accent: #EC4899;           /* Electric Pink / Rose */
  --danger: #EF4444;           /* Red */
  --warning: #F59E0B;          /* Amber */
  --success: #10B981;          /* Emerald Green */
  
  --bg-body: #F8FAFC;          /* Soft slate background */
  --bg-white: #FFFFFF;
  --bg-light: #F1F5F9;
  --bg-dark: #0B0F19;          /* Deep midnight violet/black */
  
  --text-dark: #0F172A;        /* Slate 900 */
  --text-medium: #334155;      /* Slate 700 */
  --text-light: #64748B;       /* Slate 500 */
  --text-muted: #94A3B8;       /* Slate 400 */
  --text-white: #FFFFFF;
  
  --border: #E2E8F0;           /* Slate 200 */
  --border-light: #F1F5F9;     /* Slate 100 */
  --border-glass: rgba(255, 255, 255, 0.15);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-blur: blur(20px) saturate(190%);
  
  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 40px -15px rgba(79, 70, 229, 0.12), 0 15px 25px -10px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 25px 60px -15px rgba(15, 23, 42, 0.15);
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Fonts */
  --font-heading: 'Outfit', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  
  /* Gradients */
  --primary-gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

/* ==========================================================================
   1. Clean Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-body);
  color: var(--text-medium);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

h1 { font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: 2.25rem; font-weight: 800; }
h3 { font-size: 1.5rem; }

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

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

/* Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}

/* ==========================================================================
   2. Sticky Glassmorphic Header (Correct Classes)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.75);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  height: 80px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  transition: all var(--transition);
}

.site-header.scrolled {
  height: 68px;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Header Logo */
.header-logo a {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.55rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.03em;
}


/* Header Nav Menu */
.header-nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.header-nav ul {
  display: flex;
  gap: 28px;
  height: 100%;
}

.header-nav li {
  display: flex;
  align-items: center;
  height: 100%;
}

.header-nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-medium);
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
  padding: 0 4px;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  transform: scaleX(0);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: right center;
  border-radius: 4px 4px 0 0;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--primary);
}

.header-nav a:hover::after,
.header-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-login {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
}

.header-login:hover {
  background-color: var(--border-light);
  color: var(--primary);
}

.btn-add-firm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: var(--primary-gradient);
  color: var(--text-white) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
  transition: all var(--transition);
}

.btn-add-firm:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

@media (max-width: 992px) {
  .header-nav, .user-welcome { display: none !important; }
  .mobile-menu-toggle { display: flex; }
}

/* ==========================================================================
   3. Premium Mesh Gradient Hero
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--bg-dark);
  background-image: radial-gradient(circle at 15% 15%, rgba(79, 70, 229, 0.22) 0%, transparent 45%),
                    radial-gradient(circle at 85% 85%, rgba(6, 182, 212, 0.16) 0%, transparent 45%);
  padding: 120px 0 160px;
  overflow: hidden;
  text-align: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 1.5px 1.5px, rgba(255, 255, 255, 0.04) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.hero-title {
  color: var(--text-white);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
}

.hero-title span {
  background: linear-gradient(135deg, var(--secondary-light) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ==========================================================================
   4. Floating Yatay Search Bar (.search-form-hero)
   ========================================================================== */
.search-form-hero {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 10px;
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 10;
}

.hero-search-form {
  display: flex;
  align-items: center;
  width: 100%;
}

.search-form-hero .input-group {
  flex: 1.5;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.search-form-hero .select-group {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 16px;
}

.search-form-hero input,
.search-form-hero select {
  width: 100%;
  border: none;
  background: transparent;
  padding: 14px 0;
  font-size: 1rem;
  color: var(--text-dark);
  font-family: var(--font-body);
}

.search-form-hero input::placeholder {
  color: var(--text-muted);
}

.search-form-hero .divider {
  width: 1px;
  height: 32px;
  background-color: var(--border);
}

.search-form-hero select {
  cursor: pointer;
  appearance: none;
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748B'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 16px;
}

.search-form-hero .btn-submit {
  background: var(--primary-gradient);
  color: var(--text-white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 32px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-heading);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
  transition: all var(--transition);
}

.search-form-hero .btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
}

@media (max-width: 768px) {
  .hero-search-form {
    flex-direction: column;
    align-items: stretch;
  }
  .search-form-hero .input-group,
  .search-form-hero .select-group {
    border-bottom: 1px solid var(--border);
    padding: 6px 12px;
  }
  .search-form-hero .divider {
    display: none;
  }
  .search-form-hero .btn-submit {
    margin-top: 12px;
    padding: 16px;
  }
}

/* ==========================================================================
   5. Floating Grid Stats Card
   ========================================================================== */
.stats-section {
  position: relative;
  z-index: 20;
  margin-top: -60px;
  margin-bottom: 60px;
}

.stats-grid {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 23, 42, 0.04);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.stat-box {
  text-align: center;
  padding: 40px 24px;
  border-right: 1px solid var(--border-light);
}

.stat-box:last-child {
  border-right: none;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-medium);
  font-weight: 600;
}

@media (max-width: 992px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-box:nth-child(2) { border-right: none; }
  .stat-box:nth-child(1), .stat-box:nth-child(2) { border-bottom: 1px solid var(--border-light); }
}

@media (max-width: 576px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-box { border-right: none !important; border-bottom: 1px solid var(--border-light); }
  .stat-box:last-child { border-bottom: none; }
}

/* ==========================================================================
   6. Premium Cards (.firma-card)
   ========================================================================== */
.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 48px;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background: var(--primary-gradient);
  margin: 14px auto 0;
  border-radius: var(--radius-full);
}

.firma-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1200px) { .firma-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 992px) { .firma-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .firma-grid { grid-template-columns: 1fr; } }

.firma-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition);
}

.firma-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(79, 70, 229, 0.15);
}

.firma-card-cover {
  position: relative;
  padding-bottom: 60%;
  overflow: hidden;
  background-color: var(--border-light);
}

.firma-cover-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.firma-card:hover .firma-cover-img {
  transform: scale(1.05);
}

.firma-cover-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.04) 0%, rgba(6, 182, 212, 0.06) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.firma-cover-placeholder::after {
  content: '🧼';
  font-size: 2.2rem;
  opacity: 0.5;
}

.badge-open {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--success);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  gap: 5px;
}

.badge-open::before {
  content: '';
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
  display: inline-block;
}

.firma-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.badge-location {
  background-color: var(--bg-light);
  color: var(--text-medium);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 12px;
}

.firma-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.firma-card-title a {
  color: var(--text-dark);
}

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

.firma-card-rating {
  margin-bottom: 12px;
}

.firma-card-price {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  background-color: rgba(79, 70, 229, 0.08);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 14px;
}

.firma-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-medium);
  line-height: 1.6;
}

.firma-card-footer {
  padding: 16px 24px;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Buttons inside cards */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--text-white) !important;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary-light);
  color: var(--primary-light) !important;
}

.btn-outline:hover {
  background-color: var(--primary-light);
  color: var(--text-white) !important;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.825rem;
}

/* ==========================================================================
   7. How It Works
   ========================================================================== */
.how-it-works {
  background-color: var(--bg-white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step-box {
  text-align: center;
}

.step-icon {
  width: 76px;
  height: 76px;
  background-color: rgba(79, 70, 229, 0.08);
  color: var(--primary);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-medium);
}

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   8. Premium City Grid
   ========================================================================== */
.city-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.city-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.city-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.city-name {
  display: block;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.925rem;
  margin-bottom: 4px;
}

.city-count {
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--text-light);
  background-color: var(--bg-light);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: inline-block;
}

@media (max-width: 1200px) { .city-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px) { .city-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .city-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   9. Auth Cards
   ========================================================================== */
.auth-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 23, 42, 0.05);
  padding: 40px;
  max-width: 480px;
  margin: 60px auto;
}

.auth-title {
  text-align: center;
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.auth-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 32px;
  font-size: 0.925rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 28px 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border);
}

.auth-divider span {
  padding: 0 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.925rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  background-color: var(--bg-white);
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-check-input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* ==========================================================================
   10. Alerts & Spinners
   ========================================================================== */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border-left: 4px solid;
}

.alert-success {
  background-color: rgba(16, 185, 129, 0.08);
  border-color: var(--success);
  color: #065f46;
}

.alert-error {
  background-color: rgba(239, 68, 68, 0.08);
  border-color: var(--danger);
  color: #991b1b;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   11. User Panel
   ========================================================================== */
.panel-wrapper {
  display: flex;
  gap: 28px;
}

.panel-sidebar {
  width: 260px;
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: var(--shadow-sm);
  padding: 10px;
  flex-shrink: 0;
}

.panel-nav li {
  margin-bottom: 4px;
}

.panel-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: var(--text-medium);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}

.panel-nav a:hover,
.panel-nav li.active a {
  background-color: rgba(79, 70, 229, 0.06);
  color: var(--primary);
}

.panel-content {
  flex-grow: 1;
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: var(--shadow-sm);
  padding: 36px;
}

.panel-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

/* ==========================================================================
   12. Rating Stars
   ========================================================================== */
.stars-rating {
  display: inline-flex;
  gap: 2px;
  color: #FBBF24; /* Amber-400 */
}

/* ==========================================================================
   13. Scrollbar
   ========================================================================== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-body);
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}
/* ==========================================================================
   14. Footer
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark);
  padding: 80px 0 0;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-widgets {
  margin-bottom: 60px;
}

.footer-title {
  color: var(--text-white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 4px;
}

.footer-description {
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 12px;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.footer-menu a:hover {
  color: var(--secondary-light);
  padding-left: 5px;
}

.popular-cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

.contact-info strong {
  color: var(--text-white);
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.contact-info a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.contact-info a:hover {
  color: var(--secondary-light);
}

.site-info {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-info .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.copyright {
  font-size: 0.9rem;
}

.footer-bottom-menu {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-bottom-menu a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-bottom-menu a:hover {
  color: var(--secondary-light);
}

@media (max-width: 576px) {
  .site-info .container { flex-direction: column; gap: 16px; text-align: center; }
}
/* ==========================================================================
   10. Firma Single Page Premium Design
   ========================================================================== */

/* Header Hero */
.firma-detail-header {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0 40px;
  border-radius: var(--radius-lg);
  margin-top: 20px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 380px;
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
}

.firma-detail-header .overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 60%, rgba(15, 23, 42, 0.1) 100%);
  z-index: 1;
}

.firma-detail-header .header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 30px;
  padding: 0 40px;
  width: 100%;
}

.firma-detail-header .logo-circle {
  width: 140px;
  height: 140px;
  background: var(--bg-white);
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  border: 4px solid rgba(255, 255, 255, 0.2);
  transform: translateY(20px);
}

.firma-detail-header .logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.firma-info h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.firma-info .location-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.3);
}

.firma-info .stats {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  flex-wrap: wrap;
}

.firma-info .stats > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Tabs */
.firma-tabs {
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 24px;
}

.firma-tabs .nav-link {
  color: var(--text-medium);
  font-weight: 600;
  font-size: 1.05rem;
  border: none;
  background: transparent;
  padding: 12px 24px;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
}

.firma-tabs .nav-link:hover {
  color: var(--primary);
  border-color: rgba(79, 70, 229, 0.2);
}

.firma-tabs .nav-link.active {
  color: var(--primary);
  border-color: var(--primary);
  background: transparent;
}

/* Tab Content */
.firma-tab-content {
  background: var(--bg-white);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.firma-tab-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

/* Tables */
.info-table th, .price-table th {
  background-color: var(--bg-light);
  font-weight: 600;
  color: var(--text-dark);
  width: 35%;
}

.info-table td, .price-table td {
  color: var(--text-medium);
}

.price-table th, .price-table td {
  vertical-align: middle;
}

/* Sidebar Boxes */
.contact-sidebar-box, .similar-firms-box {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: transform var(--transition);
}

.contact-sidebar-box h4, .similar-firms-box h4 {
  font-size: 1.3rem;
  font-weight: 700;
  border-bottom: 2px solid var(--bg-light);
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.contact-sidebar-box p {
  color: var(--text-medium);
  font-size: 0.95rem;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-sidebar-box i {
  color: var(--primary);
  margin-top: 4px;
}

.contact-sidebar-box .btn {
  font-weight: 600;
  padding: 12px;
  border-radius: var(--radius-md);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .firma-detail-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    min-height: auto;
  }
  
  .firma-detail-header .header-content {
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 15px;
  }
  
  .firma-detail-header .logo-circle {
    width: 100px;
    height: 100px;
    transform: none;
    margin-bottom: 10px;
  }
  
  .firma-info h1 {
    font-size: 1.8rem;
  }
  
  .firma-info .stats {
    justify-content: center;
    flex-direction: column;
    gap: 10px;
  }
  
  .firma-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 5px;
  }
  
  .firma-tabs .nav-link {
    white-space: nowrap;
    padding: 10px 15px;
    font-size: 0.95rem;
  }
  
  .firma-tab-content {
    padding: 20px 15px;
  }
  
  .contact-sidebar-box {
    margin-top: 30px;
  }
}
/* ==========================================================================
   11. Header Mobile Fixes
   ========================================================================== */
@media (max-width: 768px) {
  .header-actions .header-login {
    display: none !important;
  }
  
  .header-actions .user-welcome {
    display: none !important;
  }
  
  .header-actions .btn-add-firm {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .header-nav {
    position: fixed !important;
    top: 80px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background-color: #ffffff !important;
    padding: 12px 20px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
    display: none;
    flex-direction: column !important;
    border-top: 1px solid var(--border-light) !important;
    z-index: 99999 !important;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  
  .header-logo a {
    font-size: 1.15rem;
    white-space: nowrap;
  }

  .header-nav.active {
    display: flex !important;
  }

  .header-nav ul {
    flex-direction: column !important;
    width: 100% !important;
    margin-bottom: 0 !important;
  }

  .header-nav ul li {
    width: 100% !important;
    text-align: left !important;
    margin-bottom: 8px !important;
  }
  
  .header-nav ul li:last-child {
    margin-bottom: 0 !important;
  }
}
/* ==========================================================================
   12. Homepage Section Spacing
   ========================================================================== */
.section-padding {
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
}

