:root {
  --dark: #111827;
  --dark-soft: #1f2937;
  --cream: #f8f5ef;
  --gold: #c9a45c;
  --gold-dark: #a77f35;
  --white: #ffffff;
  --text: #273142;
  --muted: #6b7280;
  --border: rgba(17, 24, 39, 0.12);
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* HEADER */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(248, 245, 239, 0.92);
  backdrop-filter: blur(18px);
  border-color: var(--border);
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.08);
}

.header-inner {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
}

.site-header.scrolled .brand,
.site-header.scrolled .main-nav,
.site-header.scrolled .mobile-menu-btn span {
  color: var(--dark);
}

.site-header.scrolled .mobile-menu-btn span {
  background: var(--dark);
}

.brand-mark {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #ffffff;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}

.site-header.scrolled .brand-mark {
  border-color: rgba(17, 24, 39, 0.14);
  background: #ffffff;
}

.brand-text {
  font-size: 1.08rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.header-cta {
  color: var(--white);
  background: var(--gold);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(201, 164, 92, 0.25);
}

.header-cta:hover {
  background: var(--gold-dark);
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px auto;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* HERO */

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(17, 24, 39, 0.8), rgba(17, 24, 39, 0.28)),
    radial-gradient(circle at 74% 32%, rgba(201, 164, 92, 0.22), transparent 30%),
    linear-gradient(145deg, #222b3a 0%, #111827 52%, #2f3542 100%);
}

.hero-logo-card {
  position: absolute;
  right: max(40px, calc((100vw - var(--container)) / 2));
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: min(360px, 28vw);
  aspect-ratio: 1 / 1;
  border-radius: 34px;
  padding: 34px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  display: grid;
  place-items: center;
}

.hero-logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-bg::before {
  content: "";
  position: absolute;
  right: 14%;
  bottom: 0;
  width: min(560px, 72vw);
  height: 72vh;
  background:
    linear-gradient(to right, rgba(255,255,255,0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(160deg, rgba(255,255,255,0.17), rgba(255,255,255,0.03));
  background-size: 76px 76px, 76px 76px, 100% 100%;
  border-radius: 26px 26px 0 0;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: -40px 40px 90px rgba(0,0,0,0.22);
  transform: perspective(900px) rotateY(-10deg) rotateX(1deg);
}

.hero-bg::after {
  content: "";
  position: absolute;
  right: 29%;
  bottom: 0;
  width: 170px;
  height: 54vh;
  background: linear-gradient(160deg, rgba(201, 164, 92, 0.24), rgba(255,255,255,0.05));
  border-radius: 18px 18px 0 0;
  border: 1px solid rgba(255,255,255,0.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.78), transparent 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 110px;
  max-width: var(--container);
  padding-right: 430px;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  margin: 24px 0;
}

.hero p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--dark);
  background: var(--gold);
}

.btn-primary:hover {
  background: #dfbf78;
}

.btn-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.btn-dark {
  color: var(--white);
  background: var(--dark);
}

.hero-stats {
  position: absolute;
  right: max(40px, calc((100vw - var(--container)) / 2));
  bottom: 36px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  max-width: 610px;
  width: calc(100% - 80px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats div {
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: var(--gold);
  font-size: 1.05rem;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  margin-top: 5px;
}

/* GENERAL SECTIONS */

.section {
  padding: 110px 0;
}

.about {
  background: var(--cream);
}

.about-grid,
.locations-grid,
.cta-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.cta h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  color: var(--dark);
  margin: 14px 0 18px;
}

.section-copy p,
.section-heading p,
.cta p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 620px;
}

.section-heading {
  margin-bottom: 44px;
}

.center {
  text-align: center;
}

.center p {
  margin-left: auto;
  margin-right: auto;
}

/* ABOUT */

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.about-cards article,
.contact-card,
.location-panel {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-cards article {
  min-height: 270px;
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-cards span {
  color: var(--gold);
  font-weight: 800;
}

.about-cards h3 {
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.about-cards p {
  color: var(--muted);
  font-size: 0.94rem;
}

/* PROJECTS */

.projects {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.projects::before,
.projects::after {
  content: "";
  position: absolute;
  top: 230px;
  width: 180px;
  height: 1200px;
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
}

.projects::before {
  left: max(24px, calc((100vw - var(--container)) / 2 - 120px));
  background:
    linear-gradient(to bottom, transparent, rgba(201, 164, 92, 0.22), transparent),
    linear-gradient(90deg, rgba(17, 24, 39, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(17, 24, 39, 0.08) 1px, transparent 1px);
  background-size: 100% 100%, 34px 34px, 34px 34px;
  border-left: 2px solid rgba(201, 164, 92, 0.35);
}

.projects::after {
  right: max(24px, calc((100vw - var(--container)) / 2 - 120px));
  background:
    linear-gradient(to bottom, transparent, rgba(201, 164, 92, 0.18), transparent),
    linear-gradient(90deg, rgba(17, 24, 39, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(17, 24, 39, 0.07) 1px, transparent 1px);
  background-size: 100% 100%, 34px 34px, 34px 34px;
  border-right: 2px solid rgba(201, 164, 92, 0.3);
}

.projects .container {
  position: relative;
  z-index: 2;
}

.project-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  justify-content: center;
  gap: 28px;
}

.project-grid::before {
  content: "";
  position: absolute;
  inset: 8% 12%;
  background: radial-gradient(circle, rgba(201, 164, 92, 0.13), transparent 68%);
  filter: blur(18px);
  z-index: -1;
  pointer-events: none;
}

.project-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.14);
  background: var(--dark);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 80px rgba(17, 24, 39, 0.18);
}

.project-image {
  width: 100%;
  height: 100%;
  min-height: unset;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  transition: transform 0.35s ease;
}

.project-card:hover .project-image {
  transform: scale(1.04);
}

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(17, 24, 39, 0.82),
    rgba(17, 24, 39, 0.24),
    rgba(17, 24, 39, 0.04)
  );
}

.project-image h3 {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  margin: 0;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* Eski kart içeriği kalırsa görünmesin */
.project-content,
.project-location,
.project-image span {
  display: none;
}

.project-image-1 {
  background-image:
    linear-gradient(to bottom, rgba(17, 24, 39, 0.05), rgba(17, 24, 39, 0.45)),
    url("../images/proje-1.jpg");
}

.project-image-2 {
  background-image:
    linear-gradient(to bottom, rgba(17, 24, 39, 0.05), rgba(17, 24, 39, 0.45)),
    url("../images/proje-2.jpg");
}

.project-image-3 {
  background-image:
    linear-gradient(to bottom, rgba(17, 24, 39, 0.05), rgba(17, 24, 39, 0.45)),
    url("../images/proje-3.jpg");
}

.project-image-4 {
  background-image:
    linear-gradient(to bottom, rgba(17, 24, 39, 0.05), rgba(17, 24, 39, 0.45)),
    url("../images/proje-4.jpg");
}

/* LOCATIONS */

.locations {
  background: var(--cream);
}

.location-panel {
  border-radius: var(--radius-lg);
  padding: 22px;
}

.map-placeholder {
  position: relative;
  min-height: 360px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(17, 24, 39, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, #ece7dd, #d7cdbb);
  background-size: 40px 40px, 40px 40px, 100% 100%;
  display: grid;
  place-items: center;
  color: rgba(17, 24, 39, 0.34);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.map-pin {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50% 50% 50% 0;
  background: var(--gold);
  transform: rotate(-45deg);
  box-shadow: 0 0 0 10px rgba(201, 164, 92, 0.16);
}

.pin-1 {
  left: 32%;
  top: 35%;
}

.pin-2 {
  left: 62%;
  top: 48%;
}

.pin-3 {
  left: 48%;
  top: 68%;
}

.location-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.location-list span {
  padding: 14px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: center;
  font-weight: 800;
  color: var(--dark);
  background: var(--cream);
}

/* CTA */

.cta {
  padding: 96px 0;
  background: var(--white);
}

.cta-inner {
  background: var(--dark);
  color: var(--white);
  border-radius: 34px;
  padding: clamp(30px, 6vw, 70px);
  overflow: hidden;
  position: relative;
}

.cta-inner::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -90px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(201, 164, 92, 0.18);
}

.cta h2 {
  color: var(--white);
  max-width: 720px;
}

.cta p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-card {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-md);
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.contact-card a,
.contact-card p {
  display: block;
  color: var(--white);
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 0;
  font-weight: 500;
}

/* FOOTER */

.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.92rem;
}

.footer-inner a {
  color: var(--gold);
  font-weight: 800;
}

/* RESPONSIVE / MOBIL OZEL TASARIM */

/* Tablet ve dar ekranlar */
@media (max-width: 980px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .main-nav,
  .main-nav.open,
  .header-cta,
  .mobile-menu-btn {
    display: none !important;
  }

  .header-inner {
    height: 76px;
  }

  .brand {
    color: var(--white);
  }

  .site-header.scrolled .brand {
    color: var(--dark);
  }

  .projects::before,
  .projects::after {
    display: none;
  }

  .hero {
    min-height: 920px;
    align-items: start;
    padding-top: 130px;
    padding-bottom: 70px;
  }

  .hero-content {
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    max-width: 100%;
  }

  .hero h1 {
    max-width: 680px;
  }

  .hero p {
    max-width: 560px;
  }

  .hero-logo-card {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: min(280px, calc(100% - 40px));
    margin: 38px auto 0;
  }

  .hero-stats {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(var(--container), calc(100% - 40px));
    margin: -80px auto 36px;
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

  .about-grid,
  .locations-grid,
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 360px));
  }
}

/* Telefon tasarımı */
@media (max-width: 680px) {
  .container {
    width: calc(100% - 28px);
  }

  /* Header */
  .site-header {
    background: rgba(17, 24, 39, 0.72);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-header.scrolled {
    background: rgba(248, 245, 239, 0.94);
  }

  .header-inner {
    height: 70px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .brand-text {
    font-size: 0.98rem;
  }

  /* Hero */
  .hero {
    min-height: 780px;
    padding-top: 112px;
    padding-bottom: 52px;
  }

  .eyebrow {
    font-size: 0.7rem;
  }

  .hero h1 {
    max-width: 360px;
    font-size: clamp(3rem, 14vw, 4.05rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
    margin: 20px 0;
  }

  .hero p {
    max-width: 335px;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-actions {
    width: 100%;
    margin-top: 28px;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-logo-card {
    width: 205px;
    padding: 22px;
    border-radius: 26px;
    margin: 34px auto 0;
  }

  .hero-bg::before {
    right: -34%;
    bottom: 0;
    width: 92vw;
    height: 44vh;
    opacity: 0.42;
  }

  .hero-bg::after {
    right: 16%;
    bottom: 0;
    width: 110px;
    height: 32vh;
    opacity: 0.45;
  }

  .hero-overlay {
    background: linear-gradient(to top, rgba(17, 24, 39, 0.86), transparent 58%);
  }

  .hero-stats {
    width: calc(100% - 28px);
    margin: -58px auto 34px;
    border-radius: 22px;
  }

  .hero-stats div {
    padding: 18px;
  }

  /* Genel bölümler */
  .section {
    padding: 72px 0;
  }

  .section-copy h2,
  .section-heading h2,
  .cta h2 {
    font-size: 2.2rem;
    line-height: 1.05;
  }

  .section-copy p,
  .section-heading p,
  .cta p {
    font-size: 0.96rem;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  /* Hakkımızda kartları */
  .about-grid {
    gap: 34px;
  }

  .about-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-cards article {
    min-height: auto;
    padding: 24px;
    border-radius: 22px;
  }

  .about-cards h3 {
    font-size: 1.2rem;
  }

  .about-cards p {
    font-size: 0.92rem;
  }

  /* Proje kartları */
  .project-grid {
    grid-template-columns: minmax(0, 330px);
    justify-content: center;
    gap: 22px;
  }

  .project-card {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
  }

  .project-image h3 {
    left: 18px;
    bottom: 18px;
    font-size: 1.05rem;
  }

  /* Lokasyon */
  .locations-grid {
    gap: 34px;
  }

  .map-placeholder {
    min-height: 260px;
  }

  .location-list {
    grid-template-columns: 1fr 1fr;
  }

  .location-list span {
    padding: 12px 10px;
    font-size: 0.9rem;
  }

  /* CTA / İletişim */
  .cta {
    padding: 72px 0;
  }

  .cta-inner {
    padding: 30px 24px;
    border-radius: 28px;
    gap: 30px;
  }

  .contact-card {
    padding: 24px;
  }

  /* Footer */
  .footer-inner {
    min-height: auto;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 22px 0;
  }
}

/* MOBIL HERO LOGO VE ISTATISTIK FINAL OVERRIDE */
@media (max-width: 680px) {
  .hero-logo-card {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: min(300px, calc(100% - 36px)) !important;
    margin: 42px auto 0 !important;
    padding: 22px !important;
    border-radius: 28px !important;
  }

  .hero-stats {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    width: min(330px, calc(100% - 36px)) !important;
    margin: 30px auto 44px !important;
    grid-template-columns: 1fr !important;
    border-radius: 20px !important;
  }

  .hero-stats div {
    padding: 13px 16px !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  }

  .hero-stats div:last-child {
    border-bottom: 0 !important;
  }

  .hero-stats strong {
    font-size: 1rem !important;
  }

  .hero-stats span {
    font-size: 0.84rem !important;
    margin-top: 2px !important;
  }
}