/* ====================================
   CONTACT PAGE STYLES - MODERN REDESIGN
   ==================================== */

/* Hero Section */
.contact-hero-section {
  background: linear-gradient(135deg, #0066CC 0%, #004499 100%);
  color: #ffffff;
  padding: 80px 20px 60px;
  text-align: center;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.contact-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.contact-hero-title {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 16px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.2;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.5px;
}

.contact-hero-subtitle {
  font-size: 18px;
  margin: 0;
  opacity: 0.95;
  font-weight: 300;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

/* Main Contact Section */
.contact-main-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.contact-main-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 102, 204, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 102, 204, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: stretch;
  max-width: 1800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Left Side - Image */
.contact-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 600px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.contact-image-wrapper::before {
  display: none;
}

.contact-image {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  box-shadow: none;
  transition: transform 0.3s ease;
}

/* Desktop image - show on PC, hide on mobile */
.contact-image-desktop {
  display: block;
}

.contact-image-mobile {
  display: none;
}

.contact-image:hover {
  transform: translateY(-5px);
}

/* Right Side - Form */
.contact-form-wrapper {
  background: #ffffff;
  padding: 28px 35px;
  border-radius: 16px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.08),
    0 5px 15px rgba(0, 0, 0, 0.04);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0066CC 0%, #004499 100%);
  border-radius: 20px 20px 0 0;
}

.contact-form-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.contact-form-description {
  font-size: 13px;
  line-height: 1.5;
  color: #666;
  margin: 0 0 20px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Form Styles */
.contact-form {
  width: 100%;
}

/* Standard form row - uses grid for equal columns (Voornaam/Achternaam, Postcode/Woonplaats) */
.contact-form .form-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px;
  margin-bottom: 14px;
}

/* Special row for address + house number - uses flex with different sizes */
.contact-form .form-row-split {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 14px;
}

.contact-form .form-group {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
}

.contact-form .form-group-half {
  margin-bottom: 0;
}

.contact-form .form-group-large {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.contact-form .form-group-small {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  flex: 0 0 130px;
  min-width: 0;
  max-width: 130px;
}

/* Reset margin for all form groups inside rows */
.contact-form .form-row .form-group,
.contact-form .form-row-split .form-group {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}

.contact-form .form-group:last-of-type {
  margin-bottom: 0;
}

.contact-form .form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #333;
  margin: 0 0 5px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.contact-form .form-label .required {
  color: #e63946;
  font-weight: 700;
  margin-left: 2px;
}

.contact-form .form-input,
.contact-form .form-textarea {
  width: 100%;
  padding: 9px 12px;
  border: 2px solid #e8e8e8;
  border-radius: 8px;
  font-size: 13px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1a1a1a;
  background-color: #fafafa;
  transition: all 0.3s ease;
  box-sizing: border-box;
  font-weight: 400;
}

.contact-form .form-input:hover,
.contact-form .form-textarea:hover {
  border-color: #d0d0d0;
  background-color: #ffffff;
}

.contact-form .form-input:focus,
.contact-form .form-textarea:focus {
  outline: none;
  border-color: #0066CC;
  background-color: #ffffff;
  box-shadow: 
    0 0 0 4px rgba(0, 102, 204, 0.08),
    0 2px 8px rgba(0, 102, 204, 0.05);
}

.contact-form .form-textarea {
  resize: vertical;
  min-height: 80px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

.contact-form .form-submit-wrapper {
  margin-top: 16px;
  display: flex;
  justify-content: flex-start;
}

.contact-form .form-submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.contact-form .form-submit-button:hover {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

.contact-form .form-submit-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.contact-form .submit-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Contact Info Section */
.contact-info-section {
  padding: 80px 20px;
  background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #ffffff;
  padding: 35px 30px;
  border-radius: 16px;
  box-shadow: 
    0 8px 30px rgba(0, 0, 0, 0.06),
    0 2px 8px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.1),
    0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0066CC 0%, #004499 100%);
  border-radius: 14px;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.25);
}

.contact-info-icon svg {
  width: 26px;
  height: 26px;
}

.contact-info-text {
  flex: 1;
}

.contact-info-value {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 6px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.contact-info-label {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Map Section */
.contact-map-section {
  width: 100%;
  padding: 0;
  position: relative;
}

.map-wrapper {
  width: 100%;
  position: relative;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.08);
}

.contact-map {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
  filter: grayscale(0.3);
  transition: filter 0.3s ease;
}

.contact-map:hover {
  filter: grayscale(0);
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
  .contact-content {
    gap: 50px;
  }
  
  .contact-form-wrapper {
    padding: 45px 40px;
  }
}

@media screen and (max-width: 1024px) {
  .contact-hero-section {
    padding: 70px 20px 50px;
  }
  
  .contact-hero-title {
    font-size: 42px;
    margin-bottom: 14px;
  }
  
  .contact-hero-subtitle {
    font-size: 17px;
  }
  
  .contact-main-section {
    padding: 60px 20px;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
  }
  
  .contact-image-wrapper {
    order: 2;
    max-width: 600px;
    margin: 0 auto;
    min-height: auto;
    height: auto;
  }
  
  /* Mobile image - show on mobile, hide desktop */
  .contact-image-desktop {
    display: none !important;
  }
  
  .contact-image-mobile {
    display: block !important;
    height: auto;
    min-height: auto;
  }
  
  .contact-form-wrapper {
    order: 1;
  }
  
  .contact-form-title {
    font-size: 28px;
  }
  
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media screen and (max-width: 768px) {
  .contact-hero-section {
    padding: 60px 15px 40px;
  }
  
  .contact-hero-title {
    font-size: 36px;
    margin-bottom: 12px;
  }
  
  .contact-hero-subtitle {
    font-size: 16px;
  }
  
  .contact-main-section {
    padding: 50px 15px;
  }
  
  .contact-content {
    gap: 40px;
  }
  
  .contact-form-wrapper {
    padding: 40px 30px;
    border-radius: 16px;
  }
  
  .contact-form-title {
    font-size: 26px;
    margin-bottom: 12px;
  }
  
  .contact-form-description {
    font-size: 14px;
    margin-bottom: 30px;
  }
  
  /* Keep grid/flex layout on all screen sizes - no single column */
  .contact-form .form-row {
    grid-template-columns: 1fr 1fr !important;
    gap: 15px;
    margin-bottom: 20px;
  }
  
  .contact-form .form-row-split {
    display: flex !important;
    gap: 15px;
    align-items: flex-end;
    margin-bottom: 20px;
  }
  
  .contact-form .form-group-half,
  .contact-form .form-group-large,
  .contact-form .form-group-small {
    margin-bottom: 0;
  }
  
  .contact-form .form-group-small {
    flex: 0 0 110px;
    max-width: 110px;
  }
  
  .contact-info-section {
    padding: 60px 15px;
  }
  
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .contact-info-item {
    padding: 30px 25px;
  }
  
  .contact-map {
    height: 350px;
  }
}

@media screen and (max-width: 480px) {
  .contact-hero-section {
    padding: 50px 10px 35px;
  }
  
  .contact-hero-title {
    font-size: 28px;
    margin-bottom: 10px;
  }
  
  .contact-hero-subtitle {
    font-size: 15px;
  }
  
  .contact-main-section {
    padding: 40px 10px;
  }
  
  .contact-form-wrapper {
    padding: 35px 25px;
    border-radius: 14px;
  }
  
  .contact-form-title {
    font-size: 24px;
    margin-bottom: 10px;
  }
  
  .contact-form-description {
    font-size: 13px;
    margin-bottom: 25px;
  }
  
  /* Keep grid/flex layout on all screen sizes - smaller gaps only */
  .contact-form .form-row {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px;
    margin-bottom: 18px;
  }
  
  .contact-form .form-row-split {
    display: flex !important;
    gap: 12px;
    align-items: flex-end;
    margin-bottom: 18px;
  }
  
  .contact-form .form-group {
    margin-bottom: 18px;
  }
  
  .contact-form .form-group-half,
  .contact-form .form-group-large,
  .contact-form .form-group-small {
    margin-bottom: 0;
  }
  
  .contact-form .form-group-small {
    flex: 0 0 100px;
    max-width: 100px;
  }
  
  .contact-form .form-label {
    font-size: 12px;
    margin-bottom: 7px;
  }
  
  .contact-form .form-input,
  .contact-form .form-textarea {
    padding: 12px 14px;
    font-size: 14px;
    border-radius: 8px;
  }
  
  .contact-form .form-textarea {
    min-height: 110px;
  }
  
  .contact-form .form-submit-wrapper {
    margin-top: 25px;
  }
  
  .contact-form .form-submit-button {
    padding: 14px 32px;
    font-size: 13px;
    width: 100%;
    border-radius: 8px;
  }
  
  .contact-info-section {
    padding: 50px 10px;
  }
  
  .contact-info-item {
    padding: 25px 20px;
    gap: 15px;
  }
  
  .contact-info-icon {
    width: 48px;
    height: 48px;
  }
  
  .contact-info-icon svg {
    width: 22px;
    height: 22px;
  }
  
  .contact-info-value {
    font-size: 16px;
  }
  
  .contact-info-label {
    font-size: 13px;
  }
  
  .contact-map {
    height: 300px;
  }
}
