/* ===============================================
   CONTACT PAGE - REDESIGNED
   =============================================== */

/* Note: Breadcrumb and hero-banner styles are handled by the main CSS */

/* Global box-sizing fix for all elements */
* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

.container {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Prevent any element from causing horizontal scroll */
img, svg, video, canvas, audio, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

/* ===== CONTACT INFO CARDS SECTION ===== */
.contact-info-section {
  padding: 40px 0 40px;
  overflow-x: hidden;
}

.contact-info-section .container {
  padding: 0 20px;
}

.info-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  max-width: 100%;
}

.info-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  width: 100%;
  overflow: hidden;
}

.info-card h3 {
  font-family: "SangBleuMedium", serif;
  font-size: 20px;
  font-weight: 500;
  color: #1f2225;
  margin-bottom: 20px;
}

.info-card p {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  color: #6b6661;
  line-height: 1.6;
}

/* ===== CONTACT FORM SECTION ===== */
.contact-form-section {
  padding: 40px 0 80px;
  background: transparent;
  overflow-x: hidden;
  width: 100%;
}

.form-container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
  width: 100%;
  box-sizing: border-box;
}

.form-content {
  background: #fff;
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-header h2 {
  font-family: "SangBleuRegular", serif;
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 400;
  color: #1f2225;
  margin-bottom: 12px;
}

.form-header p {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  color: #6b6661;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #1f2225;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid #e0ddd9;
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  color: #1f2225;
  background: #fff;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6b3305;
  box-shadow: 0 0 0 3px rgba(107, 51, 5, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Placeholder text styling */
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b8b3ad;
  opacity: 1;
  font-style: italic;
}

/* Custom select dropdown styling */
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b6661' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b3305' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
}

/* File upload styling */
.file-upload-area {
  position: relative;
  width: 100%;
}

.file-input-hidden {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

.file-upload-label {
  display: block;
  padding: 20px 20px;
  background-color: #F3F3F3;
  color: #707070;
  text-align: center;
  border-radius: 12px;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px dashed #d0d0d0;
}

.file-upload-label:hover {
  background-color: #e8e8e8;
  border-color: #b0b0b0;
}

.file-upload-label.has-file {
  background-color: #f9f7f6;
  color: #6b3305;
  border-color: #6b3305;
  border-style: solid;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid #e0ddd9;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.checkbox-group label {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #6b6661;
}

.checkbox-group a {
  color: #6b3305;
  text-decoration: none;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f0ede9;
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list span {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #6b6661;
}

.hours-list strong {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1f2225;
}

.email-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(174, 115, 78, 0.05) 0%, rgba(107, 51, 5, 0.05) 100%);
  border-radius: 12px;
}

.email-contact svg {
  flex-shrink: 0;
}

.email-link {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #6b3305;
  text-decoration: none;
  transition: all 0.3s ease;
}

.email-link:hover {
  color: #ae734e;
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(174, 115, 78, 0.1) 0%, rgba(107, 51, 5, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: linear-gradient(135deg, #ae734e 0%, #6b3305 100%);
}

.social-links a:hover svg {
  stroke: #fff;
}

.social-links svg {
  width: 20px;
  height: 20px;
  stroke: #6b3305;
  transition: stroke 0.3s ease;
}

.social-links-vertical {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  width: 100%;
}

.social-links-vertical a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(174, 115, 78, 0.05) 0%, rgba(107, 51, 5, 0.05) 100%);
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.social-links-vertical a:hover {
  background: linear-gradient(135deg, rgba(174, 115, 78, 0.1) 0%, rgba(107, 51, 5, 0.1) 100%);
  transform: translateX(4px);
}

.social-links-vertical svg {
  width: 20px;
  height: 20px;
  stroke: #6b3305;
  flex-shrink: 0;
}

.social-links-vertical span {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #6b3305;
}


/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1440px) {
  .form-container-wide {
    padding: 0 60px;
  }
}

/* Tablet responsive styles */
@media (max-width: 768px) {
  .contact-info-section .container {
    padding: 0 16px;
  }
  
  .info-cards-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .info-card {
    padding: 24px;
  }
  
  .form-container-wide {
    padding: 0 20px;
  }
  
  .form-content {
    padding: 32px 24px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Mobile responsive styles */
@media (max-width: 600px) {
  body {
    overflow-x: hidden;
  }
  
  .contact-info-section {
    padding: 30px 0;
  }
  
  .contact-info-section .container {
    padding: 0 16px;
  }
  
  .info-cards-wrapper {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0;
  }
  
  .info-card {
    padding: 20px;
    border-radius: 16px;
  }
  
  .info-card h3 {
    font-size: 18px;
  }
  
  .info-card p {
    font-size: 14px;
  }
  
  .contact-form-section {
    padding: 30px 0 60px;
  }
  
  .form-container-wide {
    padding: 0 16px;
    max-width: 100%;
  }
  
  .form-content {
    padding: 24px 16px;
    border-radius: 16px;
  }
  
  .form-header h2 {
    font-size: 24px;
  }
  
  .form-header p {
    font-size: 14px;
  }
  
  .contact-form {
    width: 100%;
    box-sizing: border-box;
  }
  
  .form-group {
    width: 100%;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px; /* Prevent zoom on iOS */
  }
  
  .form-grid {
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .form-footer {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  
  .form-footer .btn {
    width: 100%;
    justify-content: center;
  }
  
  .checkbox-group {
    align-items: flex-start;
  }
  
  .checkbox-group label {
    font-size: 12px;
  }
  
  .email-contact {
    padding: 12px;
  }
  
  .email-link {
    font-size: 14px;
    word-break: break-word;
  }
  
  .social-links-vertical a {
    padding: 10px 12px;
  }
  
  .social-links-vertical span {
    font-size: 14px;
  }
  
  .hours-list span,
  .hours-list strong {
    font-size: 13px;
  }
}

/* Small screens and below */
@media screen and (max-width: 480px) {
  .contact-info-section {
    padding: 20px 0;
  }
  
  .info-card {
    padding: 16px;
  }
  
  .info-card h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }
  
  .contact-form-section {
    padding: 20px 0 40px;
  }
  
  .form-container-wide {
    padding: 0 12px;
  }
  
  .form-content {
    padding: 20px 12px;
  }
  
  .form-header {
    margin-bottom: 24px;
  }
  
  .form-header h2 {
    font-size: 22px;
  }
  
  .gradient-text {
    display: inline-block;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px;
    font-size: 16px; /* Prevent zoom on iOS */
  }
  
  .checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
  }
  
  .btn-lg {
    padding: 10px 16px;
    font-size: 14px;
  }
}