@font-face {
  font-family: 'Trajan';
  src: local('Trajan Pro'), local('Trajan'), serif;
}

body {
  margin: 0;
  background-color: #f4f6f8;
  color: #1f2a36;
  font-family: 'Trajan', serif;
}

.page {
  max-width: 1200px;
  margin: auto;
  padding: 40px 60px;
  background-color: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.page h1 {
  margin-bottom: 30px;
  color: #063970;
  font-size: 2.2rem;
  border-bottom: 2px solid #d4af37;
  padding-bottom: 10px;
}

.page h2 {
  color: #063970;
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.content {
  display: flex;
  gap: 30px;
}

.main {
  flex: 3;
}

.side {
  flex: 1;
  background-color: #f9fafb;
  padding: 20px;
  border-left: 4px solid #063970;
}

form {
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr) auto minmax(160px, 1fr);
  column-gap: 10px;
  row-gap: 10px;
  align-items: center;
}

label {
  font-size: 0.9rem;
  color: #444;
  white-space: nowrap;
}

.page input,
textarea {
  padding: 10px 12px;
  font-family: 'Trajan', serif;
  font-size: 0.95rem;
  border: 1px solid #cfd6dd;
  border-radius: 4px;
  background-color: #ffffff;
  width: 100%;
  box-sizing: border-box;
}

.main textarea {
  resize: vertical;
  min-height: 90px;
}

label[for="message"],
#message,
#contact-status,
.main button {
  grid-column: 1 / -1;
}

.page input:focus,
textarea:focus {
  outline: none;
  border-color: #063970;
  box-shadow: 0 0 0 2px rgba(6,57,112,0.15);
}

.page button {
  margin-top: 4px;
  align-self: flex-start;
  padding: 10px 25px;
  font-family: 'Trajan', serif;
  font-size: 0.95rem;
  background-color: #063970;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.page button:disabled {
  background-color: #788ca4;
  cursor: wait;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.92rem;
}

.form-status.is-success {
  color: #21653a;
}

.form-status.is-error {
  color: #9f1239;
}

button:hover {
  background-color: #052c55;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  margin-bottom: 10px;
}

/* Tablet responsiveness */
@media (max-width: 768px) {
  .page {
    padding: 20px 30px;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .page h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 8px;
  }

  .page h2 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .content {
    flex-direction: column;
    gap: 20px;
  }

  .main {
    flex: none;
  }

  .side {
    flex: none;
    border-left: none;
    border-top: 4px solid #063970;
    padding: 15px;
  }

  form {
    grid-template-columns: 1fr;
  }

  label {
    font-size: 0.85rem;
    white-space: normal;
    margin-bottom: 4px;
  }

  label[for="message"],
  #message,
  #contact-status,
  .main button {
    grid-column: 1;
  }

  .main textarea {
    min-height: 80px;
  }

  .page button {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
}

/* Mobile responsiveness */
@media (max-width: 480px) {
  .page {
    padding: 12px 15px;
  }

  .page h1 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    padding-bottom: 6px;
  }

  .page h2 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .content {
    gap: 15px;
  }

  form {
    row-gap: 8px;
  }

  .page input,
  textarea {
    padding: 8px 10px;
    font-size: 0.9rem;
    border-radius: 3px;
  }

  .main textarea {
    min-height: 70px;
  }

  label {
    font-size: 0.8rem;
  }

  .page button {
    padding: 6px 15px;
    font-size: 0.85rem;
    margin-top: 2px;
  }

  .form-status {
    font-size: 0.85rem;
  }

  ul {
    padding: 0;
  }

  li {
    margin-bottom: 8px;
    font-size: 0.9rem;
  }

  .side {
    padding: 12px;
  }
}

.page a {
  text-decoration: none;
  color: #063970;
  font-size: 0.95rem;
}

.page a:hover {
  text-decoration: underline;
}

  .socials a svg {
width: 18px;
height: 18px;
flex-shrink: 0;
transition: fill 0.2s ease;
  }

  /* Facebook */
  .socials a.facebook svg {
fill: #1877f2;
  }

  /* YouTube */
  .socials a.youtube svg {
fill: #ff0000;
  }

  /* Instagram */
  .socials a.instagram svg {
fill: #e1306c;
  }
  .socials a.maps svg {
fill: #a10707;
  }
  .footer{margin-top:18px;padding-top:12px;border-top:1px solid rgba(0,0,0,0.04);display:flex;justify-content:space-between;align-items:center;color:#6b7280;font-size:0.9rem}

@media (max-width: 900px) {
  form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  label {
    white-space: normal;
  }

  .content {
    flex-direction: column;
    }

  .side {
    border-left: none;
    border-top: 4px solid #063970;
    }
}