@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg: #000000;
  --panel: rgba(0, 0, 0, 0.58);
  --panel-strong: rgba(0, 0, 0, 0.78);
  --gold: #d9c18a;
  --gold-strong: #ebd5a1;
  --gold-soft: rgba(217, 193, 138, 0.82);
  --text: #f0e5cc;
  --text-soft: rgba(240, 229, 204, 0.9);
  --text-muted: rgba(240, 229, 204, 0.72);
  --line: rgba(217, 193, 138, 0.42);
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.55);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 50% 10%, rgba(174, 146, 90, 0.14), transparent 34%),
    linear-gradient(180deg, #000000, #020202);
}

.site {
  position: relative;
  min-height: 100vh;
  background-color: #000;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.06), rgba(0,0,0,.18)),
    url("kavrun-bg-desktop.jpg");
  background-position: center top, center top;
  background-size: auto, contain;
  background-repeat: no-repeat, no-repeat;
}


.brand-logo {
  position: absolute;
  z-index: 3;
  top: clamp(14px, 1.7vw, 24px);
  left: clamp(16px, 2.3vw, 34px);
  width: clamp(92px, 10.4vw, 152px);
  display: block;
  text-decoration: none;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.55));
}

.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 760px) {
  .brand-logo {
    top: 14px;
    left: 14px;
    width: min(32vw, 124px);
    transform: none;
  }
}

@media (orientation: landscape) and (max-width: 950px) {
  .brand-logo {
    top: 12px;
    left: 14px;
    width: min(16vw, 112px);
    transform: none;
  }
}

.site::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 53% 60%, rgba(255,255,255,.08), transparent 24%),
    radial-gradient(circle at 47% 74%, rgba(255,255,255,.05), transparent 15%),
    radial-gradient(circle at 22% 48%, rgba(0,0,0,.13), transparent 38%),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.17));
  pointer-events: none;
}

.container {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
}

  .topbar {
  padding: 16px 0 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  min-height: 56px;
}

  .nav {
  display: flex;
  gap: clamp(16px, 2vw, 42px);
  align-items: center;
  flex-wrap: wrap;
  margin-right: clamp(4px, 1vw, 16px);
  transform: translateY(25px);
}

.nav a {
  color: rgba(255,255,255,.92);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: clamp(13px, .96vw, 16px);
  padding-bottom: 10px;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease, text-shadow .18s ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.active {
  color: var(--gold-strong);
  border-color: rgba(217,193,138,.72);
  text-shadow: 0 0 18px rgba(217,193,138,.18);
  outline: none;
}

.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(34px, 4.6vw, 76px);
  align-items: center;
  padding: 24px 0 126px;
}

 .hero-copy {
  max-width: 590px;
  padding-top: min(15vh, 126px);
}

.divider {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin: 12px 0 22px;
}

.divider::before,
.divider::after {
  content: "";
  width: 116px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217,193,138,.72));
}

.divider::after {
  transform: scaleX(-1);
}

.diamond {
  width: 10px;
  height: 10px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.hero-copy h1,
.form-card h2 {
  margin: 0;
  color: var(--gold-strong);
  font-family: var(--serif);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0,0,0,.72), 0 1px 2px rgba(0,0,0,.82);
}

 .hero-copy h1 {
  font-size: clamp(30px, 3.2vw, 48px);
  letter-spacing: 0.018em;
  line-height: 1.02;
}

 .hero-copy p {
  margin: 0;
}

 .hero-copy .intro-block {
  max-width: 590px;
  margin: 0;
  color: var(--text-soft);
  font-family: var(--serif);
  font-size: clamp(18px, 1.28vw, 22px);
  line-height: 1.64;
  text-align: justify;
  text-justify: inter-word;
  text-align-last: left;
  letter-spacing: 0.005em;
  hyphens: auto;
  text-shadow: 0 2px 18px rgba(0,0,0,.72), 0 1px 2px rgba(0,0,0,.82);
}

.form-card {
  width: 100%;
  margin-left: auto;
  padding-top: min(6vh, 44px);
}

.form-card-head {
  text-align: center;
  margin-bottom: 24px;
}

.form-card h2 {
  font-size: clamp(42px, 3.5vw, 60px);
}

.form-card-head p {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-family: var(--serif);
  font-size: clamp(20px, 1.45vw, 26px);
  line-height: 1.35;
  text-shadow: 0 2px 16px rgba(0,0,0,.68);
}

.form-wrap {
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.notice {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .82);
  color: var(--text-soft);
  font-size: 12.5px;
}
.notice.success { border-color: rgba(171, 221, 164, .52); }
.notice.error { border-color: rgba(255, 203, 190, .5); }

form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  position: relative;
}

.field svg {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  stroke-width: 1.75;
  fill: none;
  pointer-events: none;
}

.field.textarea svg {
  top: 20px;
  transform: none;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(217,193,138,.46);
  background: rgba(0, 0, 0, .58);
  border-radius: 10px;
  color: var(--text);
  font-size: 16px;
  font-family: var(--sans);
  outline: none;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02);
}

input {
  height: 72px;
  padding: 0 18px 0 56px;
}

textarea {
  min-height: 180px;
  resize: vertical;
  padding: 18px 18px 18px 56px;
}

input::placeholder,
textarea::placeholder {
  color: rgba(240,229,204,.84);
  opacity: 1;
}

input:focus,
textarea:focus {
  border-color: var(--gold-strong);
  background: rgba(0, 0, 0, .76);
  box-shadow: 0 0 0 4px rgba(217,193,138,.12);
}

.submit {
  width: 100%;
  height: 76px;
  border: 1px solid rgba(235, 213, 161, .72);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(191,163,100,.98), rgba(137,114,64,.98));
  color: #f7edd8;
  font-family: var(--serif);
  font-size: clamp(28px, 2.1vw, 36px);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.16);
  transition: transform .18s ease, filter .18s ease;
}

.submit svg {
  width: 24px;
  height: 24px;
  stroke: #f7edd8;
  stroke-width: 1.7;
  fill: none;
}

.submit:hover,
.submit:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.05);
  outline: none;
}

.mail-note {
  margin: 4px 0 0;
  text-align: center;
  color: var(--gold-strong);
  font-size: 15px;
  line-height: 1.4;
  text-shadow: 0 2px 14px rgba(0,0,0,.6);
}
.mail-note a { color: inherit; text-decoration: none; }
.mail-note a:hover,
.mail-note a:focus-visible { text-decoration: underline; outline: none; }

.footer {
  position: relative;
  z-index: 1;
  padding: 28px 0 40px;
  border-top: 1px solid rgba(217,193,138,.2);
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.18));
}

 .footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 920px);
  margin: 0 auto;
}

 .footer-button {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  padding: 15px 16px 14px;
  border: 1px solid rgba(217,193,138,.26);
  background: rgba(0,0,0,.52);
  text-decoration: none;
  color: var(--text-soft);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}

.footer-button:hover,
.footer-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(217,193,138,.54);
  background: rgba(0,0,0,.62);
  outline: none;
}

.footer-button svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
  stroke-width: 1.75;
  fill: none;
  margin-top: 3px;
}

 .footer-button h3 {
  margin: 0 0 5px;
  color: var(--gold-strong);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
}

 .footer-button p {
  margin: 0;
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.46;
}

.copyright {
  margin: 18px 0 0;
  text-align: center;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 18px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.80);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal:target {
  display: flex;
}

.modal-card {
  width: min(760px, 100%);
  max-height: min(84vh, 860px);
  overflow-y: auto;
  border: 1px solid rgba(217,193,138,.35);
  border-radius: 24px;
  padding: 30px 28px;
  background: rgba(0,0,0,.96);
  box-shadow: var(--shadow);
}

.modal-card h2 {
  margin: 0 0 14px;
  color: var(--gold-strong);
  font-family: var(--serif);
  font-size: clamp(30px, 2.6vw, 42px);
  line-height: 1;
  font-weight: 600;
}

 .modal-card h3 {
  margin: 16px 0 7px;
  color: var(--gold);
  font-size: 16px;
}

 .modal-card p,
.modal-card li {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.68;
}

.modal-card ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.close {
  display: inline-flex;
  min-width: 124px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  margin-top: 16px;
}

.close:hover,
.close:focus-visible {
  background: rgba(255,255,255,.06);
  outline: none;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    padding-bottom: 80px;
  }

  .hero-copy,
  .form-card {
    max-width: 100%;
    padding-top: 28px;
  }

  .hero-copy {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .site {
    background-color: #000;
    background-image:
      linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.15)),
      url("kavrun-bg-desktop.jpg");
    background-position: center top, center top;
    background-size: auto, contain;
    background-repeat: no-repeat, no-repeat;
  }

  .container {
    width: min(100% - 28px, 1280px);
  }

  .topbar {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 0 8px;
    min-height: 48px;
  }

  .nav {
    justify-content: flex-end;
    gap: 12px 18px;
    margin-right: 0;
    transform: translateY(25px);
  }

  .nav a {
    font-size: 12px;
    padding-bottom: 8px;
  }

  .hero {
    min-height: auto;
    gap: 24px;
    padding: 8px 0 56px;
  }

  .hero-copy {
    padding-top: 44px;
    max-width: 100%;
  }

  .hero-copy h1 {
    font-size: 28px;
    letter-spacing: 0.02em;
  }

  .divider {
    gap: 12px;
    margin: 10px 0 18px;
  }

  .divider::before,
  .divider::after {
    width: 70px;
  }

  .hero-copy .intro-block {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.62;
    text-align: justify;
    text-justify: inter-word;
    text-align-last: left;
  }

  .form-card {
    padding-top: 16px;
  }

  .form-card h2 {
    font-size: 42px;
  }

  .form-card-head p {
    font-size: 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  input {
    height: 62px;
    padding-left: 54px;
    font-size: 15px;
  }

  textarea {
    min-height: 150px;
    padding-left: 54px;
    font-size: 15px;
  }

  .submit {
    height: 64px;
    font-size: 28px;
  }

  .footer {
    padding: 22px 0 34px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-button h3 { font-size: 12px; }
  .footer-button p { font-size: 12px; }
  .copyright { font-size: 16px; }
}

@media (orientation: landscape) and (max-width: 950px) {
  .topbar {
    padding: 14px 0 10px;
    justify-content: flex-end;
    align-items: center;
  }

  .nav {
    justify-content: flex-end;
    transform: translateY(25px);
  }

  .hero-copy {
    padding-top: 82px;
  }
}


@media (min-width: 761px) and (max-width: 1024px) {
  .topbar {
    align-items: center;
    justify-content: flex-end;
    padding-top: 14px;
  }

  .hero { gap: 34px; padding-bottom: 72px; }
  .hero-copy { padding-top: 136px; max-width: 100%; }
  .hero-copy h1 { font-size: 40px; }
  .hero-copy .intro-block { font-size: 18px; max-width: 760px; }
  .form-card { padding-top: 16px; }
  .submit { height: 70px; }
}


.notice {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: opacity .32s ease, transform .32s ease, max-height .32s ease, margin .32s ease, padding .32s ease;
}

.notice.is-hidden {
  opacity: 0;
  transform: translateY(-8px);
  max-height: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
  overflow: hidden;
}

.notice-close {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(217,193,138,.36);
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  color: #f0e5cc;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.notice-close:hover,
.notice-close:focus-visible {
  border-color: rgba(217,193,138,.72);
  background: rgba(0,0,0,.38);
  transform: scale(1.04);
  outline: none;
}


.form-grid-contact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 760px) {
  .form-grid-contact {
    grid-template-columns: 1fr;
  }
}


/* Mobil üst menü sağ hizalama — korunmuş final düzeltme */
@media (max-width: 760px) {
  .topbar {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
  }

  .nav {
    width: auto;
    margin-left: auto;
    margin-right: 0;
    justify-content: flex-end;
    transform: translateY(47px);
  }

  .nav a,
  .nav a:hover,
  .nav a:focus-visible,
  .nav a.active {
    border: 0;
    border-bottom: none;
    box-shadow: none;
  }
}


/* Üst menü link alt çizgileri kesin kaldırıldı */
.nav a,
.nav a:hover,
.nav a:focus-visible,
.nav a.active {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
