/* Contact Page Styles */

/* Hero Section - Same as Home */
.hero {
  position: relative;
  min-height: 70vh; /* Reduced height */
  display: flex;
  align-items: end;
  justify-content: center;
  overflow: hidden;
  margin-top: -120px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(34, 34, 32, 0.85) 0%,
    rgba(209, 11, 21, 0.3) 100%
  );
  z-index: 2;
}

.hero-content-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1400px;
  padding: var(--spacing-xl) var(--spacing-lg);
  margin: 0 auto;
}

.hero-content {
  max-width: 800px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  line-height: 1.1;
  color: white;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--spacing-lg);
  line-height: 1.7;
  font-weight: 300;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-actions {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

/* Contact Info Section */
.contact-info {
  background-color: var(--footer-bg);
  h2.section-title {
    margin-bottom: var(--spacing-lg);
    color: white !important;
  }
  div.section-subtitle {
    color: white !important;
    margin-bottom: var(--spacing-lg);
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
  width: 100%;
}

.contact-card {
  text-align: center;
  padding: var(--spacing-sm);
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(209, 11, 21, 0.1);
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(209, 11, 21, 0.2);
  border-color: transparent;
}

[data-theme="dark"] .contact-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
}

.contact-card h3 {
  font-size: 1.375rem;
  margin-bottom: var(--spacing-sm);
}

.contact-card p {
  color: var(--text-color);
  line-height: 1.7;
}

[data-theme="dark"] .contact-card {
  h3 {
    color: white;
  }
  p {
    color: rgba(255, 255, 255, 0.7);
  }
}

/* Contact Form Section */
.contact-form-section {
  background-color: var(--bg-color);
  h2.section-title {
    margin-bottom: var(--spacing-sm);
    color: var(--text-color) !important;
  }
  div.section-subtitle {
    color: var(--secondary) !important;
    margin-bottom: var(--spacing-lg);
  }
}

.contact-form {
  width: 100%;
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background-color: var(--card-bg);
  color: var(--text-color);
  transition: all var(--transition);
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(209, 11, 21, 0.1);
  outline: none;
}

.form-check {
  display: flex;
  align-items: center;
  justify-content: start;
  margin-bottom: var(--spacing-md);
  input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 24px;
    height: 24px;
  }
}

.form-check-input {
  margin-right: 0.5rem;
}

.form-check-label {
  color: var(--text-color);
  font-size: 0.9375rem;
}

.form-check-label a {
  color: var(--primary);
  text-decoration: underline;
}

.form-actions {
  margin-top: var(--spacing-md);
}

/* Map Section */
.map-section {
  background-color: var(--footer-bg);
  h2.section-title {
    margin-bottom: var(--spacing-sm);
    color: white !important;
  }
  div.section-subtitle {
    color: white !important;
    margin-bottom: var(--spacing-lg);
  }
}

.map-container {
  width: 100%;
  max-width: 1200px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
}

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

.social-links-large a {
  font-size: 2rem;
  color: #fff8f0; /* Light color */
  transition: color var(--transition);
}

.social-links-large a:hover {
  color: #222220;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1199px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 4rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 767px) {
  .hero {
    min-height: 60vh;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .map-container iframe {
    height: 350px;
  }
}

@media (max-width: 575px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

.contact-map-info {
  padding: var(--spacing-xl) var(--spacing-lg);
}

.contact-map-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-map-info ul li {
  background-color: var(--card-bg);
  padding: var(--spacing-sm) var(--spacing-sm);
  border-radius: var(--border-radius);
  margin-bottom: var(--spacing-sm);
  font-size: 1.125rem;
  color: var(--text-color);
}

.contact-map-info ul li i {
  margin-right: 10px;
  color: var(--primary);
  font-size: 1.2rem;
}
