:root {
  --bg: #1a202c;
  --card: #2d3748;
  --accent: #004099;
  --muted: #ffffff;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
  font-family: "AtaCustomFont", sans-serif;
  cursor: url("../img/cursor/1.png"), auto;
}
@font-face {
  font-family: "AtaCustomFont";
  src: url("../fonts/CoolveticaRg.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "AtaCustomFonts";
  src: url("../fonts/DeliciousHandrawn-Regular.ttf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

body {
  background: linear-gradient(180deg, var(--bg));
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: url("../img/cursor/1.png"), auto;
  font-family: "AtaCustomFonts";
}
.wrap {
  width: 100%;
  max-width: 720px;
  padding: 24px;
}
.card {
  background: var(--card);
  padding: 22px;
  box-shadow: 0 8px 30px rgba(226, 113, 8, 0.06);
  border: 5px solid #000000;
  cursor: url("../img/cursor/1.png"), auto;
  color: white;
  border-radius: 20px;
}
.card h1 {
  margin: 0 0 12px;
  font-size: 22px;
}
label {
  display: block;
  margin-top: 10px;
  font-size: 20px;
  color: var(--muted);
  cursor: url("../img/cursor/1.png"), auto;
}
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border: 5px solid #000000;
  font-size: 15px;
}
textarea {
  min-height: 120px;
}
.actions {
  display: flex;
  gap: 10px;
  margin-top: 2px;
}
.btn {
  background: var(--accent);
  color: white;
  border: 0;
  padding: 10px 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  border: 4px solid #000000;
  font-family: "AtaCustomFonts";
  font-size: x-large;
  transition: transform 150ms ease, box-shadow 150ms ease;
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 1);
  cursor: url("../img/cursor/3.png"), auto;
  border-radius: 7px;
}
.btn:hover {
  transform: translateY(2px);
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 1);
}
.btn:active
{
  transform: translateY(4px);
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 1);
}
.btn.ghost {
  background: #f3f4f6;
  color: #111;
}
.btn-home {
  background: #ffa600;
  color: rgb(0, 0, 0);
  border: 4px solid #000000;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex; /* flex yaptık */
  align-items: center; /* dikey ortala */
  justify-content: center; /* yatay ortala */
  font-family: "AtaCustomFonts";
  font-size: x-large;
  padding: 10px 14px;
  transition: transform 150ms ease, box-shadow 150ms ease;
  box-shadow: 6px 6px 0px rgba(0, 0, 0, 1);
  border-radius: 7px;
  cursor: url("../img/cursor/3.png"), auto;
}
.btn-home:hover {
  transform: translateY(2px);
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 1);
}

.btn-home:active {
  transform: translateY(4px);
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 1);
}
.status {
  margin-top: 10px;
  font-size: 14px;
}
.status.success {
  color: green;
  font-family: "AtaCustomFont", sans-serif;
}
.status.error {
  color: #b00020;
  font-family: "AtaCustomFont", sans-serif;
}
.center {
  text-align: center;
}
#from_name,
#reply_to,
#subject,
#message {
  font-family: "AtaCustomFont";
}
.actions-home {
  margin-left: auto;
  color: black;
}

.contatcform
{
  cursor: url("../img/cursor/4.png"), auto;
}


@media (max-width: 480px) {
  /* Güvenli bölge boşlukları (iOS Safe Area) */
  html,
  body {
    padding: env(safe-area-inset-top) env(safe-area-inset-right)
      env(safe-area-inset-bottom) env(safe-area-inset-left);
    min-height: 100vh;
  }

  /* Ana kapsayıcı ayarları */
  .wrap {
    margin: 0 12px;
    padding: 16px;
    max-width: 100%;
  }

  .card {
    padding: 16px;
  }

  /* Başlık */
  .card h1 {
    font-size: 20px;
    line-height: 1.2;
  }

  /* Form etiket ve alanları */
  label {
    font-size: 14px;
    margin-top: 8px;
  }

  input[type="text"],
  input[type="email"],
  textarea {
    width: 100%;
    font-size: 14px;
    padding: 8px;
    border-width: 3px;
  }

  textarea {
    min-height: 100px;
  }

  /* Butonlar ve aksiyonlar */
  .actions,
  .actions-home {
    flex-direction: column;
    gap: 10px;
  }

  .btn,
  .btn-home {
    width: 100%;
    font-size: large;
    padding: 12px;
    border-width: 3px;
  }
}
