:root {
  --g-zemin: #f5f5f7;
  --g-kart: #ffffff;
  --g-metin: #1d1d1f;
  --g-ikincil: #6e6e73;
  --g-ucuncul: #86868b;
  --g-cizgi: #d2d2d7;
  --g-mavi: #0071e3;
  --g-mavi-ustu: #0077ed;
  --g-baglanti: #0066cc;
  --g-yaricap: 28px;
  --g-bosluk: 14px;
  --g-yazi: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --g-gecis: cubic-bezier(0.28, 0.11, 0.32, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--g-zemin);
  color: var(--g-metin);
  font: 400 17px/1.47 var(--g-yazi);
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
p {
  margin: 0;
}

img {
  display: block;
}

.g-sayfa {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(430px, 1fr);
  gap: var(--g-bosluk);
  height: 100vh;
  height: 100dvh;
  min-height: 620px;
  padding: 20px;
}

.g-vitrin {
  display: grid;
  grid-template-columns: 1.08fr 1fr 1fr;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: var(--g-bosluk);
  min-width: 0;
  min-height: 0;
}

.g-karo {
  position: relative;
  overflow: hidden;
  border-radius: var(--g-yaricap);
  background: #e8e8ed;
}

.g-karo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--g-gecis);
}

.g-karo:hover img {
  transform: scale(1.035);
}

.g-karo--salon {
  grid-area: 1 / 1 / 3 / 2;
}

.g-karo--yazi {
  grid-area: 1 / 2 / 2 / 4;
}

.g-karo--lamba {
  grid-area: 2 / 2 / 3 / 3;
}

.g-karo--vazo {
  grid-area: 2 / 3 / 3 / 4;
}

.g-karo--showroom {
  grid-area: 3 / 1 / 4 / 3;
}

.g-karo--imza {
  grid-area: 3 / 3 / 4 / 4;
}

.g-karo--showroom img {
  object-position: 50% 58%;
}

.g-karo--lamba img {
  object-position: 50% 62%;
}

.g-karo--vazo img {
  object-position: 50% 70%;
}

.g-karo--yazi {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(22px, 2.4vw, 34px);
  background: var(--g-kart);
}

.g-karo__ust {
  color: var(--g-ucuncul);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.g-karo--yazi h2 {
  font-size: clamp(26px, min(3.3vw, 5.6vh), 50px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.g-karo--yazi p {
  max-width: 26em;
  margin-top: 10px;
  color: var(--g-ikincil);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.4;
}

.g-karo--imza {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(18px, 1.9vw, 26px);
  background: var(--g-metin);
  color: #f5f5f7;
  text-decoration: none;
  transition: background 0.3s var(--g-gecis);
}

.g-karo--imza:hover {
  background: #2c2c2e;
}

.g-karo--imza span {
  color: rgba(245, 245, 247, 0.6);
  font-size: 14px;
  font-weight: 500;
}

.g-karo--imza img {
  width: min(150px, 78%);
  height: auto;
  object-fit: contain;
  transition: none;
}

.g-karo--imza:hover img {
  transform: none;
}

.g-karo__dis {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.g-karo__dis svg {
  width: 10px;
  height: 10px;
}

.g-form {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px 36px 22px;
  border-radius: var(--g-yaricap);
  background: var(--g-kart);
  overflow-y: auto;
}

.g-form__ic {
  width: 100%;
  max-width: 372px;
  margin: auto;
  padding: 16px 0;
}

.g-simge {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: linear-gradient(160deg, #2c2c2e, #111112);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16), inset 0 0 0 0.5px rgba(255, 255, 255, 0.12);
}

.g-simge img {
  width: 44px;
  height: 44px;
}

.g-form h1 {
  margin-top: 22px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.g-form__alt {
  margin-top: 6px;
  color: var(--g-ikincil);
}

.g-hata {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 22px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff2f1;
  color: #b3261e;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.g-hata svg {
  flex: none;
  width: 19px;
  height: 19px;
  margin-top: 1px;
}

.g-form form {
  margin-top: 26px;
}

.g-alan + .g-alan {
  margin-top: 16px;
}

.g-alan label {
  display: block;
  margin-bottom: 7px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.g-alan input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--g-cizgi);
  border-radius: 14px;
  background: #fff;
  color: var(--g-metin);
  font: 400 17px/1.3 var(--g-yazi);
  letter-spacing: -0.022em;
  outline: 0;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.g-alan input::placeholder {
  color: #a1a1a6;
}

.g-alan input:hover {
  border-color: #b0b0b6;
}

.g-alan input:focus {
  border-color: var(--g-mavi);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.16);
}

.g-sifre {
  position: relative;
}

.g-sifre input {
  padding-right: 84px;
}

.g-sifre button {
  position: absolute;
  top: 50%;
  right: 7px;
  height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--g-baglanti);
  font: 500 15px/1 var(--g-yazi);
  letter-spacing: -0.015em;
  cursor: pointer;
  transform: translateY(-50%);
}

.g-sifre button:hover {
  background: var(--g-zemin);
}

.g-dugme {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  margin-top: 24px;
  border: 0;
  border-radius: 980px;
  background: var(--g-mavi);
  color: #fff;
  font: 500 17px/1 var(--g-yazi);
  letter-spacing: -0.022em;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.g-dugme:hover {
  background: var(--g-mavi-ustu);
}

.g-dugme:active {
  transform: scale(0.985);
}

.g-dugme svg {
  width: 17px;
  height: 17px;
}

.g-dugme:focus-visible,
.g-sifre button:focus-visible,
.g-yardim a:focus-visible,
.g-karo--imza:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.5);
  outline-offset: 2px;
}

.g-yardim {
  display: grid;
  gap: 6px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--g-ikincil);
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.016em;
}

.g-yardim a {
  color: var(--g-baglanti);
  text-decoration: none;
}

.g-yardim a:hover {
  text-decoration: underline;
}

.g-form__dip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--g-ucuncul);
  font-size: 13px;
  letter-spacing: -0.008em;
}

.g-form__dip a {
  display: none;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.g-form__dip img {
  width: 62px;
  height: auto;
}

@media (prefers-reduced-motion: no-preference) {
  .g-karo,
  .g-form {
    animation: g-gir 0.7s var(--g-gecis) both;
  }

  .g-karo--yazi {
    animation-delay: 0.05s;
  }

  .g-karo--lamba {
    animation-delay: 0.1s;
  }

  .g-karo--vazo {
    animation-delay: 0.15s;
  }

  .g-karo--showroom {
    animation-delay: 0.2s;
  }

  .g-karo--imza {
    animation-delay: 0.25s;
  }

  @keyframes g-gir {
    from {
      opacity: 0;
      transform: translateY(12px) scale(0.985);
    }

    to {
      opacity: 1;
      transform: none;
    }
  }
}

@media (max-height: 720px) {
  .g-karo--yazi p {
    display: none;
  }
}

@media (max-width: 1180px) {
  .g-sayfa {
    grid-template-columns: minmax(0, 1.15fr) minmax(400px, 1fr);
  }

  .g-vitrin {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 0.8fr);
  }

  .g-karo--yazi {
    grid-area: 1 / 1 / 2 / 3;
  }

  .g-karo--salon {
    grid-area: 2 / 1 / 4 / 2;
  }

  .g-karo--lamba {
    grid-area: 2 / 2 / 3 / 3;
  }

  .g-karo--imza {
    grid-area: 3 / 2 / 4 / 3;
  }

  .g-karo--vazo,
  .g-karo--showroom {
    display: none;
  }

  .g-form {
    padding: 24px 28px 20px;
  }
}

@media (max-width: 860px) {
  .g-sayfa {
    display: block;
    height: auto;
    min-height: 0;
    padding: 12px;
  }

  .g-vitrin {
    display: block;
  }

  .g-karo {
    display: none;
  }

  .g-karo--showroom {
    display: block;
    height: 190px;
    margin-bottom: 12px;
  }

  .g-form {
    padding: 26px 22px 20px;
  }

  .g-form__ic {
    margin: 0 auto;
    padding: 0 0 26px;
  }

  .g-form__dip a {
    display: inline-flex;
  }
}
