/* Contact Page */
.contact-page {
  width: 100%;
  overflow-x: hidden;
}

/* Contact Header */
.contact-header {
  padding: calc(var(--navbar-height) + 2rem) 2rem 3rem;
  background: linear-gradient(135deg, #001f3f 0%, #003366 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.contact-header h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
  background: linear-gradient(45deg, #fff, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.contact-header p {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.95;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

/* Contact Content */
.contact-content {
  padding: var(--spacing-xl) 0;
  background-color: var(--color-white);
}

.contact-grid {
  display: block;
  max-width: 800px;
  margin: 0 auto;
}

.contact-grid.centered {
  display: flex;
  justify-content: center;
}

/* Enhancing aesthetic for single column */
.contact-info-wrapper {
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  border: none;
  width: 100%;
  border-top: 5px solid #d4af37;
  /* Aesthetic gold top accent instead of full border */
}

/* Contact Info Styles (Merged from ContactInfo.css) */
.contact-info-wrapper h2 {
  color: var(--color-charcoal);
  margin-bottom: var(--spacing-lg);
}

.contact-info-grid {
  margin-bottom: var(--spacing-lg);
}

.info-item {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--color-grey-medium);
}

.info-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: var(--color-grey-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.info-content h3 {
  color: var(--color-charcoal);
  margin-bottom: var(--spacing-xs);
  font-size: 1.125rem;
}

.info-content p {
  color: var(--color-charcoal-light);
  line-height: 1.6;
  margin: 0;
}

.social-section {
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--color-grey-medium);
}

.social-section h3 {
  color: var(--color-charcoal);
  margin-bottom: var(--spacing-md);
}

.social-section .contact-social-links {
  display: flex;
  gap: var(--spacing-sm);
}

.social-links-row {
  display: flex;
  gap: var(--spacing-sm);
}

.social-links-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-grey-light);
  color: var(--color-charcoal);
  transition: all var(--transition-fast);
}

.social-links-row a:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Address Link Styling */
.address-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.address-link:hover {
  color: #d4af37;
  text-decoration: underline;
}

/* Phone Link Styling */
.phone-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.phone-link:hover {
  color: #d4af37;
  text-decoration: underline;
}

/* Email Link Styling */
.email-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Map Section */
.map-section {
  height: 400px;
  background-color: var(--color-grey-light);
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--color-charcoal-light);
  text-align: center;
  padding: var(--spacing-md);
}

.map-placeholder p:first-child {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.map-note {
  font-size: 0.9rem;
  font-style: italic;
}

@media (max-width: 968px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 968px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
}

@media (max-width: 768px) {
  .contact-header {
    padding: calc(var(--spacing-md) + var(--navbar-height)) var(--spacing-sm) var(--spacing-md);
  }

  .contact-header h1 {
    font-size: clamp(1.75rem, 6vw, 2rem);
    margin-bottom: var(--spacing-xs);
    line-height: 1.2;
  }

  .contact-header p {
    font-size: clamp(0.95rem, 3vw, 1rem);
    line-height: 1.5;
    padding: 0 var(--spacing-sm);
  }

  .contact-content {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .contact-grid {
    gap: var(--spacing-md);
  }

  .contact-info-wrapper {
    padding: 2rem;
  }

  .map-section {
    height: 300px;
  }

  .map-placeholder {
    padding: var(--spacing-sm);
  }

  .map-placeholder p:first-child {
    font-size: 1.1rem;
  }

  .map-note {
    font-size: 0.85rem;
  }
}