/* ==========================================================================
   Baytech Mekatronik - Premium CSS Stylesheet (Light Theme)
   ========================================================================== */

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

/* --- Design Tokens / Variables --- */
:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Colors - Light Theme */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-nav: rgba(255, 255, 255, 0.9);
  
  --primary: #0f2c59; /* Dark Navy Blue */
  --primary-hover: #1e40af;
  --primary-glow: rgba(15, 44, 89, 0.15);
  
  --accent: #2563eb; /* Electric Blue */
  --accent-hover: #1d4ed8;
  --accent-glow: rgba(37, 99, 235, 0.15);

  --text-primary: #0f172a; /* Slate 900 */
  --text-secondary: #475569; /* Slate 600 */
  --text-muted: #94a3b8; /* Slate 400 */
  --border-color: rgba(15, 23, 42, 0.08);
  --border-focus: rgba(37, 99, 235, 0.5);

  --success: #10b981;
  --error: #ef4444;

  /* Grid & Layout */
  --max-width: 1200px;
  --header-height: 80px;
  --border-radius: 12px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background grid detail for high-tech feeling */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(15, 44, 89, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 44, 89, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: -1;
}

/* Decorative ambient glow blobs (soft pastel light colors) */
.glow-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: -2;
  opacity: 0.8;
}

.glow-blob-1 { top: -100px; right: -100px; }
.glow-blob-2 { bottom: 10%; left: -200px; background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 70%); }
.glow-blob-3 { top: 40%; right: -200px; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

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

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

ul {
  list-style: none;
}

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

/* --- Common Components & Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-description {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-size: 16px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
  cursor: pointer;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-secondary {
  background-color: rgba(15, 44, 89, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: rgba(15, 44, 89, 0.08);
  border-color: rgba(15, 44, 89, 0.15);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  box-shadow: 0 4px 15px rgba(15, 44, 89, 0.05);
}

.btn-accent:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

/* --- Header / Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: var(--bg-nav);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

header.scrolled {
  height: 70px;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(15, 44, 89, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

header.scrolled .logo img {
  height: 46px;
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after, .nav-link:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 650px;
}

.hero-badge {
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  animation: pulse-glow 2s infinite;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

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

.hero-text {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* HUD Styled image container for Hero visual */
.hero-image-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px rgba(15, 44, 89, 0.08);
}

.hero-main-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.hero-hud-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  padding: 12px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.hud-pulse {
  width: 10px;
  height: 10px;
  background-color: var(--accent);
  border-radius: 50%;
  animation: pulse-glow 2s infinite;
}

.hud-num {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}

.hud-label {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Stats Grid Section --- */
.stats {
  background: linear-gradient(to bottom, transparent, rgba(15, 44, 89, 0.02), transparent);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 60px 0;
}

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

.stat-card {
  text-align: center;
  padding: 20px;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 0;
  height: 60%;
  width: 1px;
  background-color: var(--border-color);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--primary) 40%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* --- Services / Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 40px 32px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background-color: var(--accent);
  transition: var(--transition-smooth);
}

.service-card:hover {
  background-color: var(--bg-card-hover);
  transform: translateY(-8px);
  border-color: rgba(37, 99, 235, 0.15);
  box-shadow: 0 10px 30px rgba(15, 44, 89, 0.06), 0 0 40px rgba(37, 99, 235, 0.02);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background-color: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
  background-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px var(--accent-glow);
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-desc {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.service-link svg {
  transition: var(--transition-smooth);
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* --- Why Choose Us (Neden Biz) Section --- */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-us-content h2 {
  font-size: 36px;
  margin-bottom: 24px;
}

.why-us-content p {
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 16px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-text {
  color: var(--text-secondary);
  font-size: 14px;
}

.why-us-visual {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
}

.why-us-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.why-us-visual::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
  filter: blur(40px);
}

.tech-spec-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
}

.tech-spec-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.tech-spec-label {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 14px;
}

.tech-spec-val {
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
}

/* --- Call To Action (CTA) Banner --- */
.cta-banner {
  background: linear-gradient(135deg, rgba(15, 44, 89, 0.03) 0%, rgba(37, 99, 235, 0.05) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(15, 44, 89, 0.01), transparent);
  pointer-events: none;
}

.cta-title {
  font-size: 32px;
  margin-bottom: 16px;
}

.cta-desc {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
}

/* --- Sub-page Banner --- */
.page-banner {
  padding: 140px 0 60px;
  background: linear-gradient(to bottom, rgba(15, 44, 89, 0.03), transparent);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.page-banner-content {
  text-align: center;
}

.page-title {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs-sep {
  color: var(--text-muted);
}

.breadcrumbs-current {
  color: var(--accent);
  font-weight: 600;
}

/* --- About Us Page Specific --- */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-intro-content h3 {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 16px;
}

.about-intro-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.7;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.value-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 32px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
}

.value-card:hover {
  border-color: var(--accent-glow);
  background-color: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(15, 44, 89, 0.04);
}

.value-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background-color: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.value-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.value-text {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* --- Services Page Specific --- */
.hizmet-detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hizmet-detail-block:not(:last-child) {
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--border-color);
}

.hizmet-detail-block:nth-child(even) {
  direction: rtl;
}

.hizmet-detail-block:nth-child(even) .hizmet-text-col {
  direction: ltr;
}

.hizmet-text-col h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.hizmet-text-col p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hizmet-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.hizmet-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-primary);
}

.hizmet-list-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.hizmet-visual-col {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 0;
  position: relative;
  min-height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
  overflow: hidden;
}

.hizmet-visual-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Forms (Contact / Quote) --- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
}

.contact-info-card:hover {
  border-color: rgba(15, 44, 89, 0.15);
  background-color: var(--bg-card-hover);
  box-shadow: 0 8px 24px rgba(15, 44, 89, 0.03);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info-details h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-info-details p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

.contact-form-col {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: 0 10px 30px rgba(15, 44, 89, 0.03);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  background-color: #ffffff;
  outline: none;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* File Upload Field */
.file-upload-wrapper {
  position: relative;
  border: 2px dashed var(--border-color);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  background-color: #f8fafc;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.file-upload-wrapper:hover {
  border-color: var(--accent);
  background-color: rgba(37, 99, 235, 0.02);
}

.file-upload-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-icon {
  font-size: 28px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.file-upload-text {
  font-size: 14px;
  color: var(--text-secondary);
}

.file-upload-text span {
  color: var(--accent);
  font-weight: 600;
}

.file-upload-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Map area */
.map-section {
  padding-bottom: 0;
}

.map-container {
  width: 100%;
  height: 450px;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-bottom: none;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Footer --- */
footer {
  background-color: #0c1527; /* Keep footer slightly dark for premium contract contrast */
  color: #f8fafc;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 80px 0 30px;
  position: relative;
}

footer h4, footer .logo {
  color: #ffffff;
}

footer .logo {
  display: inline-block;
  height: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
  align-items: start;
}

.footer-col-about p {
  color: #94a3b8;
  font-size: 14px;
  margin-top: 20px;
  margin-bottom: 24px;
  line-height: 1.6;
}

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

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: var(--transition-smooth);
}

.social-link:hover {
  background-color: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

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

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

.footer-links a {
  color: #94a3b8;
  font-size: 14px;
}

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

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.5;
}

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

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

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

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* --- Quote Page Details --- */
.quote-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
}

.quote-sidebar {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 32px;
  height: fit-content;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
}

.quote-step {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.quote-step:last-child {
  margin-bottom: 0;
}

.quote-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(37, 99, 235, 0.08);
  border: 1px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.quote-step-content h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.quote-step-content p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Modal feedback system */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  width: 100%;
  max-width: 450px;
  padding: 40px;
  text-align: center;
  transform: scale(0.9);
  transition: var(--transition-smooth);
  box-shadow: 0 20px 50px rgba(15, 44, 89, 0.15);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.08);
  border: 2px solid var(--success);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 24px;
}

.modal-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.modal-text {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* --- Animations --- */
@keyframes pulse-glow {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

@keyframes rotate-clockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotate-counter-clockwise {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes bounce-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Reveal on scroll base classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Media Queries (Responsiveness) --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 46px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .stat-card:nth-child(2)::after {
    display: none;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-us-grid, .about-intro-grid, .hizmet-detail-block, .contact-grid, .quote-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hizmet-detail-block:nth-child(even) {
    direction: ltr;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-visual {
    margin-top: 20px;
  }

  .tech-circle-wrap {
    width: 280px;
    height: 280px;
  }

  .tech-circle-inner {
    width: 230px;
    height: 230px;
  }

  .tech-core {
    width: 180px;
    height: 180px;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-main);
    flex-direction: column;
    padding: 60px 40px;
    align-items: flex-start;
    gap: 30px;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-color);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu .btn {
    width: 100%;
  }

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

  .stat-card::after {
    display: none !important;
  }

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

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

  .cta-banner {
    padding: 40px 24px;
  }

  .cta-title {
    font-size: 26px;
  }

  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form-col {
    padding: 24px;
  }

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

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