
/* ==================================================
   ISIL YAPI — ANA TASARIM
   Tam dosya: style.css
================================================== */

:root {
  --bg: #ffffff;
  --surface: #f5f5f2;
  --dark: #171b19;
  --dark-soft: #222925;
  --text: #252a27;
  --muted: #777e79;
  --line: #e7e9e6;
  --orange: #d8753f;
  --orange-dark: #b95d2e;
  --white: #ffffff;
  --font-main: "DM Sans", sans-serif;
  --font-heading: "Manrope", sans-serif;
  --container: 1240px;
  --header-height: 88px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-main);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--orange);
  color: white;
}

/* ================= HEADER ================= */

.header {
  width: 100%;
  height: var(--header-height);
  padding: 0 max(5.5%, calc((100% - var(--container)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.97);
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(20,25,22,.07);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  flex-shrink: 0;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--orange);
  font-size: 27px;
  font-weight: 800;
  border-radius: 3px;
}

.logo-light {
  font-weight: 500;
}

.logo small {
  display: block;
  margin-top: 6px;
  color: #888e89;
  font-family: var(--font-main);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav > a {
  color: #454b47;
  font-size: 12px;
  font-weight: 600;
  transition: color .25s ease;
  position: relative;
}

.nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  height: 2px;
  bottom: -9px;
  left: 0;
  width: 0;
  background: var(--orange);
  transition: width .25s ease;
}

.nav > a:hover,
.nav > a.active {
  color: var(--orange-dark);
}

.nav > a:hover::after,
.nav > a.active::after {
  width: 100%;
}

.nav .nav-cta {
  padding: 13px 20px;
  color: white;
  background: var(--dark);
  transition: background .25s ease;
}

.nav .nav-cta:hover {
  color: white;
  background: var(--orange);
}

.nav-cta span {
  margin-left: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle.active span:first-child {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

/* ================= HERO ================= */

.hero {
  min-height: 690px;
  height: min(790px, calc(100svh - var(--header-height)));
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #222925;
  color: white;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=2200&q=90");
  background-size: cover;
  background-position: center 48%;
  animation: heroReveal 1.2s ease both;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(12,17,14,.91) 0%, rgba(12,17,14,.74) 43%, rgba(12,17,14,.20) 100%),
    linear-gradient(0deg, rgba(12,17,14,.35), transparent 50%);
}

.hero-content {
  width: min(var(--container), 89%);
  margin: 0 auto;
  padding: 70px 0 85px;
  position: relative;
  z-index: 2;
  animation: contentReveal .9s .15s ease both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  color: #e6e7e3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.2px;
}

.eyebrow-line {
  width: 34px;
  height: 2px;
  background: var(--orange);
}

.hero h1 {
  max-width: 790px;
  margin-bottom: 25px;
  font-family: var(--font-heading);
  font-size: clamp(49px, 6.5vw, 83px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -4px;
}

.hero h1 span {
  color: #e18b5b;
}

.hero-content > p {
  max-width: 570px;
  color: rgba(255,255,255,.77);
  font-size: 15px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 36px;
}

.btn {
  min-height: 53px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-orange {
  color: white;
  background: var(--orange);
}

.btn-orange:hover {
  background: var(--orange-dark);
}

.btn-outline {
  color: white;
  border-color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.04);
}

.btn-outline:hover {
  color: var(--dark);
  background: white;
  border-color: white;
}

.btn-dark {
  color: white;
  background: var(--dark);
}

.btn-dark:hover {
  background: var(--orange);
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 52px;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  letter-spacing: .5px;
}

.location-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(216,117,63,.15);
}

.hero-side-note {
  position: absolute;
  right: 35px;
  top: 50%;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  color: rgba(255,255,255,.5);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 5.5%;
  display: flex;
  align-items: center;
  gap: 15px;
  color: rgba(255,255,255,.7);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.scroll-cue span {
  color: var(--orange);
  font-size: 17px;
}

@keyframes heroReveal {
  from { transform: scale(1.06); opacity: .6; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes contentReveal {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================= GENEL BÖLÜM ================= */

.section {
  padding: 115px max(5.5%, calc((100% - var(--container)) / 2));
}

.section-kicker {
  margin-bottom: 22px;
  color: var(--orange-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 45px;
  margin-bottom: 55px;
}

.section-heading h2,
.contact-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4.2vw, 55px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -2.4px;
}

.section-heading h2 span {
  color: #a1a7a2;
}

.services-heading-right {
  max-width: 300px;
  padding-bottom: 5px;
}

.services-heading-right p {
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  color: var(--dark);
  font-size: 12px;
  font-weight: 800;
  transition: color .2s ease;
}

.text-link span {
  color: var(--orange);
  font-size: 17px;
}

.text-link:hover {
  color: var(--orange-dark);
}

/* ================= HİZMET KARTLARI ================= */

.services {
  background: var(--surface);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 17px;
}

.service-card {
  grid-column: span 2;
  min-height: 365px;
  padding: 25px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: white;
  background-color: #39413c;
  background-size: cover;
  background-position: center;
  transition: transform .35s ease, box-shadow .35s ease;
}

.service-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.service-card:nth-child(5) {
  grid-column: span 2;
}

.service-card:nth-child(1) {
  background-image: url("https://images.unsplash.com/photo-1530124566582-a618bc2615dc?auto=format&fit=crop&w=900&q=85");
}

.service-card:nth-child(2) {
  background-image: url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=900&q=85");
}

.service-card:nth-child(3) {
  background-image: url("https://images.unsplash.com/photo-1511818966892-d7d671e672a2?auto=format&fit=crop&w=900&q=85");
}

.service-card:nth-child(4) {
  background-image: url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=900&q=85");
}

.service-card:nth-child(5) {
  background-image: url("https://images.unsplash.com/photo-1567789884554-0b844b597180?auto=format&fit=crop&w=900&q=85");
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    0deg,
    rgba(12,16,14,.96) 0%,
    rgba(12,16,14,.73) 38%,
    rgba(12,16,14,.08) 100%
  );
  transition: background .35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(20,25,22,.15);
}

.service-card:hover::before {
  background: linear-gradient(
    0deg,
    rgba(12,16,14,.98),
    rgba(12,16,14,.38)
  );
}

.service-number {
  position: absolute;
  top: 23px;
  left: 25px;
  color: rgba(255,255,255,.85);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.service-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--orange);
  font-size: 21px;
}

.service-card h3 {
  margin-bottom: 9px;
  color: white;
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -.5px;
}

.service-card p {
  max-width: 310px;
  margin-bottom: 19px;
  color: rgba(255,255,255,.76);
  font-size: 12px;
  line-height: 1.8;
}

.card-link {
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.27);
  color: white;
  font-size: 11px;
  font-weight: 700;
}

.card-link b {
  color: #f39a68;
  font-size: 17px;
  transition: transform .2s ease;
}

.service-card:hover .card-link b {
  transform: translate(3px,-3px);
}

.all-services-mobile {
  display: none;
}

/* ================= İLETİŞİM ================= */

.contact {
  background: white;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr .85fr;
  align-items: start;
  gap: 90px;
}

.contact-info h2 {
  margin-bottom: 21px;
}

.contact-info h2 span {
  color: #a1a7a2;
}

.contact-info > p {
  max-width: 430px;
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.contact-item {
  max-width: 440px;
  padding: 17px 0;
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  transition: transform .2s ease;
}

.contact-item:hover {
  transform: translateX(5px);
}

.contact-symbol {
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--orange-dark);
  background: #f9eee7;
  font-size: 18px;
}

.contact-item small {
  display: block;
  margin-bottom: 4px;
  color: #929993;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.contact-item strong {
  display: block;
  color: var(--dark);
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-info > .text-link {
  margin-top: 27px;
}

/* ================= TEKLİF FORMU ================= */

.contact-form {
  padding: 38px;
  background: #f7f7f5;
  border: 1px solid #e9ebe8;
  box-shadow: 0 15px 45px rgba(0,0,0,.045);
}

.contact-form h3 {
  margin-bottom: 6px;
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.7px;
}

.contact-form > p:not(.form-feedback) {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 12px;
}

.contact-form label {
  display: block;
  margin: 17px 0 7px;
  color: #454b47;
  font-size: 11px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--dark);
  background: white;
  border: 1px solid #e4e6e2;
  border-radius: 0;
  outline: none;
  font-size: 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form input,
.contact-form select {
  min-height: 48px;
}

.contact-form textarea {
  min-height: 115px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(216,117,63,.09);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #a5aaa6;
}

.form-submit {
  width: 100%;
  margin-top: 21px;
  border: 0;
}

.form-note {
  display: block;
  margin-top: 13px;
  color: #929993;
  font-size: 10px;
  text-align: center;
}

.form-feedback {
  margin-top: 10px;
  color: var(--orange-dark);
  font-size: 12px;
}

/* ================= FOOTER ================= */

.footer {
  padding: 55px max(5.5%, calc((100% - var(--container)) / 2)) 23px;
  color: white;
  background: var(--dark);
}

.footer-logo {
  color: white;
}

.footer-logo .logo-mark {
  color: white;
}

.footer-logo .logo-light {
  color: #d4d9d5;
}

.footer > p {
  margin-top: 18px;
  color: #aeb6b0;
  font-size: 12px;
}

.footer-links {
  margin: 35px 0;
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 27px;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer-links a {
  color: #c3c9c4;
  font-size: 11px;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: #ee9869;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: #8e9791;
  font-size: 10px;
}

.footer-bottom a {
  color: #d9dfda;
  transition: color .2s ease;
}

.footer-bottom a:hover {
  color: var(--orange);
}

/* ================= WHATSAPP ================= */

.whatsapp-float {
  position: fixed;
  z-index: 90;
  right: 25px;
  bottom: 24px;
  min-height: 49px;
  padding: 0 19px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: white;
  background: #202a24;
  box-shadow: 0 7px 25px rgba(0,0,0,.2);
  font-size: 11px;
  font-weight: 700;
  transition: background .25s ease, transform .25s ease;
}

.whatsapp-float:hover {
  background: #237b4a;
  transform: translateY(-3px);
}

.whatsapp-float span {
  font-size: 17px;
}

/* ================= TABLET ================= */

@media (max-width: 1000px) {
  :root {
    --header-height: 78px;
  }

  .header {
    padding: 0 5%;
  }

  .nav {
    gap: 19px;
  }

  .nav > a {
    font-size: 11px;
  }

  .section {
    padding: 90px 5%;
  }

  .service-card {
    min-height: 340px;
  }

  .contact-layout {
    gap: 45px;
  }

  .contact-form {
    padding: 29px;
  }
}

/* ================= MOBİL MENÜ ================= */

@media (max-width: 760px) {
  .header {
    height: 74px;
    padding: 0 22px;
  }

  .logo {
    font-size: 19px;
  }

  .logo-mark {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    padding: 15px 23px 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 25px rgba(0,0,0,.08);
  }

  .nav.open {
    display: flex;
    animation: menuReveal .2s ease both;
  }

  .nav > a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }

  .nav > a:not(.nav-cta)::after {
    display: none;
  }

  .nav .nav-cta {
    margin-top: 15px;
    padding: 15px;
    text-align: center;
    border: 0;
  }

  @keyframes menuReveal {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Mobil hero */

  .hero {
    min-height: 680px;
    height: calc(100svh - 74px);
    max-height: 790px;
  }

  .hero-image {
    background-position: 58% center;
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(12,17,14,.88),
      rgba(12,17,14,.61)
    );
  }

  .hero-content {
    width: 88%;
    padding: 60px 0 80px;
  }

  .eyebrow {
    margin-bottom: 24px;
    font-size: 9px;
    letter-spacing: 1.5px;
  }

  .hero h1 {
    font-size: clamp(43px, 11vw, 66px);
    letter-spacing: -2.5px;
  }

  .hero-content > p {
    max-width: 460px;
    font-size: 13px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 300px;
    margin-top: 28px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-location {
    margin-top: 33px;
  }

  .hero-side-note {
    display: none;
  }

  .scroll-cue {
    left: 6%;
    bottom: 22px;
  }

  /* Mobil bölümler */

  .section {
    padding: 76px 6%;
  }

  .section-heading {
    display: block;
    margin-bottom: 34px;
  }

  .section-heading h2,
  .contact-info h2 {
    font-size: clamp(35px, 9vw, 47px);
    letter-spacing: -1.8px;
  }

  .services-heading-right {
    max-width: 100%;
    margin-top: 20px;
  }

  .services-heading-right p {
    margin-bottom: 10px;
  }

  /* Mobil hizmet kartları */

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: auto;
    min-height: 315px;
    padding: 17px;
  }

  .service-card:nth-child(5) {
    grid-column: 1 / -1;
    min-height: 270px;
  }

  .service-number {
    top: 17px;
    left: 17px;
  }

  .service-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
  }

  .service-card h3 {
    font-size: 16px;
  }

  .service-card p {
    font-size: 11px;
    line-height: 1.65;
  }

  .card-link {
    font-size: 10px;
  }

  .all-services-mobile {
    display: block;
    margin-top: 24px;
  }

  .all-services-mobile .btn {
    width: 100%;
  }

  /* Mobil iletişim */

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info > p {
    margin-bottom: 25px;
  }

  .contact-form {
    padding: 25px 20px;
  }

  .contact-form h3 {
    font-size: 23px;
  }

  /* Mobil footer */

  .footer {
    padding: 43px 6% 22px;
  }

  .footer-links {
    gap: 15px 22px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .whatsapp-float {
    right: 15px;
    bottom: 15px;
    min-height: 45px;
    padding: 0 15px;
  }
}

/* ================= KÜÇÜK TELEFON ================= */

@media (max-width: 390px) {
  .hero h1 {
    font-size: 42px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: auto;
    min-height: 310px;
  }

  .contact-form {
    padding: 22px 16px;
  }
}

/* ================= ERİŞİLEBİLİRLİK ================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
