/* Emr Makina — premium endüstriyel */

:root {
  --ink: #14161a;
  --ink-soft: #2c3038;
  --muted: #6b707a;
  --paper: #f4f1eb;
  --paper-2: #ffffff;
  --line: #e4dfd6;
  --accent: #ff7208;
  --accent-deep: #d85a00;
  --accent-soft: #fff1e4;
  --shadow: 0 18px 40px rgba(20, 22, 26, 0.08);
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper-2);
  line-height: 1.65;
}

h1, h2, h3, h4, h5, .navbar-brand {
  font-family: "Oswald", "Manrope", sans-serif;
  letter-spacing: 0.02em;
}

img { max-width: 100%; }

a { color: var(--accent-deep); }

/* Topbar */
.topbar {
  background: var(--ink);
  color: #d8d4cc;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.45rem 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.topbar a {
  color: #d8d4cc;
  text-decoration: none;
}

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

.topbar i {
  color: var(--accent);
  margin-right: 6px;
}

/* Navbar */
.site-nav {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 0;
}

.navbar-brand {
  padding: 0;
  margin-right: 2rem;
}

.site-nav .navbar-brand img {
  height: 52px !important;
  width: auto !important;
  max-width: 260px;
  object-fit: contain;
}

.site-nav .nav-link {
  color: var(--ink-soft) !important;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.55rem 0.85rem !important;
  position: relative;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: var(--ink) !important;
}

.site-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--accent);
}

.fiyat-btn,
.btn-quote {
  background: var(--accent) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 0.65rem 1.35rem !important;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: 0.25s ease;
}

.nav-link.fiyat-btn {
  text-transform: none;
  font-family: "Manrope", sans-serif;
  font-size: 0.88rem;
}

.fiyat-btn:hover,
.btn-quote:hover {
  background: var(--accent-deep) !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(255, 114, 8, 0.28);
  color: #fff !important;
}

/* Slider */
.hero-slider {
  background: #101216;
}

.slider-img {
  height: 520px;
  object-fit: contain;
  object-position: center;
  width: 100%;
  background:
    radial-gradient(ellipse at center, #2a2e36 0%, #101216 70%);
}

.carousel-item { position: relative; }

.carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 18, 22, 0.05) 40%, rgba(16, 18, 22, 0.78) 100%);
  z-index: 1;
  pointer-events: none;
}

.carousel-caption {
  z-index: 2;
  left: 8%;
  right: auto;
  bottom: 12%;
  text-align: left;
  max-width: 560px;
  text-shadow: none;
}

.carousel-caption h5 {
  font-size: 2.15rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}

.carousel-caption p {
  font-size: 1.02rem;
  color: #e8e4dc;
  margin: 0;
}

.carousel-control-prev,
.carousel-control-next { z-index: 3; width: 8%; }

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  padding: 18px;
}

.carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-soft { background: var(--paper); }

.section-head {
  margin-bottom: 2.6rem;
}

.eyebrow {
  display: inline-block;
  color: var(--accent-deep);
  font-family: "Oswald", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.eyebrow.light { color: var(--accent); }

.section-head h2 {
  font-size: 2.35rem;
  font-weight: 600;
  margin: 0 0 0.55rem;
}

.section-lead {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

/* Product cards */
.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: none;
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: #f0c8a4;
}

.product-card .card-img-top,
.product-img {
  height: 230px;
  object-fit: contain;
  object-position: center;
  width: 100%;
  background: linear-gradient(180deg, #faf8f4 0%, #efeae2 100%);
  padding: 1.1rem;
}

.product-card .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.35rem 1.4rem 1.5rem;
}

.product-card .card-title {
  font-size: 1.15rem;
  font-weight: 600;
  min-height: 0;
  margin-bottom: 0.65rem;
}

.product-card .card-text {
  flex-grow: 1;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin-bottom: 1.15rem;
}

.product-card .btn {
  margin-top: auto;
}

/* Page heroes */
.page-hero,
.hero-banner,
.hero-about,
.hero-products,
.hero-contact {
  position: relative;
  color: #fff;
  text-align: left;
  padding: 92px 0;
  background:
    linear-gradient(120deg, rgba(16, 18, 22, 0.86), rgba(16, 18, 22, 0.55)),
    url("gorsel/fabrika-hizmet.jpg") center/cover;
}

.hero-banner::before,
.hero-about::before,
.hero-products::before,
.hero-contact::before { display: none; }

.page-hero .container,
.hero-banner .container,
.hero-about .container,
.hero-products .container,
.hero-contact .container {
  position: relative;
  z-index: 2;
}

.page-hero h1,
.hero-banner h1,
.hero-about h1,
.hero-products h1,
.hero-contact h1 {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  font-weight: 600;
  max-width: 14ch;
  line-height: 1.12;
}

.hero-banner { text-align: left; }

.cta-band {
  background:
    linear-gradient(115deg, rgba(16, 18, 22, 0.9), rgba(216, 90, 0, 0.55)),
    url("gorsel/fabrika-hizmet.jpg") center/cover;
  color: #fff;
  padding: 5.5rem 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-inner h1 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  max-width: 16ch;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.cta-inner p {
  color: #efe8de;
  margin: 0;
  max-width: 42ch;
}

/* Features */
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.4rem 1.5rem;
  height: 100%;
  transition: 0.25s ease;
}

.feature-card:hover { border-color: #f0c8a4; box-shadow: var(--shadow); }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.neden-biz-ikon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 1.25rem;
}

.feature-card h5 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.feature-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.94rem;
}

/* About */
.about-section,
.contact-section {
  background: var(--paper);
  padding: 4.5rem 0;
}

.about-frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.about-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.about-icon,
.contact-icon { color: var(--accent-deep); font-size: 1.15rem; }

.about-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.about-copy {
  font-size: 1.02rem;
  color: var(--ink-soft);
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  color: var(--ink-soft);
}

.form-control {
  border-radius: 10px !important;
  border: 1px solid var(--line);
  padding: 0.8rem 1rem;
  background: #fff;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 114, 8, 0.15);
}

.btn { border-radius: 10px; }

.social-row a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff !important;
  text-decoration: none;
  margin-right: 0.4rem;
}

.social-row a:hover { background: var(--accent); }

/* WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
}

.whatsapp-float a {
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
  transition: 0.25s ease;
}

.whatsapp-float a:hover {
  transform: scale(1.06);
  color: #fff;
}

/* Footer */
.footer {
  background: var(--ink);
  color: #c9c5bd;
  padding: 3.4rem 0 1.2rem;
  margin-top: 0 !important;
}

.footer-logo img {
  height: 58px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer p { margin-bottom: 0.35rem; font-size: 0.92rem; }

.footer h6 {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer a {
  color: #c9c5bd;
  text-decoration: none;
}

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

.footer .list-unstyled li { margin-bottom: 0.4rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.82rem;
  color: #8d8880;
}

@media (max-width: 768px) {
  .topbar .container {
    flex-direction: column;
    text-align: center;
    gap: 0.35rem;
  }

  .site-nav .navbar-nav {
    align-items: flex-start !important;
    padding: 0.75rem 0 0.35rem;
    gap: 0.15rem;
  }

  .site-nav .navbar-brand img { height: 40px !important; max-width: 190px; }

  .slider-img { height: 280px; }

  .carousel-caption {
    left: 6%;
    right: 6%;
    bottom: 8%;
  }

  .carousel-caption h5 { font-size: 1.25rem; }
  .carousel-caption p { font-size: 0.86rem; }

  .section { padding: 3.2rem 0; }

  .product-card .card-img-top,
  .product-img { height: 190px; }

  .cta-inner { flex-direction: column; align-items: flex-start; }

  .page-hero,
  .hero-banner,
  .hero-about,
  .hero-products,
  .hero-contact,
  .cta-band { padding: 4rem 0; }

  .whatsapp-float { right: 14px; bottom: 14px; }
  .whatsapp-float a { width: 54px; height: 54px; font-size: 1.5rem; }

  .footer-logo img { height: 46px; }
}
