:root {
  --dark: #111315;
  --dark-soft: #1a1d20;
  --text: #22262a;
  --muted: #6f767d;
  --light: #f4f5f5;
  --line: #dde0e2;
  --white: #ffffff;
  --radius: 4px;
  --header-height: 102px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}
a { text-decoration: none; }
img { max-width: 100%; }

.section-padding { padding: 70px 0; }
.section-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  font-size: .72rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .22em;
  color: #7a8085;
}

.site-header {
  z-index: 1050;
  background: linear-gradient(180deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.46) 60%, rgba(0,0,0,0) 100%);
  transition: background .35s ease, box-shadow .35s ease, transform .35s ease;
}
.site-header.scrolled {
  background: rgba(17,19,21,.96);
  box-shadow: 0 12px 32px rgba(0,0,0,.16);
  backdrop-filter: blur(14px);
}
.navbar-brand img {
  display: block;
  width: 152px;
  height: 86px;
  object-fit: contain;
  object-position: left center;
}
.navbar .nav-link {
  position: relative;
  padding: .8rem .9rem !important;
  color: rgba(255,255,255,.86);
  font-size: .96rem;
  font-weight: 600;
  letter-spacing: .035em;
}
.navbar .nav-link::after {
  border: 0;
  width: 5px;
  height: 5px;
  margin-left: .5rem;
  vertical-align: middle;
  background: currentColor;
  border-radius: 50%;
  opacity: .5;
}
.navbar .nav-link::before {
  content: "";
  position: absolute;
  left: .9rem;
  right: .9rem;
  bottom: .45rem;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.navbar .nav-link:hover::before { transform: scaleX(1); }
.social-link,
.footer-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  color: #fff;
  transition: .3s ease;
}
.social-link:hover,
.footer-instagram:hover { background: #fff; color: #111; }
.social-link-disabled { opacity: .55; cursor: default; }
.social-link-disabled:hover { background: transparent; color: #fff; }
.header-socials { display: flex; align-items: center; gap: 10px; }
.mobile-socials { display: flex; gap: 12px; margin-top: 28px; }
.mobile-socials a,.mobile-socials span { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.mega-dropdown .dropdown-menu {
  width: 340px;
  max-width: calc(100vw - 40px);
  margin-top: 18px;
  border-radius: 3px;
}
.mega-dropdown .dropdown-menu a {
  display: block;
  padding: 10px 12px;
  color: #333;
  font-size: .83rem;
  font-weight: 600;
  border-bottom: 1px solid #edf0f1;
  transition: .25s ease;
}
.mega-dropdown .dropdown-menu a:hover { padding-left: 18px; color: #000; }

.mobile-nav { display: grid; }
.mobile-nav a {
  padding: 16px 0;
  color: #fff;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.hero-section { height: 100svh; min-height: 680px; }
.hero-slide {
  position: relative;
  background-position: center;
  background-size: cover;
}
.hero-slide-1 { background-image: url("../../assets/img/slider1.jpg"); }
.hero-slide-1a { background-image: url("https://mismetal.com.tr/resim/slider/soyunma-dolaplari-889.jpg"); }
.hero-slide-2 { background-image: url("../../assets/img/slider2.jpg"); }
.hero-slide-2a { background-image: url("https://mismetal.com.tr/resim/slider/kesonlar-855.jpg"); }
.hero-slide-3 { background-image: url("../../assets/img/slider3.png"); }
.hero-slide-3a { background-image: url("https://mismetal.com.tr/resim/slider/soyunma-dolaplari-889.jpg"); }


.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.3), rgba(0,0,0,.16) 35%, rgba(0,0,0,.62)),
    linear-gradient(90deg, rgba(0,0,0,.34), transparent 45%, rgba(0,0,0,.2));
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(900px, 90%);
  padding-top: 75px;
  color: #fff;
}
.hero-kicker {
  display: inline-block;
  margin-bottom: 20px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .28em;
}
.hero-content h1,
.hero-content h2 {
  margin: 0 auto 24px;
  font-size: clamp(2.75rem, 6vw, 3rem);
  line-height: .98;
  font-weight: 400;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hero-content p {
  max-width: 680px;
  margin: 0 auto 34px;
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.75;
  color: rgba(255,255,255,.84);
}
.hero-btn,
.custom-btn {
  padding: 15px 25px;
  border-radius: 0;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
}
.hero-btn:hover { color: #111; }
.elegant-control {
  top: auto;
  bottom: 42px;
  width: auto;
  opacity: 1;
}
.carousel-control-prev { left: 48px; }
.carousel-control-next { left: 106px; right: auto; }
.elegant-control span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  
  border-radius: 50%;
  color: #fff;
  transition: .3s ease;
}
.elegant-control:hover span { background: #fff; color: #111; }

.manifesto-section { background: var(--light); }
.manifesto-title {
  max-width: 1050px;
  margin: 0 auto 30px;
  font-size: clamp(2rem, 4.3vw, 4.8rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -.045em;
}
.manifesto-text {
  max-width: 770px;
  margin-bottom: 0;
  font-size: 1.06rem;
  line-height: 1.9;
  color: var(--muted);
}

.section-heading h2,
.production-content h2,
.references-section h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4.5vw, 2.9rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -.045em;
}
.section-heading p { max-width: 450px; margin: 0; color: var(--muted); line-height: 1.75; }
.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 390px;
  padding: 28px;
  overflow: hidden;
  color: #fff;
  background-position: center;
  background-size: cover;
  isolation: isolate;
}
.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.76));
  transition: .4s ease;
}
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: inherit;
  background-size: cover;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.category-card:hover::after { transform: scale(1.07); }
.category-card:hover::before { background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.84)); }
.category-card > span { position: absolute; top: 26px; left: 28px; font-size: .72rem; letter-spacing: .18em; }
.category-card h3 { max-width: 88%; margin: 0; font-size: 1.4rem; line-height: 1.3; font-weight: 600; }
.category-card > i { position: absolute; right: 28px; bottom: 30px; font-size: 1.25rem; }
.category-1 { background-image: url("../../assets/img/ruhsat-kabi.jpg"); }
.category-2 { background-image: url("../../assets/img/arac-dosyasi.jpg"); }
.category-3 { background-image: url("../../assets/img/gorsel.jpg"); }
.category-4 { background-image: url("../../assets/img/mouse-pad.jpg"); }
.category-5 { background-image: url("../../assets/img/anahtarlik.jpg"); }
.category-6 { background-image: url("../../assets/img/gorsel.jpg"); }
.category-7 { background-image: url("../../assets/img/gorsel.jpg"); }
.category-8 { background-image: url("../../assets/img/satranc-tahtasi.jpg"); }

.production-section { background: #eef0f1; }
.production-box { background: #fff; }
.production-content { padding: clamp(48px, 7vw, 110px); }
.production-content h2 { margin-bottom: 32px; }
.production-content p {
  max-width: 650px;
  margin-bottom: 34px;
  font-size: 1.04rem;
  line-height: 1.9;
  color: var(--muted);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 7px;
  color: #111;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  border-bottom: 1px solid #111;
}
.production-image {
  min-height: 640px;
  height: 100%;
  background: url("../../assets/img/juki-makine.jpg") center/cover no-repeat;
}
.production-image1 {
  min-height: 640px;
  height: 100%;
  background: url("../../assets/img/uretim-bg.jpg") center/cover no-repeat;
}

.references-section { background: #fff; }
.references-section h2 { font-size: clamp(2.3rem, 4vw, 4rem); }
.logo-cloud {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.reference-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #777d82;
  font-size: clamp(1.1rem, 2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -.03em;
  
  transition: .3s ease;
}
.reference-logo:hover { color: #111; background: #fafafa; }
.reference-logo img { display: block; width: 100%; max-width: 170px; height: 78px; object-fit: contain; filter: grayscale(100%); opacity: .72; transition: .3s ease; }
.reference-logo:hover img { filter: none; opacity: 1; }

/* Her sayfada görünen sabit WhatsApp düğmesi. */
.whatsapp-button { position: fixed; right: 24px; bottom: 24px; z-index: 1060; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; font-size: 1.65rem; box-shadow: 0 12px 30px rgba(0,0,0,.22); transition: transform .25s ease, background .25s ease; }
.whatsapp-button:hover { color: #fff; background: #1ebe5d; transform: translateY(-3px); }

.site-footer { padding: 70px 0 24px; background: var(--dark); color: #fff; }
.footer-top { padding-bottom: 50px; }
.footer-top img { height: 58px; object-fit: contain; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.footer-nav a { color: rgba(255,255,255,.7); font-size: .84rem; font-weight: 600; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.48); font-size: .74rem; }
.footer-bottom a { color: rgba(255,255,255,.68); }

@media (max-width: 991.98px) {
  :root { --header-height: 82px; }
  .section-padding { padding: 82px 0; }
  .navbar-brand img { width: 110px; height: 52px; }
  .hero-section { min-height: 640px; }
  .hero-content { padding-top: 50px; }
  .production-image { min-height: 470px; }
  .logo-cloud { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 575.98px) {
  .section-padding { padding: 68px 0; }
  .hero-section { min-height: 620px; }
  .hero-content h1,
  .hero-content h2 { font-size: clamp(2.35rem, 12vw, 3.5rem); }
  .hero-content p { font-size: .96rem; }
  .carousel-control-prev { left: 20px; }
  .carousel-control-next { left: 74px; }
  .elegant-control { bottom: 24px; }
  .elegant-control span { width: 42px; height: 42px; }
  .category-card { min-height: 330px; }
  .production-content { padding: 42px 26px; }
  .production-image { min-height: 360px; }
  .logo-cloud { grid-template-columns: repeat(2, 1fr); }
  .reference-logo { min-height: 110px; }
  .whatsapp-button { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .footer-nav { gap: 16px 24px; }
}

/* 12.08.2026 revizeleri */
@media (min-width: 992px) {
  .navbar-collapse {
    margin-left: 24px;
  }

  .production-image,
  .production-image1 {
    background-size: 60% auto;
    background-repeat: no-repeat;
    background-color: #f4f5f5;
  }

  .production-image {
    background-position: center;
  }

  .production-image1 {
    background-position: center;
  }
}


/* 12.08.2026 menu revizesi */
@media (min-width: 992px) {
  .navbar-collapse {
    flex-grow: 1;
  }

  .navbar-nav {
    margin-right: 0 !important;
  }

  .social-link {
    margin-left: 0 !important;
  }

  .header-socials { margin-left: auto; }

  .mega-dropdown .dropdown-menu {
    left: 0;
    right: auto;
  }

  .mega-dropdown .dropdown-menu a {
    white-space: nowrap;
  }
}

/* Alt sayfalar */
.subpage-hero {
    padding: 150px 0 40px;
    background: linear-gradient(120deg, #111315, #24282c);
    color: #fff;
}

.subpage-hero .section-eyebrow {
    color: rgba(255, 255, 255, .55);
}

.subpage-hero h1 {
    font-size: clamp(3rem, 7vw, 3.8rem);
    font-weight: 500;
    letter-spacing: -.055em;
    margin: 0 0 22px;
}

.subpage-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, .68);
    font-size: 1.08rem;
    line-height: 1.8;
}


/* INNER TITLE
-------------------------------------------------- */

.inner-title {
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -.045em;
    margin-bottom: 28px;
}


/* SUBPAGE IMAGE
-------------------------------------------------- */

.subpage-image {
    width: 100%;
    max-height: 650px;
    object-fit: cover;
}


/* ABOUT
-------------------------------------------------- */

.about-copy p {
    font-size: 1.02rem;
    line-height: 1.9;
    color: var(--muted);
    margin-bottom: 20px;
}


/* PRODUCT CARD
-------------------------------------------------- */

.product-card {
    display: block;
    color: var(--text);
    border: 1px solid var(--line);
    background: #fff;
}

.product-card-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f4f5f5;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .45s;
}

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

.product-card-body {
    position: relative;
    padding: 28px;
}

.product-card-body span {
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .18em;
    color: #888;
}

.product-card-body h2 {
    font-size: 1.55rem;
    margin: 10px 0;
}

.product-card-body p {
    color: var(--muted);
    margin: 0;
}

.product-card-body i {
    position: absolute;
    right: 28px;
    bottom: 28px;
}


/* PRODUCT GALLERY
-------------------------------------------------- */

.product-gallery {
    background: #f3f3f3;
}

.product-gallery .carousel-item {
    aspect-ratio: 4 / 3;
}

.product-gallery .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* PRODUCT GALLERY ARROWS
-------------------------------------------------- */

.product-gallery .carousel-control-prev,
.product-gallery .carousel-control-next {
    top: auto;
    bottom: 24px;
    width: 50px;
    height: 50px;
    opacity: 1;
}

.product-gallery .carousel-control-prev {
    left: 24px;
}

.product-gallery .carousel-control-next {
    left: 80px;
    right: auto;
}

.gallery-arrow {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    background: #111;
    color: #fff;
    border-radius: 50%;
}


/* PRODUCT DETAIL LIST
-------------------------------------------------- */

.detail-list {
    border-top: 1px solid var(--line);
    margin-top: 32px;
}

.detail-list div {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 5px;
}

.detail-list span {
    color: var(--muted);
    font-size: .9rem;
}


/* PRODUCTION GALLERY
-------------------------------------------------- */

.production-gallery {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
}

.production-gallery-section { background: #eef0f1; }

.production-gallery figure {
    margin: 0;
    background: #f4f5f5;
}

.production-gallery img {
    width: 100%;
    height: 620px;
    object-fit: cover;
}

.production-gallery .wide img {
    object-position: center;
}

.production-gallery figcaption {
    padding: 16px 4px;
    color: var(--muted);
    font-size: .82rem;
}


/* CONTACT
-------------------------------------------------- */

.contact-panel {
    padding: 55px;
    background: #f4f5f5;
    height: 100%;
}

.contact-panel h2 { margin-bottom: 34px; font-size: clamp(2rem,4vw,3.4rem); letter-spacing: -.045em; }
.contact-form-section { background: #f4f5f5; }
.contact-form-section h2 { font-size: clamp(2rem,4vw,3.5rem); letter-spacing: -.045em; }
.contact-form-section .form-control { min-height: 56px; border-radius: 0; border-color: #d8dcde; }
.contact-form-section textarea.form-control { min-height: 170px; }

.contact-item {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-top: 1px solid #dfe2e3;
}

.contact-item i {
    font-size: 1.4rem;
}

.contact-item b {
    display: block;
    margin-bottom: 7px;
}

.contact-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.contact-item a {
    color: var(--text);
}


/* GOOGLE MAP
-------------------------------------------------- */

.map-wrap,
.map-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 620px;
    border: 0;
}


/* RESPONSIVE
-------------------------------------------------- */

@media (max-width: 991.98px) {

    .subpage-hero {
        padding: 160px 0 70px;
    }

    .production-gallery {
        grid-template-columns: 1fr;
    }

    .production-gallery img {
        height: 480px;
    }

    .contact-panel {
        padding: 35px;
    }

    .map-wrap,
    .map-wrap iframe {
        min-height: 450px;
    }

}
