/* --- RESET & VARIABLES --- */
:root {
  --primary: #f97316; /* Endüstriyel Turuncu */
  --primary-hover: #ea580c;
  --dark: #0f172a; /* Gece Mavisi - Kurumsal */
  --light: #f8fafc; /* Açık Gri Zemin */
  --white: #ffffff;
  --border: #e2e8f0;
  --text: #334155;
  --text-muted: #64748b;

  --header-h: 80px;
  --container-w: 1200px;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

  --font-main: "Manrope", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

/* --- UTILITIES --- */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}
.text-center {
  text-align: center;
}

/* Grid Systems */
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.grid-4-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.grid-2-col-sm {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.gap-20 {
  gap: 20px;
}
.gap-40 {
  gap: 40px;
}

/* Sections */
.section {
  padding: 80px 0;
}
.bg-light {
  background-color: var(--light);
}
.bg-dark {
  background-color: var(--dark);
}
.text-white {
  color: var(--white);
}

/* Typography */
.sub-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.main-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}
.title-line {
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  margin: 0 auto;
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
}
.btn-outline {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background-color: var(--white);
  color: var(--dark);
}
.btn-block {
  width: 100%;
  text-align: center;
}
.btn-lg {
  padding: 16px 40px;
  font-size: 16px;
}

/* --- 1. TOPBAR --- */
.top-bar {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  height: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1002;
}
.top-bar-inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-contact {
  display: flex;
  align-items: center;
  gap: 15px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.contact-link:hover {
  color: var(--primary);
}
.sep {
  opacity: 0.3;
}
.top-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}
.badge-pulse {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* --- 2. HEADER --- */
.main-header {
  background-color: var(--white);
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.header-inner {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-symbol svg {
  display: block;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}
.brand-slogan {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-top: 2px;
}

/* Desktop Nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-item {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  position: relative;
  padding: 5px 0;
}
.nav-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: 0.3s;
}
.nav-item:hover {
  color: var(--primary);
}
.nav-item:hover::after {
  width: 100%;
}
.nav-btn {
  background-color: var(--primary);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  transition: 0.2s;
}
.nav-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

/* --- 3. MOBILE ELEMENTS --- */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}
.line {
  width: 28px;
  height: 3px;
  background-color: var(--dark);
  border-radius: 2px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.mobile-menu-container {
  position: absolute;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.77, 0.2, 0.05, 1);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-menu-overlay.active .mobile-menu-container {
  right: 0;
}

.mobile-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.mobile-title {
  font-weight: 800;
  font-size: 18px;
  color: var(--dark);
}
.mobile-close {
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
}

.mobile-links {
  padding: 20px;
}
.mobile-links li {
  border-bottom: 1px solid var(--light);
}
.mobile-links a {
  display: block;
  padding: 15px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
}
.mobile-footer {
  margin-top: auto;
  padding: 20px;
  background-color: var(--light);
}
.mobile-call-btn {
  display: block;
  background-color: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 15px;
  border-radius: 6px;
  font-weight: 700;
}

/* --- HERO --- */
.hero-section {
  position: relative;
  height: 650px;
  display: flex;
  align-items: center;
  color: var(--white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(15, 23, 42, 0.6) 100%
  );
  z-index: -1;
}
.hero-content {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.badge-hero {
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 20px;
  display: inline-block;
}
.hero-title {
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.highlight {
  color: var(--primary);
}
.hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  max-width: 500px;
}
.hero-buttons {
  display: flex;
  gap: 15px;
}

/* --- SERVICES SWIPER --- */
.swiper {
  padding: 40px 10px !important;
}
.service-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-10px);
}
.card-image {
  position: relative;
  height: 200px;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-icon {
  position: absolute;
  bottom: -25px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.4);
}
.card-content {
  padding: 35px 25px 25px;
}
.card-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}
.card-content p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.card-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 5px;
}
.card-link:hover {
  gap: 10px;
}

/* --- ABOUT --- */
.about-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.about-img {
  width: 100%;
  border-radius: 12px;
}
.experience-box {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: var(--primary);
  color: var(--white);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.exp-number {
  display: block;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}
.exp-text {
  font-size: 12px;
  font-weight: 700;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--dark);
}
.check-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

/* --- FEATURES GRID --- */
.feature-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.3s;
}
.feature-box:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
}
.f-icon {
  font-size: 32px;
  margin-bottom: 15px;
}
.feature-box h4 {
  margin-bottom: 10px;
  font-size: 18px;
}
.feature-box p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* --- CONTACT --- */
.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}
.icon-circle {
  width: 50px;
  height: 50px;
  background: rgba(249, 115, 22, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.info-item h5 {
  font-size: 16px;
  margin-bottom: 5px;
  color: var(--dark);
}
.info-item p {
  font-size: 14px;
  color: var(--text-muted);
}
.contact-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-main);
  outline: none;
  transition: 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}
.form-message {
  margin-top: 15px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.form-message.success {
  color: green;
}
.form-message.error {
  color: red;
}

/* --- FOOTER --- */
.main-footer {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}
.footer-top {
  margin-bottom: 60px;
}
.footer-col h3 {
  color: var(--white);
  font-size: 24px;
  margin-bottom: 20px;
}
.footer-col h3 span {
  color: var(--primary);
}
.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 700;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}
.highlight-text {
  color: var(--primary);
  font-weight: 700;
  margin-top: 10px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
}

/* Whatsapp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: #25d366;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .container {
    max-width: 960px;
  }
  .top-bar {
    display: none;
  } /* Topbar gizle */
  :root {
    --header-h: 70px;
  }
  .desktop-nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .grid-2-col,
  .grid-4-col {
    grid-template-columns: 1fr 1fr;
  }
  .hero-title {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 100%;
  }
  .grid-2-col,
  .grid-4-col,
  .grid-2-col-sm {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-section {
    height: 550px;
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-content {
    margin: 0;
  }
  .about-image-wrapper {
    order: -1;
  }
  .contact-form-wrapper {
    padding: 20px;
  }
}
