/* Contact Page Styles */

/* Contact Information Section */
.contact-info-section {
  padding: 80px 40px;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50vh;
}

.contact-info-container {
  max-width: 1400px;
  width: 100%;
  position: relative;
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 0;
  border: 2px solid #000;
  border-radius: 300px;
  overflow: hidden;
  background: #ffffff;
}

.contact-info-header {
  background-color: #ffffff;
  border-right: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.contact-info-header h2 {
  font-family: "Helvetica", "Arial", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #000;
  text-transform: uppercase;
  writing-mode: horizontal-tb;
  margin: 0;
}

.contact-info-content {
  background-color: #ffffff;
  padding: 40px 60px;
  display: flex;
  align-items: center;
}

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

.contact-info-text p {
  font-family: "Helvetica", "Arial", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #000;
  margin: 0 0 8px 0;
}

.contact-info-text p:first-child {
  margin-bottom: 16px;
}

.contact-info-text strong {
  font-weight: 700;
}

.contact-info-text a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info-text a:hover {
  color: #0052a3;
  text-decoration: underline;
}

/* Responsive Design for Contact Info */
@media screen and (max-width: 1024px) {
  .contact-info-container {
    grid-template-columns: 220px 1fr;
    border-radius: 250px;
  }

  .contact-info-content {
    padding: 30px 40px;
  }

  .contact-info-text p {
    font-size: 13px;
  }

  .contact-info-header h2 {
    font-size: 14px;
  }
}

@media screen and (max-width: 768px) {
  .contact-info-section {
    padding: 60px 20px;
  }

  .contact-info-container {
    grid-template-columns: 1fr;
    border-radius: 40px;
  }

  .contact-info-header {
    border-right: none;
    border-bottom: 2px solid #000;
    padding: 20px;
  }

  .contact-info-content {
    padding: 30px 25px;
  }

  .contact-info-text p {
    font-size: 13px;
  }
}

@media screen and (max-width: 480px) {
  .contact-info-section {
    padding: 40px 15px;
  }

  .contact-info-container {
    border-radius: 30px;
  }

  .contact-info-content {
    padding: 25px 20px;
  }

  .contact-info-text p {
    font-size: 12px;
  }

  .contact-info-header h2 {
    font-size: 13px;
  }
}

/* Hero Section */
.contact-hero {
  position: relative;
  height: 85vh;
  background-image: url("../../imgs/contact.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.contact-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 0 40px;
}

.contact-hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 1px;
  line-height: 1.2;
}

.contact-hero-subtitle {
  font-family: "Crimson Text", serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  opacity: 0.95;
}

/* Contact Section */
.contact-section {
  background-color: #f5f5f5;
  padding: 100px 60px;
}

.contact-content-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: start;
}

/* Left Column - Contact Information */
.contact-info-column {
  padding-right: 40px;
}

.contact-main-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 40px;
  color: #1a1a1a;
  line-height: 1.2;
}

.contact-details-text {
  font-family: "Crimson Text", serif;
  font-size: 18px;
  line-height: 1.8;
  color: #333;
}

.contact-details-text p {
  margin-bottom: 16px;
}

.contact-phone,
.contact-email-text,
.contact-social {
  color: #333;
}

.contact-email-link,
.contact-social-link {
  color: #8a8175;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-email-link:hover,
.contact-social-link:hover {
  color: #6a6560;
  text-decoration: underline;
}

/* Right Column - Contact Form */
.contact-form-column {
  background-color: white;
  padding: 50px 60px;
  border-radius: 2px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.contact-form {
  width: 100%;
}

/* Form Rows */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

/* Form Groups */
.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-group label {
  display: block;
  font-family: "Crimson Text", serif;
  font-size: 14px;
  color: #1a1a1a;
  margin-bottom: 8px;
  font-weight: 400;
}

.form-group label .required {
  color: #666;
  font-size: 13px;
}

/* Input Fields */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: "Crimson Text", serif;
  font-size: 14px;
  color: #1a1a1a;
  background-color: #ffffff;
  border: 1px solid #d0cbc2;
  border-radius: 0;
  transition: all 0.3s ease;
  box-sizing: border-box;
  outline: none;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
  border-color: #8a8580;
  background-color: #fafaf9;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: "Crimson Text", serif;
  line-height: 1.6;
}

/* Submit Button */
.submit-button {
  padding: 14px 48px;
  font-family: "Crimson Text", serif;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background-color: #1a1a1a;
  border: 2px solid #1a1a1a;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 12px;
}

.submit-button:hover {
  background-color: transparent;
  color: #1a1a1a;
  border-color: #1a1a1a;
}

.submit-button:active {
  transform: scale(0.98);
}

.submit-button:disabled {
  background-color: #ccc;
  border-color: #ccc;
  color: #666;
  cursor: not-allowed;
  transform: none;
}

/* Error States */
.form-group.error input,
.form-group.error textarea {
  border-color: #d32f2f;
  background-color: #fff5f5;
}

.error-message {
  display: block;
  font-family: "Crimson Text", serif;
  font-size: 13px;
  color: #d32f2f;
  margin-top: 6px;
  font-weight: 400;
}

/* Success Message */
.success-message {
  padding: 16px 24px;
  background-color: #e8f5e9;
  border: 1px solid #66bb6a;
  border-radius: 4px;
  color: #2e7d32;
  font-family: "Crimson Text", serif;
  font-size: 14px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.success-message.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
  .contact-hero-title {
    font-size: 52px;
  }

  .contact-hero-subtitle {
    font-size: 18px;
  }

  .contact-content-wrapper {
    gap: 60px;
  }

  .contact-main-title {
    font-size: 40px;
  }
}

@media screen and (max-width: 1024px) {
  .contact-hero {
    height: 70vh;
  }

  .contact-hero-title {
    font-size: 44px;
  }

  .contact-section {
    padding: 80px 40px;
  }

  .contact-content-wrapper {
    gap: 50px;
  }

  .contact-main-title {
    font-size: 36px;
  }

  .contact-details-text {
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  .contact-hero {
    height: 60vh;
  }

  .contact-hero-title {
    font-size: 36px;
  }

  .contact-hero-subtitle {
    font-size: 16px;
  }

  .contact-section {
    padding: 60px 30px;
  }

  .contact-content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info-column {
    padding-right: 0;
  }

  .contact-main-title {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .contact-form-column {
    padding: 40px 30px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .submit-button {
    width: 100%;
    padding: 14px 24px;
  }
}

@media screen and (max-width: 480px) {
  .contact-hero {
    height: 50vh;
  }

  .contact-hero-title {
    font-size: 28px;
  }

  .contact-hero-subtitle {
    font-size: 14px;
  }

  .contact-section {
    padding: 40px 20px;
  }

  .contact-main-title {
    font-size: 26px;
    letter-spacing: 1px;
  }

  .contact-details-text {
    font-size: 14px;
  }

  .contact-form-column {
    padding: 30px 20px;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .form-group label {
    font-size: 13px;
  }

  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group textarea {
    padding: 10px 14px;
    font-size: 13px;
  }

  .submit-button {
    font-size: 14px;
    padding: 12px 24px;
  }
}

/* Animation for page load */
.contact-info-column {
  animation: fadeInUp 0.8s ease-out;
}

.contact-form-column {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus visible for accessibility */
.form-group input:focus-visible,
.form-group textarea:focus-visible,
.submit-button:focus-visible {
  outline: 2px solid #8a8580;
  outline-offset: 2px;
}
