/* Contact Page Styles */

/* General Reset */
html,
body {
  height: 100%;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  flex-direction: column;
}

/* Main */
main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  animation: slideUpFade 1s ease-in-out;
}

@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form Wrapper */
.contact-form-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Form Container */
.form-container {
  max-width: 500px;
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
  color: #fff;
  animation: blurFadeIn 1s ease-in-out forwards;
  position: relative;
}

@keyframes blurFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.98);
    backdrop-filter: blur(0);
    background: rgba(255, 255, 255, 0.01);
  }

  100% {
    opacity: 1;
    transform: scale(1);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.04);
  }
}

.form-container h1,
.form-container .form-subtitle {
  text-align: center;
}

.form-container h1 {
  margin-bottom: 10px;
  font-size: 28px;
}

.form-container .form-subtitle {
  margin-bottom: 30px;
  font-weight: 300;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input,
textarea {
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 15px;
  resize: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: #ffffff;
  box-shadow: 0 0 6px #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

textarea {
  min-height: 200px;
  line-height: 1.5;
}

.char-counter {
  text-align: right;
  font-size: 12px;
  color: #ccc;
  margin-top: -10px;
  margin-bottom: 10px;
}

/* Disabled File Input */
input[type="file"] {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

input[type="file"]::file-selector-button {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  cursor: not-allowed;
}

input[type="file"]::file-selector-button:hover {
  background: #fff;
  color: #6b4c3b;
}

/* Submit Button */
button[type="submit"] {
  padding: 12px;
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.3s;
  white-space: nowrap;
}

button[type="submit"]:hover {
  background: #ffffff;
  color: #6b4c3b;
  transform: translateY(-2px);
}

.contact-details {
  margin-top: 30px;
  text-align: center;
  font-size: 14px;
  color: #eee;
}

.form-message {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

/* Stylized Checkbox per wrapper-33 */
.checkbox-wrapper-33 {
  display: flex;
  align-items: center;
  --s-xsmall: 0.625em;
  --s-small: 1.2em;
  --border-width: 1px;
  --c-primary: #ffffff;
  --c-primary-20-percent-opacity: rgb(255 255 255 / 20%);
  --c-primary-10-percent-opacity: rgb(255 255 255 / 10%);
  --t-base: 0.4s;
  --t-fast: 0.2s;
  --e-in: ease-in;
  --e-out: cubic-bezier(.11, .29, .18, .98);
}

.checkbox-wrapper-33 .visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.checkbox-wrapper-33 .checkbox {
  display: flex;
  align-items: center;
}

.checkbox-wrapper-33 .checkbox+.checkbox {
  margin-top: var(--s-small);
}

.checkbox-wrapper-33 .checkbox__symbol {
  display: inline-flex;
  margin-right: calc(var(--s-small) * 0.7);
  border: var(--border-width) solid var(--c-primary);
  position: relative;
  border-radius: 0.1em;
  width: 1.5em;
  height: 1.5em;
  transition: box-shadow var(--t-base) var(--e-out), background-color var(--t-base);
  box-shadow: 0 0 0 0 var(--c-primary-10-percent-opacity);
}

.checkbox-wrapper-33 .checkbox__symbol:after {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0.5em;
  width: 0.25em;
  height: 0.25em;
  background-color: var(--c-primary-20-percent-opacity);
  opacity: 0;
  border-radius: 3em;
  transform: scale(1);
  transform-origin: 50% 50%;
}

.checkbox-wrapper-33 .checkbox .icon-checkbox {
  width: 1em;
  height: 1em;
  margin: auto;
  fill: none;
  stroke-width: 3;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-miterlimit: 10;
  color: var(--c-primary);
  display: inline-block;
}

.checkbox-wrapper-33 .checkbox .icon-checkbox path {
  transition: stroke-dashoffset var(--t-fast) var(--e-in);
  stroke-dasharray: 30px, 31px;
  stroke-dashoffset: 31px;
}

.checkbox-wrapper-33 .checkbox__trigger:checked+.checkbox__symbol:after {
  animation: ripple-33 1.5s var(--e-out);
}

.checkbox-wrapper-33 .checkbox__trigger:checked+.checkbox__symbol .icon-checkbox path {
  transition: stroke-dashoffset var(--t-base) var(--e-out);
  stroke-dashoffset: 0px;
}

.checkbox-wrapper-33 .checkbox__trigger:focus+.checkbox__symbol {
  box-shadow: 0 0 0 0.25em var(--c-primary-20-percent-opacity);
}

.checkbox-wrapper-33 .checkbox__textwrapper {
  margin-left: calc(var(--s-small) * 0.2);
}

@keyframes ripple-33 {
  from {
    transform: scale(0);
    opacity: 1;
  }

  to {
    opacity: 0;
    transform: scale(20);
  }
}

/* Privacy modal */
.privacy-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.privacy-content {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  max-width: 480px;
  width: 90%;
  color: #2c3e50;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  color: #6b4c3b;
  cursor: pointer;
}

/* Privacy Policy link styling */
.checkbox-wrapper-33 .checkbox__textwrapper a.privacy-link {
  color: #1eaaf1;
  text-decoration: underline;
  cursor: pointer;
}

.checkbox-wrapper-33 .checkbox__textwrapper a.privacy-link:hover {
  color: #ffffff;
}

.privacy-content a {
  color: #1eaaf1;
  text-decoration: underline;
  cursor: pointer;
}

.privacy-content a:hover {
  color: #0c7abf;
}

/* Responsive */
@media (max-width: 600px) {
  .form-container {
    padding: 25px;
  }

  .checkbox-wrapper-33 {
    font-size: 0.75rem;
  }

  .checkbox-wrapper-33 .checkbox__textwrapper {
    white-space: nowrap;
  }
}

input,
textarea,
button,
select {
  font-family: 'Montserrat', sans-serif;
}

/* Placeholder için Montserrat */
input::placeholder,
textarea::placeholder {
  font-family: 'Montserrat', sans-serif;
}