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

/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  --primary: #0f172a;        /* Deep Slate Navy */
  --primary-light: #1e293b;  /* Lighter Slate */
  --primary-rgb: 15, 23, 42;
  --accent: #d97706;         /* Warm Gold/Amber */
  --accent-hover: #b45309;
  --accent-light: #fef3c7;
  --secondary: #0ea5e9;       /* Cyan/Blue Accent */
  --secondary-hover: #0284c7;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --border-focus: #94a3b8;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Borders */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 0; /* Adjusted for mobile sticky bar */
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

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

/* ==========================================================================
   BUTTONS & FORM CONTROLS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--primary);
  color: var(--bg-white);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 2px solid var(--border);
  color: var(--primary);
}

.btn-outline:hover {
  border-color: var(--primary);
  background-color: var(--bg-light);
}

.btn-whatsapp {
  background-color: #25d366;
  color: var(--bg-white);
}

.btn-whatsapp:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Form Groups */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--primary-light);
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: var(--bg-white);
  transition: all var(--transition-fast);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-checkbox input {
  margin-top: 4px;
}

/* Section Common Styling */
.section {
  padding: 80px 0;
}

.section-bg {
  background-color: var(--bg-white);
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -0.025em;
}

.section-title p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ==========================================================================
   HEADER STRUCTURE
   ========================================================================== */
header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  width: 100%;
  z-index: 1000;
}

/* Sticky Header */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  animation: slideDown 0.3s ease;
}

.sticky-header .top-bar {
  display: none;
}

.sticky-header .main-header {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.sticky-header .main-menu-row {
  display: none; /* Hide third row on sticky to make it compact */
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* Top Bar */
.top-bar {
  background-color: var(--primary);
  color: var(--bg-white);
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.top-bar-left {
  font-weight: 500;
}

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

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-bar-contact a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.top-bar-contact a:hover {
  color: var(--accent);
}

.lang-selector {
  display: flex;
  gap: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 15px;
}

.lang-selector span {
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.lang-selector span.active, .lang-selector span:hover {
  opacity: 1;
  color: var(--accent);
}

/* Main Header Row */
.main-header {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: padding var(--transition-normal);
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  height: 120px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: height var(--transition-normal);
}

.sticky-header .logo img {
  height: 60px;
  mix-blend-mode: multiply;
}

/* Search Box */
.search-wrapper {
  flex: 1;
  max-width: 550px;
  position: relative;
}

.search-box {
  display: flex;
  width: 100%;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.search-box:focus-within {
  border-color: var(--primary);
}

.search-box input {
  flex: 1;
  padding: 10px 16px;
  font-size: 0.9rem;
}

.search-box button {
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 0 20px;
  transition: background var(--transition-fast);
}

.search-box button:hover {
  background-color: var(--primary-light);
}

/* Search Autocomplete Results */
.search-results-dropdown {
  position: absolute;
  top: 105%;
  left: 0;
  right: 0;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  z-index: 1010;
  max-height: 350px;
  overflow-y: auto;
  display: none;
}

.search-results-dropdown.active {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.search-result-item:hover {
  background: var(--bg-light);
}

.search-result-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.search-result-info {
  flex: 1;
}

.search-result-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.search-result-code {
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

.action-whatsapp {
  color: #25d366;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}

.action-teklif-listem {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.action-teklif-listem:hover {
  background-color: var(--bg-light);
}

.action-teklif-listem svg {
  width: 24px;
  height: 24px;
}

.badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--accent);
  color: var(--bg-white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  min-width: 18px;
  text-align: center;
  transform: translate(25%, -25%);
}

.btn-teklif-al-header {
  background-color: var(--accent);
  color: var(--bg-white);
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.2);
}

.btn-teklif-al-header:hover {
  background-color: var(--accent-hover);
}

/* Main Navigation Menu (Third Row) */
.main-menu-row {
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.main-menu-row .container {
  display: flex;
}

.nav-menu {
  display: flex;
  list-style: none;
  width: 100%;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-light);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--accent);
  background-color: var(--bg-white);
}

/* Mega Menu Dropdown */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 1000px;
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr) 240px;
  padding: 24px;
  gap: 24px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
}

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

.mega-column h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--primary);
  border-bottom: 2px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 12px;
  font-weight: 700;
}

.mega-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mega-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
  padding: 2px 0;
}

.mega-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.mega-banner {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px dashed var(--border);
}

.mega-banner-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.mega-banner h5 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.mega-banner p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Category Standard Dropdown (for items without mega menu) */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  min-width: 220px;
  box-shadow: var(--shadow-md);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 1000;
}

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

.dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid var(--bg-light);
}

.dropdown-menu li a:hover {
  background-color: var(--bg-light);
  color: var(--accent);
}

/* Mobile Hamburger Menu Trigger */
.mobile-menu-trigger {
  display: none;
}

/* ==========================================================================
   HERO AREA
   ========================================================================== */
.hero-section {
  background-color: var(--primary);
  color: var(--bg-white);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background-image: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.hero-section::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.08) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero-content h1 {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-content h1 span {
  color: var(--accent);
}

.hero-content p {
  font-size: 1.15rem;
  color: #94a3b8;
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-actions-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-whatsapp-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #25d366;
  font-weight: 600;
}

.hero-whatsapp-link:hover {
  text-decoration: underline;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image {
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-height: 480px;
  width: 100%;
  object-fit: cover;
}

/* Trust Indicators below Hero */
.trust-indicators {
  background-color: var(--bg-white);
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.trust-icon-box {
  background-color: var(--bg-light);
  color: var(--accent);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.trust-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
}

.trust-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   HOMEPAGE SECTIONS
   ========================================================================== */

/* Three Main Categories Cards */
.main-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.category-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.category-card-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #f1f5f9;
}

.category-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.category-card:hover .category-card-img-wrapper img {
  transform: scale(1.05);
}

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

.category-card-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.category-card-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.category-card-btn {
  color: var(--accent);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.category-card-btn:hover {
  color: var(--accent-hover);
}

/* Popular Categories (Horizontal Scroll on Mobile) */
.popular-categories-carousel {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 20px;
}

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

.popular-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.popular-item-img {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: var(--radius-full);
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.popular-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-item h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

/* Election Products Area (Attention Grabbing) */
.election-section {
  background-color: #fef2f2;
  border-top: 4px solid #ef4444;
  border-bottom: 1px solid #fee2e2;
  position: relative;
}

.election-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background-color: #ef4444;
  color: var(--bg-white);
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.election-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 48px;
}

.election-content h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #991b1b;
  margin-bottom: 16px;
}

.election-content p {
  color: #7f1d1d;
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.election-products-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.election-prod-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #7f1d1d;
}

.election-prod-item svg {
  color: #ef4444;
  flex-shrink: 0;
}

/* ==========================================================================
   PRODUCT GRID & CARDS
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.product-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.product-card-img-link {
  display: block;
  position: relative;
  aspect-ratio: 1/1;
  background-color: var(--bg-light);
  overflow: hidden;
}

.product-card-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-img-link img {
  transform: scale(1.04);
}

.product-card-body {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card-category {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 6px;
}

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

.product-card-code {
  font-size: 0.75rem;
  background-color: var(--bg-light);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  color: var(--primary-light);
  align-self: flex-start;
  margin-bottom: 12px;
  font-family: monospace;
}

.product-card-specs {
  font-size: 0.8rem;
  color: var(--text-muted);
  list-style: none;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
}

.product-card-specs li {
  display: flex;
  justify-content: space-between;
}

.product-card-specs strong {
  color: var(--primary-light);
}

.product-card-footer {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-card-moq {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.product-card-moq span {
  font-weight: 700;
  color: var(--primary);
}

.btn-card-teklif {
  width: 100%;
  padding: 8px 12px;
  font-size: 0.85rem;
}

/* ==========================================================================
   HOMEPAGE CONTENT SECTIONS
   ========================================================================== */

/* Neden Biz */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  background-color: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.why-icon {
  background-color: var(--accent-light);
  color: var(--accent);
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.why-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Production Process Timeline */
.process-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 48px;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 35px;
  left: 5%;
  right: 5%;
  height: 4px;
  background-color: var(--border);
  z-index: 1;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  width: 18%;
}

.process-number {
  background-color: var(--bg-white);
  border: 4px solid var(--border);
  color: var(--text-muted);
  width: 70px;
  height: 70px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  transition: all var(--transition-normal);
}

.process-step:hover .process-number {
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.1);
}

.process-step h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Printing & Branding Section */
.branding-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.branding-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--transition-normal);
}

.branding-card:hover {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.branding-icon {
  background: var(--bg-white);
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.branding-card-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.branding-card-content p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Sectors Grid */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.sector-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: all var(--transition-normal);
}

.sector-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.sector-icon {
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 12px;
}

.sector-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}

/* Portfolio / Completed Works */
.references-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.reference-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.reference-card:hover {
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
}

.ref-img-wrapper {
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: var(--bg-light);
}

.ref-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ref-content {
  padding: 16px;
}

.ref-tag {
  font-size: 0.7rem;
  background-color: var(--bg-light);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 600;
}

.ref-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.ref-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Quick Quote Form */
.quick-quote-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.quick-quote-info {
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 48px;
  background-image: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quick-quote-info h3 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.quick-quote-info p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.quick-quote-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-quote-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 500;
}

.quick-quote-bullets svg {
  color: var(--accent);
  flex-shrink: 0;
}

.quick-quote-form {
  padding: 48px;
}

.quick-quote-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.quick-quote-form-grid .form-group:nth-child(5),
.quick-quote-form-grid .form-group:nth-child(6) {
  grid-column: span 2;
}

/* Sık Sorulan Sorular (Accordion) */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--accent);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  cursor: pointer;
  user-select: none;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-question svg {
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--accent);
}

/* Call to Action Footer Area */
.cta-banner {
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 60px 0;
  text-align: center;
  position: relative;
  background-image: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.cta-banner h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-banner p {
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 30px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ==========================================================================
   PRODUCTS CATALOG PAGE
   ========================================================================== */
.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  padding: 40px 0;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

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

/* Filters Panel */
.filter-panel {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: fit-content;
}

.filter-group-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
}

.filter-label input {
  cursor: pointer;
}

.filter-label:hover {
  color: var(--primary);
}

/* Catalog Results Area */
.catalog-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.catalog-header {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.results-count {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.results-count strong {
  color: var(--primary);
}

.catalog-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.catalog-sort select {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--bg-light);
  cursor: pointer;
}

/* Mobile Filter Trigger Button */
.mobile-filter-btn {
  display: none;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE
   ========================================================================== */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}

/* Left Column: Gallery */
.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-main-img {
  aspect-ratio: 1/1;
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.detail-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-thumbnails {
  display: flex;
  gap: 12px;
}

.thumb-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  cursor: pointer;
  overflow: hidden;
}

.thumb-img.active {
  border-color: var(--accent);
}

.thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Right Column: Info & Form */
.detail-info {
  display: flex;
  flex-direction: column;
}

.detail-category {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.detail-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.2;
}

.detail-code-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.detail-code {
  font-family: monospace;
  font-size: 0.9rem;
  background-color: var(--bg-light);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.copy-btn {
  font-size: 0.8rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.copy-btn:hover {
  color: var(--accent-hover);
}

.detail-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* Configurator Box */
.detail-config-box {
  background-color: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 30px;
}

.config-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.config-item {
  flex: 1;
}

.quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--bg-white);
  max-width: 140px;
}

.quantity-control button {
  width: 40px;
  height: 40px;
  background-color: var(--bg-light);
  font-weight: 700;
  transition: background var(--transition-fast);
}

.quantity-control button:hover {
  background-color: var(--border);
}

.quantity-control input {
  flex: 1;
  text-align: center;
  width: 50px;
  font-weight: 700;
}

/* Custom File Uploader */
.file-upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  background-color: var(--bg-white);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: 20px;
}

.file-upload-area:hover, .file-upload-area.drag-over {
  border-color: var(--accent);
  background-color: var(--accent-light);
}

.file-upload-area svg {
  color: var(--text-muted);
  font-size: 2rem;
  margin-bottom: 8px;
}

.file-upload-area p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.file-upload-area strong {
  color: var(--primary);
}

.uploaded-file-info {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  margin-top: 8px;
}

.uploaded-file-info span {
  font-weight: 600;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uploaded-file-info button {
  color: var(--danger);
  font-weight: 700;
}

.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-actions-primary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Tabs section below details */
.detail-tabs-wrapper {
  margin-bottom: 60px;
}

.tab-nav {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
}

.tab-btn {
  padding: 12px 24px;
  font-weight: 700;
  color: var(--text-muted);
  position: relative;
  transition: color var(--transition-fast);
}

.tab-btn:hover {
  color: var(--primary);
}

.tab-btn.active {
  color: var(--accent);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent);
}

.tab-content-item {
  display: none;
  font-size: 0.9rem;
  color: var(--text-light);
}

.tab-content-item.active {
  display: block;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.specs-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.specs-table tr:nth-child(even) {
  background-color: var(--bg-light);
}

.specs-table td:first-child {
  font-weight: 700;
  color: var(--primary);
  width: 250px;
}

/* Similar Products */
.similar-products {
  border-top: 1px solid var(--border);
  padding-top: 60px;
}

/* ==========================================================================
   TEKLİF LİSTEM & TEKLİF AL PAGES
   ========================================================================== */

/* Cart View Layout */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 30px;
  padding: 40px 0;
}

.cart-table-wrapper {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  background-color: var(--bg-light);
  padding: 16px;
  text-align: left;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--primary-light);
  border-bottom: 1px solid var(--border);
}

.cart-table td {
  padding: 20px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.cart-item-product {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-item-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background-color: var(--bg-light);
}

.cart-item-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}

.cart-item-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cart-item-details {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cart-item-details strong {
  color: var(--primary-light);
}

.cart-remove-btn {
  color: var(--danger);
  font-weight: 600;
  font-size: 0.8rem;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 60px 24px;
  background-color: var(--bg-white);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
}

.empty-state svg {
  font-size: 3.5rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.empty-state h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

/* Quote Sidebar Form */
.cart-sidebar {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.cart-sidebar h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

/* Multi-Step Wizard Styling */
.wizard-progress-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.wizard-progress-bar::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--border);
  z-index: 1;
}

.wizard-progress-line {
  position: absolute;
  top: 15px;
  left: 0;
  width: 0%;
  height: 4px;
  background-color: var(--accent);
  z-index: 2;
  transition: width var(--transition-normal);
}

.wizard-progress-step {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background-color: var(--bg-white);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  position: relative;
  z-index: 3;
  transition: all var(--transition-normal);
}

.wizard-progress-step.active {
  border-color: var(--accent);
  background-color: var(--accent);
  color: var(--bg-white);
}

.wizard-progress-step.complete {
  border-color: var(--success);
  background-color: var(--success);
  color: var(--bg-white);
}

.wizard-step-title {
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  white-space: nowrap;
  font-weight: 600;
  color: var(--text-muted);
}

.wizard-progress-step.active .wizard-step-title {
  color: var(--primary);
  font-weight: 700;
}

.wizard-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  max-width: 760px;
  margin: 0 auto 80px;
}

.wizard-step-content {
  display: none;
  margin-bottom: 30px;
  min-height: 250px;
}

.wizard-step-content.active {
  display: block;
}

.wizard-step-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 24px;
}

.wizard-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.wizard-opt-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.wizard-opt-card:hover {
  border-color: var(--primary-light);
}

.wizard-opt-card.active {
  border-color: var(--accent);
  background-color: var(--accent-light);
}

.wizard-opt-card svg {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.wizard-opt-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

/* Success Card */
.success-card {
  text-align: center;
  padding: 60px 40px;
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  margin: 60px auto;
}

.success-icon-box {
  width: 80px;
  height: 80px;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 24px;
}

.success-card h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.success-card p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.success-quote-number {
  background-color: var(--bg-light);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  font-family: monospace;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 30px;
  display: inline-block;
}

/* ==========================================================================
   ADMIN PANEL SIMULATION
   ========================================================================== */
.admin-login-container {
  max-width: 420px;
  margin: 80px auto;
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  padding: 40px 0;
}

.admin-sidebar {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  height: fit-content;
}

.admin-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.admin-nav-item:hover, .admin-nav-item.active {
  background-color: var(--primary);
  color: var(--bg-white);
}

.admin-content {
  background-color: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
  min-height: 500px;
}

.admin-content-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.admin-content-title h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

/* Admin Dashboard Cards */
.admin-dash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.admin-dash-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.admin-dash-card h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.admin-dash-card .value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
}

/* Quotes Table */
.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  background-color: var(--bg-light);
  padding: 12px 16px;
  text-align: left;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
}

.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.status-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-badge.new { background-color: #dbeafe; color: #1e40af; }
.status-badge.reviewing { background-color: #fef3c7; color: #92400e; }
.status-badge.pending { background-color: #e0f2fe; color: #075985; }
.status-badge.sent { background-color: #f3e8ff; color: #6b21a8; }
.status-badge.approved { background-color: #d1fae5; color: #065f46; }
.status-badge.rejected { background-color: #fee2e2; color: #991b1b; }

/* Admin Settings Form Toggles */
.admin-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

/* Switch UI Component */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--border);
  transition: .4s;
  border-radius: var(--radius-full);
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: var(--radius-full);
}

input:checked + .slider {
  background-color: var(--accent);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--accent);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

/* ==========================================================================
   OTHER PAGES (CONTACT, REFERENCE, CORPORATE)
   ========================================================================== */

/* Contact Details layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-icon {
  background-color: var(--accent-light);
  color: var(--accent);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-details h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.contact-info-details p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-map-sim {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 300px;
  background-color: #cbd5e1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-map-marker {
  text-align: center;
}

.contact-map-marker svg {
  color: var(--danger);
  font-size: 2.5rem;
}

.contact-map-marker h5 {
  font-weight: 700;
  color: var(--primary);
  margin-top: 8px;
}

/* Production Gallery Grid */
.production-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.production-card-large {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.production-card-large img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.production-card-large-content {
  padding: 24px;
}

.production-card-large-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.production-card-large-content p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   FOOTER STRUCTURE
   ========================================================================== */
.global-footer {
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 80px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h3 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.footer-about p {
  color: #94a3b8;
  margin-bottom: 20px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  background-color: rgba(255, 255, 255, 0.05);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background-color: var(--accent);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #94a3b8;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-list svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Bottom Copyright Bar */
.footer-bottom {
  background-color: #0b1120;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  color: #64748b;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.success {
  border-left-color: var(--success);
}

/* ==========================================================================
   MOBILE STICKY ACTION BAR & BOTTOM BUTTONS
   ========================================================================== */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: var(--bg-white);
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.08);
  border-top: 1px solid var(--border);
  grid-template-columns: repeat(3, 1fr);
  z-index: 999;
}

.mobile-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
}

.mobile-action-item svg {
  font-size: 1.25rem;
  margin-bottom: 2px;
}

.mobile-action-item:hover {
  color: var(--accent);
}

.mobile-action-item.teklif-al-item {
  background-color: var(--accent);
  color: var(--bg-white);
}

.mobile-action-item.teklif-al-item:hover {
  background-color: var(--accent-hover);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */

/* Tablet & Smaller (< 1024px) */
@media (max-width: 1024px) {
  .hero-section .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions-group {
    justify-content: center;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .main-categories-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .popular-categories-carousel {
    grid-template-columns: repeat(4, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .process-timeline {
    flex-direction: column;
    gap: 30px;
  }

  .process-timeline::before {
    display: none;
  }

  .process-step {
    width: 100%;
    flex-direction: row;
    text-align: left;
    gap: 20px;
    background-color: var(--bg-white);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
  }

  .process-number {
    margin-bottom: 0;
    flex-shrink: 0;
  }

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

  .sectors-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .references-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-quote-container {
    grid-template-columns: 1fr;
  }

  .quick-quote-info {
    padding: 30px;
  }

  .quick-quote-form {
    padding: 30px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  /* Catalog Layout */
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    display: none; /* Hide standard filters sidebar on tablet/mobile */
  }

  .filter-panel.mobile-active {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    border-radius: 0;
    overflow-y: auto;
  }

  .mobile-filter-btn {
    display: inline-flex;
  }

  /* Product Details */
  .detail-layout {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  /* Cart Layout */
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-sidebar {
    position: static;
  }

  /* Admin Layout */
  .admin-layout {
    grid-template-columns: 1fr;
  }
}

/* Mobile Screen (< 768px) */
@media (max-width: 768px) {
  body {
    padding-bottom: 60px; /* Space for sticky action bar */
  }

  .section {
    padding: 48px 0;
  }

  .section-title {
    margin-bottom: 32px;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }

  /* Header mobile adjustment */
  .top-bar {
    display: none;
  }

  .main-header {
    padding: 10px 0;
  }

  .logo img {
    height: 60px;
  }

  .main-header .container {
    gap: 12px;
  }

  .search-wrapper {
    display: none; /* Hide main search bar on mobile, accessed via bottom action bar */
  }

  .header-actions .btn-teklif-al-header {
    display: none; /* Handled by sticky bottom bar */
  }

  .mobile-menu-trigger {
    display: flex;
    font-size: 1.5rem;
    color: var(--primary);
  }

  .main-menu-row {
    display: none; /* Hide full main menu strip */
  }

  /* Mobile Slide-in Drawer Menu */
  .mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 85%;
    max-width: 320px;
    background-color: var(--bg-white);
    z-index: 1100;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
  }

  .mobile-drawer.active {
    transform: translateX(0);
  }

  .mobile-drawer-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-drawer-header img {
    height: 60px;
  }

  .close-drawer-btn {
    font-size: 1.5rem;
    color: var(--text-muted);
  }

  .mobile-drawer-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
  }

  .mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .mobile-nav-item {
    border-bottom: 1px solid var(--bg-light);
    padding-bottom: 10px;
  }

  .mobile-nav-link-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--primary);
  }

  .mobile-sub-menu {
    list-style: none;
    padding-left: 15px;
    margin-top: 8px;
    display: none;
    flex-direction: column;
    gap: 8px;
  }

  .mobile-nav-item.active .mobile-sub-menu {
    display: flex;
  }

  .mobile-sub-menu a {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 4px 0;
    display: block;
  }

  .mobile-drawer-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* Overlay */
  .drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1090;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
  }

  .drawer-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Grid Adjustments */
  .popular-categories-carousel {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .quick-quote-form-grid .form-group:nth-child(5),
  .quick-quote-form-grid .form-group:nth-child(6) {
    grid-column: span 1;
  }

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

  .mobile-action-bar {
    display: grid;
  }

  .wizard-options-grid {
    grid-template-columns: 1fr;
  }

  .detail-actions-primary {
    grid-template-columns: 1fr;
  }

  .cart-table th:nth-child(3),
  .cart-table td:nth-child(3) {
    display: none; /* Hide item details column in simple table view on mobile */
  }
}
