/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* VARIABLES */
:root {
  --bg-main: #f6f7f8;
  --blue-light: #dff3f6;
  --blue-lighter: #7bd7eb;
  --text-main: #111;
  --accent-blue: #4faaf5;
  --accent-orange: #f28c00;
}

/* GLOBAL */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
}



button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}


a {
  text-decoration: none;
  color: inherit;
}






#info {
  scroll-margin-top: 100px;
}


#services {
  scroll-margin-top: 200px;
}


html {
  scroll-behavior: smooth;
}






/* ===== GLASS MODAL OVERLAY ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(180, 240, 230, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
  z-index: 9999;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ===== MODAL GLASS CARD ===== */
.modal {
  width: 92%;
  max-width: 520px;

  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-radius: 20px;
  padding: 28px 26px;

  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);

  position: relative;

  transform: translateY(20px) scale(0.97);
  transition: transform 350ms ease;
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

/* ===== CLOSE BUTTON ===== */
.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;

  background: rgba(255, 255, 255, 0.6);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;

  font-size: 22px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: background 200ms ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.85);
}

/* ===== TITLE ===== */
.modal h2 {
  margin-bottom: 22px;
  font-size: 26px;
  text-align: center;
}

/* ===== FORM ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form label {
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ===== GLASS INPUTS ===== */
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px 14px;
  font-size: 14px;

  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);

  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);

  transition:
    border 200ms ease,
    box-shadow 200ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(255, 165, 0, 0.8);
  box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.25);
}

/* ===== ORANGE CTA BUTTON ===== */
.form-btn {
  margin-top: 6px;
  padding: 14px;

  border: none;
  border-radius: 14px;

  font-size: 15px;
  font-weight: 600;

  color: #fff;
  background: linear-gradient(
    135deg,
    #ff9f1c,
    #ff7a00
  );

  cursor: pointer;
  box-shadow: 0 10px 20px rgba(255, 122, 0, 0.35);

  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
}

.form-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(255, 122, 0, 0.45);
}

/* ===== MOBILE TUNING ===== */
@media (max-width: 480px) {
  .modal {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .modal h2 {
    font-size: 22px;
  }
}




/* SUCCESS STATE */
.form-success {
  text-align: center;
  animation: fadeUp 400ms ease forwards;
}

.form-success h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.form-success p {
  font-size: 14px;
  line-height: 1.6;
}

/* Fade animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
