/* Base styles for Mersin Ticaret corporate site */
:root {
  --color-primary: #0b2b4a;
  --color-secondary: #4f5b66;
  --color-accent: #f5a623;
  --color-bg: #f7f9fb;
  --color-light: #ffffff;
  --color-text: #1f2933;
  --color-muted: #64748b;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 10px;
  --radius-pill: 999px;
  --max-width: 1200px;
  --transition: all 0.25s ease;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

header {
  background: var(--color-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  background: var(--color-primary);
  color: #e5ecf5;
  font-size: 14px;
}

.topbar a {
  color: #e5ecf5;
  font-weight: 600;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--color-primary);
  font-size: 18px;
}

.logo img {
  width: 200px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links > li {
  list-style: none;
  position: relative;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: var(--radius-pill);
  color: var(--color-secondary);
  font-weight: 600;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links .active {
  background: rgba(11, 43, 74, 0.08);
  color: var(--color-primary);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 48px;
  left: 0;
  min-width: 240px;
  background: var(--color-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 4px;
  pointer-events: auto;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.open .dropdown-menu {
  display: flex;
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--color-secondary);
  transition: var(--transition);
}

.dropdown-menu a:hover {
  background: rgba(11, 43, 74, 0.06);
  color: var(--color-primary);
}

.cta {
  padding: 10px 18px;
  background: var(--color-accent);
  color: #0f1720;
  border-radius: var(--radius-pill);
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(245, 166, 35, 0.25);
  transition: var(--transition);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(245, 166, 35, 0.3);
}

.hero {
  background: linear-gradient(135deg, rgba(11, 43, 74, 0.92), rgba(11, 43, 74, 0.75)), url('sliders/zemin1.jpg') center/cover no-repeat;
  color: #f3a62e;
  padding: 120px 24px 100px;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(32px, 4vw, 44px);
  margin: 0 0 16px;
  line-height: 1.2;
}

.hero p {
  margin: 0 0 22px;
  font-size: 17px;
  color: #dce6f3;
}

.badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  color: #fefefe;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

.section {
  padding: 80px 24px;
}

.section.alt {
  background: var(--color-light);
}

.section h2 {
  margin: 0 0 16px;
  font-size: 28px;
  color: var(--color-primary);
}

.section p.section-lead {
  margin: 0 0 32px;
  color: var(--color-muted);
  max-width: 820px;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--color-light);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 8px;
  object-fit: cover;
}

.card .label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.card h3 {
  margin: 0;
  color: var(--color-primary);
}

.card p {
  margin: 0;
  color: var(--color-muted);
}

.list-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.list-inline li {
  list-style: none;
  background: rgba(11, 43, 74, 0.06);
  color: var(--color-secondary);
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  align-items: center;
}

.feature.feature-narrow {
  grid-template-columns: minmax(320px, 1.45fr) minmax(240px, 1.05fr);
}

.feature.feature-narrow .card {
  min-height: 588px;
}

.feature img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.slider {
  position: relative;
  width: 100%;
  min-height: 500px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #0b2b4a;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-strip {
  margin-top: 12px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pill {
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(11, 43, 74, 0.06);
  color: var(--color-secondary);
  font-weight: 600;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq details {
  background: var(--color-light);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
}

.faq summary {
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
}

.footer {
  background: #0a233a;
  color: #d6dfeb;
  padding: 48px 24px 28px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.footer h4 {
  margin: 0 0 12px;
  color: #fff;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer a {
  color: #d6dfeb;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 16px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #a8b7cb;
}

.tag {
  display: inline-block;
  padding: 6px 10px;
  background: rgba(245, 166, 35, 0.16);
  color: #6b4000;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 12px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.table th,
.table td {
  padding: 12px 14px;
  border-bottom: 1px solid #eef2f7;
  text-align: left;
}

.table th {
  background: rgba(11, 43, 74, 0.06);
  color: var(--color-secondary);
}

.cta-banner {
  background: linear-gradient(135deg, rgba(11, 43, 74, 0.95), rgba(11, 43, 74, 0.82));
  color: #f7fafc;
  padding: 50px;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

.cta-banner h3 {
  margin: 0 0 10px;
}

.cta-banner p {
  margin: 0;
  color: #d6e2f1;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.contact-card {
  background: var(--color-light);
  padding: 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.contact-card h3 {
  margin: 0 0 8px;
  color: var(--color-primary);
}

.map {
  border: 0;
  width: 100%;
  height: 410px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.product-card {
  background: var(--color-light);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 8px;
  object-fit: cover;
}

.chip {
  padding: 6px 10px;
  background: rgba(11, 43, 74, 0.08);
  color: var(--color-secondary);
  border-radius: var(--radius-pill);
  display: inline-block;
  font-weight: 600;
  font-size: 12px;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.blog-card {
  background: var(--color-light);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid #d5dbe3;
  padding: 8px 10px;
  border-radius: var(--radius);
}

@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 78%;
    max-width: 360px;
    background: var(--color-light);
    flex-direction: column;
    padding: 80px 20px;
    box-shadow: -4px 0 18px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    gap: 10px;
  }

  .nav-links.open {
    right: 0;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: flex;
  }

  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-secondary);
  }
}

.breadcrumb {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.breadcrumb a {
  color: var(--color-primary);
  font-weight: 600;
}

.service-hero {
  background: linear-gradient(120deg, rgba(11, 43, 74, 0.08), rgba(245, 166, 35, 0.1));
  padding: 60px 24px 40px;
}

.service-hero h1 {
  margin: 0 0 10px;
  color: var(--color-primary);
  font-size: 32px;
}

.service-hero p {
  margin: 0;
  color: var(--color-muted);
}

.service-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 18px;
}

@media (max-width: 1024px) {
  .service-layout {
    grid-template-columns: 1fr;
  }
}

.side-card {
  background: var(--color-light);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.side-card h4 {
  margin: 0 0 10px;
  color: var(--color-primary);
}

.list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.list-clean li {
  color: var(--color-secondary);
}

.divider {
  height: 1px;
  background: #e5eaf1;
  margin: 16px 0;
}

.tag-green {
  background: #e6f7ed;
  color: #0c6b34;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 12px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.metric {
  background: var(--color-light);
  padding: 14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.metric strong {
  display: block;
  font-size: 26px;
  color: var(--color-primary);
}

.cta-floating {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  display: grid;
  gap: 10px;
}

.whatsapp-btn {
  background: #25d366;
  color: #0b2b4a;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.3);
}

.contact-btn {
  background: var(--color-primary);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.card-slider-wrapper {
  position: relative;
  width: 100%;
}

.card-slider {
  position: relative;
  width: 100%;
  min-height: 500px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--color-light);
}

.card-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.card-slide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.card-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.card-slide-bg::after {
  display: none;
}

.card-slide-content {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  height: 100%;
  box-sizing: border-box;
  backdrop-filter: blur(3px);
}

