@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --navy: #12345a;
  --blue: #1769aa;
  --cyan: #45a5df;
  --ink: #263445;
  --muted: #657688;
  --soft: #f4f7fa;
  --line: #d9e4ec;
  --white: #fff;
  --dark: #0a2644;
  --shadow: 0 22px 55px rgba(18, 52, 90, .12);
  --radius: 16px;
  --transition: .24s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { overflow-x: hidden; background: var(--white); color: var(--ink); font: 400 16px/1.7 "DM Sans", Arial, sans-serif; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

h1, h2, h3, h4 { font-family: Manrope, Arial, sans-serif; line-height: 1.18; }
h1 { font-size: clamp(2.7rem, 5vw, 4.7rem); letter-spacing: -.065em; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -.05em; }
h3 { font-size: 1.16rem; letter-spacing: -.025em; }

/* Header */
.navbar { position: fixed; z-index: 1000; inset: 0 0 auto; height: 82px; background: rgba(255, 255, 255, .97); border-bottom: 1px solid rgba(18, 52, 90, .08); transition: box-shadow var(--transition), background var(--transition); }
.navbar.scrolled { box-shadow: 0 8px 30px rgba(18, 52, 90, .11); }
.nav-wrapper { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo-container { display: flex; align-items: center; gap: 9px; color: var(--navy); text-decoration: none; }
.logo { width: 44px; height: 44px; object-fit: contain; object-position: left center; }
.logo-text { color: var(--navy); font: 800 1.08rem/1 Manrope, sans-serif; letter-spacing: -.045em; }
.nav-menu { display: flex; align-items: center; gap: 29px; list-style: none; }
.nav-link { position: relative; display: inline-flex; min-height: 42px; align-items: center; padding: 0 1px; color: var(--ink); font-size: .83rem; font-weight: 700; text-decoration: none; transition: color var(--transition); }
.nav-link::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 2px; transform: scaleX(0); transform-origin: left; background: var(--cyan); transition: transform var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--blue); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.mobile-menu-btn { display: none; border: 0; background: transparent; cursor: pointer; }
.mobile-menu-btn span { display: block; width: 25px; height: 2px; margin: 5px 0; background: var(--navy); transition: var(--transition); }

/* Hero */
.hero { position: relative; display: flex; min-height: 730px; height: 100svh; align-items: center; overflow: hidden; padding: 110px 0 64px; background: linear-gradient(118deg, #0b2c4d 0 53%, #0e3b62 53% 100%); color: #fff; }
.hero::before { content: ""; position: absolute; width: 46vw; height: 46vw; right: -17vw; bottom: -23vw; border: 1px solid rgba(101, 191, 237, .27); border-radius: 50%; box-shadow: 0 0 0 62px rgba(101, 191, 237, .035), 0 0 0 124px rgba(101, 191, 237, .025); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 7px; background: linear-gradient(90deg, var(--cyan), #a3e1ff); }
.hero-overlay { display: none; }
.hero-wrapper { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .94fr) minmax(360px, .86fr); gap: clamp(42px, 7vw, 100px); align-items: center; }
.hero-content { max-width: 635px; }
.eyebrow { margin-bottom: 18px; color: var(--blue); font: 800 .68rem/1.2 Manrope, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow { color: #91d6f6; }
.hero-title { margin-bottom: 23px; color: #fff; font-weight: 800; }
.hero-title .highlight { color: #a9e3ff; }
.hero-subtitle { max-width: 550px; margin-bottom: 34px; color: #d8e6f0; font-size: 1.04rem; line-height: 1.75; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border: 1px solid transparent; border-radius: 5px; font: 800 .8rem/1 Manrope, sans-serif; text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition); }
.btn span { display: inline-block; font-size: 1.15rem; line-height: 1; }
.btn-primary { background: var(--cyan); color: var(--navy); box-shadow: 0 12px 25px rgba(0, 0, 0, .19); }
.btn-primary:hover { transform: translateY(-2px); background: #fff; box-shadow: 0 16px 30px rgba(0, 0, 0, .25); }
.btn-secondary { border-color: rgba(255,255,255,.42); color: #fff; background: rgba(255,255,255,.04); }
.btn-secondary:hover { transform: translateY(-2px); border-color: #fff; background: #fff; color: var(--navy); }
.btn-full { width: 100%; }
.hero-image { position: relative; height: 498px; overflow: hidden; border-radius: 16px; box-shadow: 0 25px 60px rgba(0, 0, 0, .25); }
.hero-image::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(7, 31, 55, .82)); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-overlay { display: none; }
.hero-image-caption { position: absolute; z-index: 2; right: 27px; bottom: 24px; left: 27px; }
.hero-image-caption span { display: block; margin-bottom: 5px; color: #bde8fb; font: 800 .64rem/1 Manrope, sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.hero-image-caption strong { color: #fff; font: 700 1.03rem/1.25 Manrope, sans-serif; }
.hero-stats, .scroll-indicator { display: none; }

/* Shared layout */
section { padding: 110px 0; }
.section-header { max-width: 690px; margin: 0 auto 53px; text-align: center; }
.section-title { margin-bottom: 15px; color: var(--navy); font-weight: 800; }
.section-title::after { content: ""; display: block; width: 44px; height: 3px; margin: 20px auto 0; background: var(--cyan); }
.section-subtitle { color: var(--muted); font-size: .98rem; }

/* About */
.about { display: flex; min-height: 100svh; align-items: center; background: #fff; }
.about-content { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(48px, 7vw, 92px); align-items: center; }
.about .section-title::after, .contact .section-title::after { margin-left: 0; }
.about-description { margin: 24px 0 28px; color: var(--muted); font-size: .96rem; }
.about-features { display: flex; margin: 0 0 27px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-item { flex: 1; min-width: 0; padding: 0 14px; border-left: 1px solid var(--line); }
.feature-item:first-child { padding-left: 0; border-left: 0; }
.feature-number { color: var(--blue); font: 800 1.6rem/1 Manrope, sans-serif; letter-spacing: -.06em; }
.feature-label { margin-top: 6px; color: var(--muted); font: 800 .61rem/1.3 Manrope, sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.about-values h3 { margin-bottom: 13px; color: var(--navy); font-size: .98rem; }
.values-list { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 15px; list-style: none; }
.values-list li { display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: .79rem; font-weight: 600; }
.values-list img { width: 17px; height: 17px; }
.comparison-container { position: relative; min-height: 430px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: #d9e2e8; user-select: none; }
.comparison-container > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.image-after { clip-path: inset(0 0 0 50%); }
.comparison-container::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(12, 38, 63, .03), rgba(12, 38, 63, .15)); }
.slider-handle { position: absolute; z-index: 2; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; cursor: ew-resize; }
.slider-button { position: absolute; top: 50%; left: 50%; display: grid; width: 42px; height: 42px; place-items: center; transform: translate(-50%, -50%); border: 3px solid #fff; border-radius: 50%; background: var(--blue); box-shadow: 0 5px 16px rgba(0,0,0,.25); }
.slider-button img { width: 16px; filter: brightness(0) invert(1); }
.comparison-labels { position: absolute; z-index: 3; top: 15px; right: 15px; left: 15px; display: flex; justify-content: space-between; pointer-events: none; }
.comparison-labels span { padding: 5px 9px; border-radius: 3px; background: rgba(10,38,66,.72); color: #fff; font: 800 .62rem/1 Manrope, sans-serif; letter-spacing: .07em; text-transform: uppercase; }

/* Services */
.services { background: var(--soft); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; display: flex; min-height: 282px; flex-direction: column; padding: 31px 30px 30px; overflow: hidden; border: 1px solid #e0e9ef; border-radius: 14px; background: #fff; text-align: left; box-shadow: 0 6px 18px rgba(18, 52, 90, .035); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.service-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: transform var(--transition); }
.service-card:hover { transform: translateY(-6px); border-color: #b8dcec; box-shadow: 0 19px 38px rgba(18, 52, 90, .11); }
.service-card:hover::before { transform: scaleX(1); }
.card-index { position: absolute; top: 27px; right: 27px; color: #9fcce4; font: 800 .72rem/1 Manrope, sans-serif; letter-spacing: .08em; }
.service-icon { display: grid; width: 62px; height: 62px; margin: 0 0 23px; place-items: center; border: 0; border-radius: 13px; background: linear-gradient(145deg, #e8f6fd, #f5fbfe); box-shadow: inset 0 0 0 1px #cde6f3, 0 8px 18px rgba(23,105,170,.08); }
.service-icon img { width: 42px; height: 42px; }
.service-title { color: var(--navy); font-weight: 800; }
.service-description { margin-top: 12px; color: var(--muted); font-size: .82rem; line-height: 1.75; }
.service-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; color: var(--blue); font: 800 .75rem/1 Manrope, sans-serif; text-decoration: none; }
.service-link span { font-size: 1rem; line-height: 1; transition: transform var(--transition); }
.service-link:hover span { transform: translateX(4px); }

/* Production process */
.production-process { background: var(--soft); }
.production-process .eyebrow { color: var(--blue); }
.production-process .section-header { margin-bottom: 38px; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; }
.process-step { padding: 22px 0 0; border-top: 2px solid #b9d8e8; }
.process-number { display: block; margin-bottom: 18px; color: var(--blue); font: 800 .72rem/1 Manrope, sans-serif; }
.process-step h3 { color: var(--navy); font-size: 1.05rem; }
.process-step p { max-width: 340px; margin-top: 10px; color: var(--muted); font-size: .84rem; }

/* Machine capabilities */
.capabilities { background: var(--soft); }
.capabilities .eyebrow { color: var(--blue); }
.capabilities .section-header { margin-bottom: 34px; }
.machine-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); list-style: none; }
.machine-item { display: grid; gap: 7px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.machine-item h3 { color: var(--navy); font-size: .95rem; font-weight: 800; }
.machine-spec { color: var(--blue); font: 700 .8rem/1.5 Manrope, sans-serif; }

/* Production gallery */
.projects { background: #fff; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 21px; }
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(18, 52, 90, .035); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.project-card:hover { transform: translateY(-6px); border-color: #b8dcec; box-shadow: 0 19px 38px rgba(18, 52, 90, .11); }
.project-image { position: relative; height: 218px; overflow: hidden; background: var(--dark); }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .project-image img { transform: scale(1.055); }
.project-index { position: absolute; z-index: 2; top: 15px; left: 15px; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 7px; background: rgba(9, 43, 75, .86); color: #d9f1fc; font: 800 .67rem/1 Manrope, sans-serif; }
.project-content { padding: 22px 22px 20px; }
.project-title { color: var(--navy); font-weight: 800; }
.project-description { margin-top: 8px; color: var(--muted); font-size: .8rem; }
.project-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.tag { display: inline-flex; align-items: center; min-height: 23px; padding: 0 8px; border-radius: 3px; background: #eaf5fb; color: var(--blue); font: 800 .61rem/1 Manrope, sans-serif; letter-spacing: .035em; }

/* Industries */
.references { position: relative; overflow: hidden; background: var(--dark); color: #fff; }
.references::before { content: ""; position: absolute; inset: 0; opacity: .19; background: linear-gradient(110deg, rgba(6,30,54,.78), rgba(6,30,54,.33)), url("assets/images/manuf/cnc-isleme-merkezi-02.jpeg") center/cover; }
.references .container { position: relative; }
.eyebrow-light { color: #9cddff; }
.references .section-title { color: #fff; }
.references .section-subtitle { color: #c3d7e5; }
.references-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.16); }
.reference-card { min-height: 165px; padding: 24px; background: rgba(8,35,61,.79); transition: background var(--transition), transform var(--transition); }
.reference-card:hover { transform: translateY(-3px); background: rgba(23,105,170,.55); }
.sector-number { display: block; margin-bottom: 20px; color: #8bd3f5; font: 800 .69rem/1 Manrope, sans-serif; letter-spacing: .08em; }
.reference-card h4 { color: #fff; font-size: .93rem; font-weight: 800; }
.reference-card p { margin-top: 7px; color: #c1d5e2; font-size: .73rem; line-height: 1.6; }

/* Contact */
.contact { background: var(--soft); }
.contact-wrapper { display: grid; grid-template-columns: .84fr 1.16fr; gap: clamp(46px, 7vw, 84px); align-items: start; }
.contact-description { margin: 24px 0 30px; color: var(--muted); font-size: .95rem; }
.contact-details { display: grid; gap: 23px; }
.contact-item { display: flex; align-items: center; gap: 16px; }
.contact-icon { display: grid; width: 54px; height: 54px; flex: 0 0 54px; place-items: center; border: 1px solid #c8e2ef; border-radius: 9px; background: #fff; box-shadow: 0 8px 18px rgba(18,52,90,.05); }
.contact-icon img { width: 23px; height: 23px; }
.contact-item h4 { margin-bottom: 3px; color: var(--navy); font: 800 .88rem/1.2 Manrope, sans-serif; }
.contact-item p, .contact-item p a { color: var(--muted); font-size: .97rem; font-weight: 500; line-height: 1.45; text-decoration: none; }
.contact-item p a:hover { color: var(--blue); }
.map-wrapper { min-height: 450px; overflow: hidden; border: 8px solid #fff; border-radius: 13px; background: #dce9ef; box-shadow: var(--shadow); }
.map-frame { display: block; width: 100%; height: 450px; border: 0; }

/* Footer */
.footer { padding: 65px 0 0; background: #09233e; color: #b1c6d5; }
.footer-content { display: grid; grid-template-columns: 1.45fr 1fr 1.25fr 1.1fr; gap: 40px; padding-bottom: 45px; border-bottom: 1px solid rgba(255,255,255,.11); }
.footer-logo { width: 53px; height: 43px; margin-bottom: 15px; object-fit: contain; object-position: left; filter: brightness(0) invert(1); }
.footer-section h3, .footer-section h4 { color: #fff; font-weight: 800; }
.footer-section h3 { margin-bottom: 12px; font-size: 1.1rem; }
.footer-section h4 { margin-bottom: 18px; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-section p, .footer-contact li, .footer-links a { color: #adc1d0; font-size: .76rem; line-height: 1.7; }
.footer-links, .footer-contact { display: grid; gap: 8px; list-style: none; }
.footer-links a { text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: #8ed8fb; }
.footer-bottom { padding: 19px 0; color: #7696aa; text-align: center; font-size: .7rem; }

/* Floating WhatsApp */
.whatsapp-float { position: fixed; z-index: 1500; right: 25px; bottom: 25px; display: grid; width: 57px; height: 57px; place-items: center; border: 3px solid #fff; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 25px rgba(16, 107, 55, .28); transition: transform var(--transition), box-shadow var(--transition); }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 15px 28px rgba(16, 107, 55, .38); }
.whatsapp-float svg { width: 29px; height: 29px; fill: currentColor; }

:is(a, button):focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

@media (min-width: 1440px) {
  .container { width: min(1320px, calc(100% - 96px)); }
  section { padding: 124px 0; }
  .section-header { max-width: 780px; }

  .hero { height: auto; min-height: min(960px, 100svh); padding: 120px 0 72px; }
  .hero-wrapper { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(56px, 5vw, 100px); }
  .hero-content { max-width: 760px; }
  .hero-title { font-size: clamp(4rem, 4.2vw, 5.25rem); }
  .hero-subtitle { max-width: 620px; }
  .hero-image { height: clamp(500px, 33vw, 640px); }

  .about { min-height: auto; }
  .about-content { gap: clamp(64px, 6vw, 110px); }
  .comparison-container { min-height: clamp(450px, 32vw, 580px); }

  .services-grid, .projects-grid { gap: 24px; }
  .service-card { min-height: 310px; padding: 36px; }
  .project-image { height: clamp(240px, 19vw, 340px); }
  .process-grid { gap: 40px; }
  .reference-card { min-height: 185px; padding: 30px; }
}

@media (min-width: 1800px) {
  .container { width: min(1680px, calc(100% - 160px)); }
  section { padding: 136px 0; }
  .hero { min-height: min(1000px, 92svh); }
  .hero-title { font-size: clamp(5rem, 4.2vw, 5.75rem); }
  .hero-image { height: clamp(580px, 33vw, 700px); }
}

@media (max-width: 1040px) {
  .nav-menu { gap: 20px; }
  .hero-wrapper { gap: 45px; }
  .services-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .about-content { gap: 48px; }
  .footer-content { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .container { width: min(100% - 36px, 600px); }
  .navbar, .nav-wrapper { height: 68px; }
  .logo { width: 38px; height: 38px; }.logo-text { font-size: 1rem; }
  .mobile-menu-btn { display: block; }.mobile-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-menu { position: fixed; top: 68px; right: 0; left: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 11px 18px 20px; transform: translateY(-130%); opacity: 0; visibility: hidden; border-top: 1px solid var(--line); background: #fff; box-shadow: 0 15px 25px rgba(18,52,90,.1); transition: var(--transition); }
  .nav-menu.active { transform: translateY(0); opacity: 1; visibility: visible; }.nav-link { display: block; padding: 11px 0; font-size: .88rem; }.nav-link::after { bottom: 6px; }
  .hero { min-height: auto; height: auto; padding: 112px 0 58px; }.hero::before { display: none; }.hero-wrapper { grid-template-columns: 1fr; gap: 39px; }.hero-title { font-size: clamp(2.45rem, 11vw, 3.25rem); }.hero-subtitle { font-size: .94rem; }.hero-buttons { display: grid; grid-template-columns: 1fr; }.btn { width: 100%; }.hero-image { height: 355px; }
  section { padding: 76px 0; }.section-header { margin-bottom: 37px; }.about-content, .contact-wrapper { grid-template-columns: 1fr; gap: 37px; }.about-text { order: 2; }.about-image { order: 1; }.comparison-container { min-height: 300px; }.values-list { grid-template-columns: 1fr; }.services-grid, .projects-grid { grid-template-columns: 1fr; gap: 15px; }.service-card { min-height: 0; padding: 26px; }.project-image { height: 224px; }.process-grid { grid-template-columns: 1fr; gap: 22px; }.process-step { padding-top: 17px; }.machine-grid { grid-template-columns: 1fr; }
  .about { min-height: auto; }.references-grid { grid-template-columns: 1fr 1fr; }.reference-card { min-height: 155px; padding: 20px; }.map-wrapper, .map-frame { min-height: 330px; height: 330px; }.whatsapp-float { right: 18px; bottom: 18px; width: 54px; height: 54px; }.footer-content { grid-template-columns: 1fr; gap: 30px; }
}
