.contact-page {
  margin: 0 200px;
}

.contact-hero {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-header{
  font-size: 80px;
  letter-spacing: -2px;
}

.contact-wrapper-page{
  margin-top: 80px;
  width: 100%;
}

.contact-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  width: 100%;
}

.contact-info {
  background: #F6F1E1;
  padding: 60px 40px;
  border-radius: 16px;
  height: 100%;
  max-width: 480px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 60px;
  color: #354637;
}

.contact-details{
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.contact-block-wrap{
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  gap: 24px;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.contact-block h3{
  font-family: "HenrySans", sans-serif;
  list-style: none;
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
}

.contact-block ul li{
  list-style: none;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.6px;
}

.contact-form  {
  width: 100%;
  max-width: 849px;
  height: 100%;
  max-height: 640px;
  border-radius: 16px;
  padding: 0 40px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

input, select, textarea {
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #ddd;
}

.btn-submit {
  background: #d97141;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
}

.contact-map {
  margin: 60px 0 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.social-links h3{
  font-size: 20px;
  line-height: 32px;
}

.social-list{
  list-style: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.social-icons{
  width: 28px;
  height: 28px;
}

/* Wrapper */
.contact-form-wrap{
  display: flex;
  flex-direction: column;
  gap: 40px;
    margin: 20px auto;
  width: 100%;
}

.contact-form-wrap h1{
  font-size: 80px;
  line-height: 80px;
  letter-spacing: -2px;
}

#contact-form {
  max-width: 600px;
  background: #f8f9f3;
  padding: 15px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

/* Label */
#contact-form label {
  display: block;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: #444;
}

/* Input / Select */
#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 12px;
  border: none;
  background: #d1d1d1;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  box-sizing: border-box;
}

/* Row Layout */
.form-row {
  display: flex;
  gap: 15px;
}
.form-row .half {
  flex: 1;
}

/* Submit */
.submit-btn {
    background-color: #cf7525;
    color: #f9faf3;
    text-decoration: none;
    padding: 10px 40px;
    font-size: 12px;
    letter-spacing: 2px;
    border-radius: 20px 0 20px 0;
    transition: background-color 0.3s ease-in-out;
    text-transform: uppercase;
    font-weight: 600;
    border: none;
    width: 152px;
    cursor: pointer;
}
.submit-btn:hover {
  background: #a6501a;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal.active,
.modal[style*="display: flex"] {
  display: flex;
}

.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  max-width: 450px;
  text-align: center;
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap:40px
}

.contact-meassage{
  font-size: 20px;
  line-height:30px;
  letter-spacing: 1px;
}

.modal-content.error {
  background: #f8d7da;
  color: #721c24;
}

#close-contact-modal{
    background-color: #cf7525;
    color: #f9faf3;
    text-decoration: none;
    padding: 10px 40px;
    font-size: 12px;
    border-radius: 20px 0 20px 0;
    transition: background-color 0.3s ease-in-out;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    width: 152px;
    cursor: pointer;
}

#close-contact-modal:hover {
    background-color: #b96900;
}

/* ===================
   RESPONSIVE STYLES
=================== */

/* === Tablet (<= 1024px) === */
@media (max-width: 1024px) {
  .contact-page {
    margin: 0 60px;
  }

  .contact-header,
  .contact-form-wrap h1 {
    font-size: 56px;
    line-height: 64px;
  }

  .contact-form-wrap{
    justify-content: center;
    align-items: center;
  }

  .contact-grid {
    flex-direction: column;
    padding: 0 20px;
    gap: 40px;
  }

  .contact-info {
    max-width: 100%;
  }

  #contact-form{
    width: 100%;
  }

  .contact-map{
    margin: 20px;
  }

  #map{
    height: 250px !important;
  }
}

/* === Mobile (<= 768px) === */
@media (max-width: 768px) {
  .contact-page {
    margin: 0 20px;
  }

  .contact-header,
  .contact-form-wrap h1 {
    font-size: 40px;
    line-height: 48px;
  }

  .contact-info {
    padding: 40px 20px;
    gap: 40px;
  }

  .contact-block-wrap {
    flex-direction: column;
    gap: 16px;
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .contact-form {
    padding: 0 20px;
    max-height: none;
  }

  .submit-btn,
  #close-contact-modal {
    width: 100%;
    max-width: 100%;
  }

  .social-list {
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* === Small Mobile (<= 480px) === */
@media (max-width: 480px) {
  .contact-header,
  .contact-form-wrap h1 {
    font-size: 32px;
    line-height: 40px;
  }

  .contact-info {
    padding: 20px;
  }

  .contact-block h3 {
    font-size: 18px;
  }

  .contact-block ul li {
    font-size: 14px;
  }

  .contact-meassage {
    font-size: 16px;
    line-height: 24px;
  }

  .social-icons {
    width: 22px;
    height: 22px;
  }
}
