@font-face {
  font-family: 'PlayfairDisplay';
  src: url('PlayfairDisplay-Medium.ttf') format('truetype');
  font-display: swap;
}

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

body {
  font-family: 'PlayfairDisplay', Georgia, serif;
  background-color: #f7f3f3;
  color: #420000;
}

.contact-section {
  padding: 40px 40px;
  text-align: center;
}

.contact-section h1 {
  font-size: 5rem;
  margin-bottom: 25px;
}

.contact-section .sub-intro {
  font-size: 1.25rem;
  color: #420000;
  max-width: 650px;
  margin: 25px auto;
  line-height: 1.6;
}

.contact-info {
  margin-bottom: 30px;
}

.contact-info p {
  font-size: 1.1rem;
  color: #420000;
  margin: 10px 0;
}

.contact-info a {
  color: #420000;
  text-decoration: none;
}

.contact-info a:hover {
  color: #ff4545;
}

.instagram-icon {
  height: 24px;
  width: 24px;
  vertical-align: middle;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.instagram-icon:hover {
  transform: scale(1.1);
}

.form-error-message {
  color: #b30000;
  font-size: 1rem;
  text-align: center;
  margin: 15px 0;
  display: block;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 20px;
  border: 2px solid #420000;
  border-radius: 8px;
  font-family: 'PlayfairDisplay', Georgia, serif;
  font-size: 1rem;
  transition: border 0.3s ease;
}

.contact-form button {
  background-color: #420000;
  color: white;
  border: none;
  padding: 14px 30px;
  font-size: 1.4rem;
  cursor: pointer;
  border-radius: 12px;
  font-family: 'PlayfairDisplay', Georgia, serif;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #7a3b3b;
}

.field-error {
  border-color: #b30000;
}

/* Thank You Section */
.thankyou-section {
  text-align: center;
  padding: 100px 20px;
}

.thankyou-section h1 {
  font-size: 4rem;
  color: #420000;
  margin-bottom: 20px;
}

.thankyou-section p {
  font-size: 1.25rem;
  color: #420000;
  margin-bottom: 30px;
}

.thankyou-section .back-link {
  display: inline-block;
  background-color: #420000;
  color: white;
  padding: 14px 30px;
  border-radius: 12px;
  font-family: 'PlayfairDisplay', Georgia, serif;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.thankyou-section .back-link:hover {
  background-color: #7a3b3b;
}

.scroll-container {
  height: calc(100vh - 80px); /* adjust for navbar */
  overflow-y: auto;
}

/* Optional but keeps consistency with your aesthetic */
.scroll-container::-webkit-scrollbar {
  width: 8px;
}

.scroll-container::-webkit-scrollbar-track {
  background: #420000;
}

.scroll-container::-webkit-scrollbar-thumb {
  background: #f7f3f3;
  border-radius: 4px;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px; /* space between icons */
  margin-top: 10px;
}

.social-icon {
  height: 32px;
  width: 32px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}
