/* =========================================================
   ÇANKAYA DESIGN
   PREMIUM ARCHITECTURAL / INTERIOR WEBSITE
   ========================================================= */

:root {
  --bg: #f1eee8;
  --bg-alt: #e7e2d9;

  --dark: #171814;
  --dark-2: #20211c;

  --text: #1d1e19;
  --muted: #74736c;
  --muted-light: #aaa9a1;

  --white: #f8f6f0;

  --wood: #a9855d;
  --wood-light: #c2a078;

  --line: rgba(29, 30, 25, 0.14);
  --line-dark: rgba(255, 255, 255, 0.14);

  --container: 1280px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  background: var(--bg);
  color: var(--text);

  font-family: "DM Sans", sans-serif;

  overflow-x: hidden;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

::selection {
  background: var(--wood);
  color: white;
}

/* =========================================================
   CONTAINER
   ========================================================= */

.page-container,
.header-container,
.hero-container {
  width: min(calc(100% - 72px), var(--container));

  margin-inline: auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: fixed;

  top: 0;
  left: 0;
  right: 0;

  z-index: 1000;

  color: white;

  transition:
    background 0.45s var(--ease),
    backdrop-filter 0.45s var(--ease),
    border-color 0.45s var(--ease);
}

.site-header.scrolled {
  background: rgba(23, 24, 20, 0.88);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-container {
  height: 88px;

  display: flex;
  align-items: center;
}

/* LOGO */

.brand {
  display: flex;
  flex-direction: column;

  font-family: "Manrope", sans-serif;

  line-height: 0.9;

  letter-spacing: 0.14em;
}

.brand-main {
  font-size: 14px;
  font-weight: 500;
}

.brand-sub {
  font-size: 14px;
  font-weight: 800;
}

/* NAV */

.main-navigation {
  display: flex;

  align-items: center;

  gap: 32px;

  margin-left: auto;
  margin-right: 42px;
}

.main-navigation a {
  position: relative;

  color: rgba(255, 255, 255, 0.75);

  font-size: 12px;
  font-weight: 500;

  transition: color 0.3s ease;
}

.main-navigation a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -7px;

  width: 100%;
  height: 1px;

  background: var(--wood-light);

  transform: scaleX(0);

  transform-origin: right;

  transition: transform 0.35s var(--ease);
}

.main-navigation a:hover {
  color: white;
}

.main-navigation a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* HEADER CTA */

.header-contact {
  display: flex;

  align-items: center;

  gap: 22px;

  padding: 11px 15px;

  border: 1px solid rgba(255, 255, 255, 0.3);

  font-size: 11px;
  font-weight: 600;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.header-contact:hover {
  background: white;

  color: var(--dark);

  border-color: white;
}

.header-contact .arrow {
  font-size: 15px;
}

/* MOBILE BUTTON */

.mobile-menu-button {
  display: none;

  margin-left: auto;

  width: 40px;
  height: 40px;

  border: 1px solid rgba(255, 255, 255, 0.35);

  background: transparent;

  cursor: pointer;
}

.mobile-menu-button span {
  display: block;

  width: 17px;

  margin: 5px auto;

  border-top: 1px solid white;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;

  min-height: 100svh;

  display: flex;
  align-items: flex-end;

  color: white;

  overflow: hidden;
}

/* IMAGE */

.hero-background {
  position: absolute;

  inset: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transform: scale(1.025);

  animation: heroImage 10s var(--ease) forwards;
}

@keyframes heroImage {
  from {
    transform: scale(1.07);
  }

  to {
    transform: scale(1.025);
  }
}

/* OVERLAY */

.hero-overlay {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(10, 11, 9, 0.73),
      rgba(10, 11, 9, 0.24) 55%,
      rgba(10, 11, 9, 0.05)
    ),
    linear-gradient(0deg, rgba(10, 11, 9, 0.7), transparent 62%);
}

/* HERO CONTENT */

.hero-container {
  position: relative;

  z-index: 2;

  padding-bottom: 82px;
}

/* LABEL */

.hero-label {
  display: flex;

  align-items: center;

  gap: 12px;

  margin-bottom: 24px;

  color: rgba(255, 255, 255, 0.7);

  font-size: 9px;

  font-weight: 600;

  letter-spacing: 0.2em;
}

.label-line {
  width: 38px;
  height: 1px;

  background: var(--wood-light);
}

/* MAIN TITLE */

.hero-title {
  max-width: 850px;

  margin: 0;

  font-family: "Manrope", sans-serif;

  /*
       Daha önce 140px civarındaydı.
       Artık daha kontrollü.
    */

  font-size: clamp(50px, 6.5vw, 94px);

  font-weight: 700;

  line-height: 0.92;

  letter-spacing: -0.065em;
}

.hero-title em {
  color: var(--wood-light);

  font-style: normal;

  font-weight: 500;
}

/* HERO BOTTOM */

.hero-bottom {
  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 60px;

  margin-top: 35px;
}

.hero-description {
  max-width: 420px;

  margin: 0;

  color: rgba(255, 255, 255, 0.72);

  font-size: 14px;

  line-height: 1.7;
}

/* HERO ACTIONS */

.hero-actions {
  display: flex;

  align-items: center;

  gap: 24px;
}

.primary-button {
  display: inline-flex;

  align-items: center;
  justify-content: space-between;

  min-width: 170px;

  gap: 28px;

  padding: 15px 18px;

  background: var(--white);

  color: var(--dark);

  font-size: 11px;
  font-weight: 600;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.primary-button:hover {
  background: var(--wood);

  color: white;

  transform: translateY(-2px);
}

.secondary-button {
  display: inline-flex;

  align-items: center;

  gap: 12px;

  padding-bottom: 6px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.4);

  color: rgba(255, 255, 255, 0.75);

  font-size: 11px;
}

.secondary-button:hover {
  color: white;

  border-color: white;
}

/* SCROLL */

.hero-scroll {
  position: absolute;

  right: 34px;
  bottom: 32px;

  z-index: 3;

  display: flex;
  flex-direction: column;

  align-items: center;

  gap: 12px;
}

.hero-scroll span {
  writing-mode: vertical-rl;

  color: rgba(255, 255, 255, 0.55);

  font-size: 7px;

  letter-spacing: 0.25em;
}

.hero-scroll i {
  width: 1px;
  height: 52px;

  background: linear-gradient(to bottom, var(--wood-light), transparent);
}

/* =========================================================
   SECTION LABEL
   ========================================================= */

.section-index {
  display: flex;

  align-items: center;

  gap: 16px;

  margin-bottom: 25px;

  color: var(--muted);

  font-size: 9px;

  font-weight: 600;

  letter-spacing: 0.19em;
}

.section-index span:first-child {
  color: var(--wood);

  font-family: "Manrope", sans-serif;

  font-size: 11px;
}

.section-index.light {
  color: var(--muted-light);
}

/* =========================================================
   INTRO
   ========================================================= */

.intro-section {
  padding: 150px 0 165px;

  background: var(--bg);
}

.intro-content {
  display: grid;

  grid-template-columns: 1.35fr 0.65fr;

  gap: 100px;

  align-items: end;
}

.intro-content h2 {
  margin: 0;

  font-family: "Manrope", sans-serif;

  font-size: clamp(44px, 5.5vw, 76px);

  font-weight: 600;

  line-height: 0.96;

  letter-spacing: -0.06em;
}

.intro-content h2 span {
  color: var(--wood);
}

.intro-content h2 strong {
  font-weight: 700;
}

.intro-text {
  max-width: 400px;
}

.intro-text p {
  margin: 0 0 18px;

  color: #696861;

  font-size: 14px;

  line-height: 1.8;
}

.underlined-link {
  display: inline-flex;

  align-items: center;

  gap: 13px;

  margin-top: 13px;

  padding-bottom: 7px;

  border-bottom: 1px solid var(--line);

  font-size: 11px;

  font-weight: 600;

  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

.underlined-link:hover {
  color: var(--wood);

  border-color: var(--wood);
}

.underlined-link span {
  font-size: 15px;
}

/* =========================================================
   SERVICES
   ========================================================= */

.services-section {
  padding: 135px 0;

  background: var(--dark);

  color: var(--white);
}

.section-header {
  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 60px;

  margin-bottom: 65px;
}

.section-header h2,
.projects-heading h2 {
  margin: 0;

  font-family: "Manrope", sans-serif;

  font-size: clamp(43px, 5vw, 68px);

  font-weight: 600;

  line-height: 0.94;

  letter-spacing: -0.055em;
}

.section-header > p {
  max-width: 330px;

  margin: 0;

  color: var(--muted-light);

  font-size: 13px;

  line-height: 1.75;
}

/* SERVICES */

.services-list {
  border-top: 1px solid var(--line-dark);
}

.service-item {
  display: grid;

  grid-template-columns: 70px 1fr 55px;

  align-items: center;

  min-height: 165px;

  border-bottom: 1px solid var(--line-dark);

  transition:
    background 0.35s ease,
    padding 0.35s ease;
}

.service-item:hover {
  background: rgba(255, 255, 255, 0.025);

  padding-inline: 18px;
}

.service-number {
  color: var(--wood-light);

  font-size: 9px;

  letter-spacing: 0.15em;
}

.service-content {
  display: grid;

  grid-template-columns: 0.8fr 1.2fr;

  gap: 50px;

  align-items: center;
}

.service-content h3 {
  margin: 0;

  font-family: "Manrope", sans-serif;

  font-size: clamp(25px, 2.5vw, 36px);

  font-weight: 500;

  letter-spacing: -0.035em;
}

.service-content p {
  max-width: 430px;

  margin: 0;

  color: var(--muted-light);

  font-size: 12px;

  line-height: 1.75;
}

.service-arrow {
  justify-self: end;

  width: 38px;
  height: 38px;

  display: grid;
  place-items: center;

  border: 1px solid var(--line-dark);

  font-size: 15px;

  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.service-item:hover .service-arrow {
  background: var(--wood);

  border-color: var(--wood);

  transform: rotate(45deg);
}

/* =========================================================
   PROJECTS
   ========================================================= */

.projects-section {
  padding: 155px 0;

  background: var(--bg);
}

.projects-heading {
  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  margin-bottom: 70px;
}

/* PROJECT GRID */

.projects-grid {
  display: grid;

  grid-template-columns: 1.12fr 0.88fr;

  column-gap: 30px;

  row-gap: 85px;
}

.project {
  display: block;
}

.project:nth-child(2) {
  margin-top: 125px;
}

.project:nth-child(3) {
  margin-top: -15px;
}

.project-wide {
  grid-column: 1 / -1;

  margin-top: 15px !important;
}

/* PROJECT IMAGE */

.project-image {
  position: relative;

  overflow: hidden;

  aspect-ratio: 4 / 3;

  background: #d7d2c9;
}

.project-large .project-image {
  aspect-ratio: 1 / 0.94;
}

.project-wide .project-image {
  aspect-ratio: 2.2 / 1;
}

.project-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 1s var(--ease);
}

.project:hover .project-image img {
  transform: scale(1.04);
}

/* PROJECT OVERLAY */

.project-overlay {
  position: absolute;

  inset: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 13px;

  background: rgba(17, 18, 15, 0.42);

  color: white;

  opacity: 0;

  transition: opacity 0.4s ease;
}

.project:hover .project-overlay {
  opacity: 1;
}

.project-overlay span {
  font-size: 8px;

  letter-spacing: 0.2em;

  font-weight: 600;
}

.project-overlay strong {
  width: 31px;
  height: 31px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.5);

  font-size: 13px;
}

/* PROJECT META */

.project-meta {
  display: flex;

  align-items: flex-start;
  justify-content: space-between;

  padding-top: 16px;
}

.project-meta span {
  color: var(--muted);

  font-size: 8px;

  letter-spacing: 0.17em;
}

.project-meta h3 {
  margin: 6px 0 0;

  font-family: "Manrope", sans-serif;

  font-size: 20px;

  font-weight: 600;

  letter-spacing: -0.03em;
}

/* =========================================================
   STATEMENT
   ========================================================= */

.statement-section {
  padding: 145px 0;

  background: linear-gradient(135deg, #ded9cf, #ebe7df);
}

.statement-section h2 {
  margin: 0;

  font-family: "Manrope", sans-serif;

  font-size: clamp(55px, 7vw, 102px);

  font-weight: 600;

  line-height: 0.9;

  letter-spacing: -0.07em;
}

.statement-section em {
  color: var(--wood);

  font-style: normal;

  font-weight: 400;
}

/* =========================================================
   PROCESS
   ========================================================= */

.process-section {
  padding: 145px 0;

  background: var(--bg);
}

.process-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  border-top: 1px solid var(--line);
}

.process-card {
  min-height: 275px;

  padding: 25px 28px 25px 0;

  border-right: 1px solid var(--line);
}

.process-card:not(:first-child) {
  padding-left: 28px;
}

.process-card:last-child {
  border-right: none;
}

.process-card > span {
  color: var(--wood);

  font-size: 9px;

  letter-spacing: 0.18em;
}

.process-card h3 {
  margin: 78px 0 15px;

  font-family: "Manrope", sans-serif;

  font-size: 25px;

  font-weight: 600;

  letter-spacing: -0.035em;
}

.process-card p {
  max-width: 220px;

  margin: 0;

  color: var(--muted);

  font-size: 12px;

  line-height: 1.75;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
  position: relative;

  padding: 150px 0;

  background: var(--dark);

  color: var(--white);

  overflow: hidden;
}

.contact-section::before,
.contact-section::after {
  content: "";

  position: absolute;

  border: 1px solid rgba(255, 255, 255, 0.055);

  border-radius: 50%;

  pointer-events: none;
}

.contact-section::before {
  width: 520px;
  height: 520px;

  right: -260px;
  top: -280px;
}

.contact-section::after {
  width: 400px;
  height: 400px;

  left: -250px;
  bottom: -260px;
}

.contact-content {
  position: relative;

  z-index: 2;
}

.contact-content h2 {
  margin: 0 0 30px;

  font-family: "Manrope", sans-serif;

  font-size: clamp(55px, 7.5vw, 105px);

  font-weight: 600;

  line-height: 0.88;

  letter-spacing: -0.07em;
}

.contact-content h2 em {
  color: var(--wood-light);

  font-style: normal;

  font-weight: 400;
}

.contact-content p {
  max-width: 390px;

  margin: 0 0 35px;

  color: var(--muted-light);

  font-size: 14px;

  line-height: 1.75;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding: 80px 0 24px;

  background: #0d0e0b;

  color: white;
}

.footer-main {
  display: grid;

  grid-template-columns: 2fr 1fr 1fr;

  gap: 70px;

  padding-bottom: 75px;
}

.footer-brand p {
  max-width: 270px;

  margin-top: 23px;

  color: #72736d;

  font-size: 12px;

  line-height: 1.7;
}

.footer-column {
  display: flex;

  flex-direction: column;

  gap: 11px;
}

.footer-column > span {
  margin-bottom: 10px;

  color: #5f605a;

  font-size: 8px;

  letter-spacing: 0.2em;
}

.footer-column a {
  width: fit-content;

  color: #b9b9b2;

  font-size: 12px;

  transition: color 0.25s ease;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  display: flex;

  justify-content: space-between;

  padding-top: 18px;

  border-top: 1px solid rgba(255, 255, 255, 0.09);

  color: #5c5d57;

  font-size: 8px;

  letter-spacing: 0.08em;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

.reveal {
  opacity: 0;

  transform: translateY(25px);

  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;

  transform: translateY(0);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {
  .main-navigation {
    gap: 20px;

    margin-right: 25px;
  }

  .intro-content {
    grid-template-columns: 1fr 0.8fr;

    gap: 60px;
  }

  .service-content {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {
  .page-container,
  .header-container,
  .hero-container {
    width: calc(100% - 36px);
  }

  /* HEADER */

  .header-container {
    height: 78px;
  }

  .main-navigation,
  .header-contact {
    display: none;
  }

  .mobile-menu-button {
    display: block;

    margin-left: auto;
  }

  /* HERO */

  .hero {
    min-height: 720px;
  }

  .hero-container {
    padding-bottom: 60px;
  }

  .hero-label {
    flex-wrap: wrap;

    line-height: 1.6;
  }

  .hero-title {
    max-width: 600px;

    font-size: clamp(47px, 13vw, 70px);
  }

  .hero-bottom {
    display: block;

    margin-top: 28px;
  }

  .hero-description {
    font-size: 13px;
  }

  .hero-actions {
    flex-direction: column;

    align-items: flex-start;

    gap: 20px;

    margin-top: 28px;
  }

  .hero-scroll {
    display: none;
  }

  /* SECTIONS */

  .intro-section,
  .services-section,
  .projects-section,
  .process-section,
  .contact-section {
    padding: 95px 0;
  }

  /* INTRO */

  .intro-content {
    grid-template-columns: 1fr;

    gap: 40px;
  }

  .intro-content h2 {
    font-size: 46px;
  }

  /* SERVICES */

  .section-header {
    display: block;

    margin-bottom: 50px;
  }

  .section-header > p {
    margin-top: 24px;
  }

  .service-item {
    grid-template-columns: 35px 1fr 38px;

    min-height: 150px;
  }

  .service-content {
    display: block;
  }

  .service-content h3 {
    font-size: 24px;
  }

  .service-content p {
    margin-top: 8px;

    font-size: 11px;
  }

  .service-arrow {
    width: 34px;
    height: 34px;
  }

  /* PROJECTS */

  .projects-heading {
    display: block;

    margin-bottom: 50px;
  }

  .projects-heading .underlined-link {
    margin-top: 25px;
  }

  .projects-grid {
    grid-template-columns: 1fr;

    gap: 48px;
  }

  .project,
  .project:nth-child(2),
  .project:nth-child(3),
  .project-wide {
    margin-top: 0 !important;
  }

  .project-wide {
    grid-column: auto;
  }

  .project-wide .project-image {
    aspect-ratio: 4 / 3;
  }

  /* STATEMENT */

  .statement-section {
    padding: 100px 0;
  }

  .statement-section h2 {
    font-size: 53px;
  }

  /* PROCESS */

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-card,
  .process-card:not(:first-child) {
    min-height: auto;

    padding: 25px 0;

    border-right: none;

    border-bottom: 1px solid var(--line);
  }

  .process-card h3 {
    margin-top: 40px;
  }

  /* CONTACT */

  .contact-content h2 {
    font-size: 55px;
  }

  /* FOOTER */

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;

    gap: 9px;
  }
}

/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {
  .hero-title {
    font-size: 45px;
  }

  .intro-content h2 {
    font-size: 40px;
  }

  .section-header h2,
  .projects-heading h2 {
    font-size: 43px;
  }

  .statement-section h2 {
    font-size: 45px;
  }

  .contact-content h2 {
    font-size: 48px;
  }
}
