/* contact.css - Contact page specific styles */

/* --- Simplified Background --- */
body {
  background: #f8f9fa;
  position: relative;
}

[data-theme="dark"] body {
  background: #121212;
}

/* Content wrapper with semi-transparent background */
.content-wrapper {
  background: #ffffff;
  min-height: 100vh;
}

[data-theme="dark"] .content-wrapper {
  background: #1e1e1e;
}

/* Section backgrounds */
.section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 2rem;
  margin: 1.5rem auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 1200px;
}

[data-theme="dark"] .section {
  background: rgba(45, 45, 45, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up {
  transform: translateY(30px);
}

.fade-in-left {
  transform: translateX(-30px);
}

.fade-in-right {
  transform: translateX(30px);
}

.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Form Styles */
.contact-form {
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-field {
  flex: 1 1 calc(50% - 1.5rem);
  min-width: 250px;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color3);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color1);
  box-shadow: 0 0 0 3px rgba(82, 166, 117, 0.2);
}

/* Button */
.submit-btn {
  background: var(--color1);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  margin: 2rem auto 0;
}

.submit-btn:hover {
  background: var(--color3);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Success Message */
.success-message {
  display: none;
  background: #d4edda;
  color: #155724;
  padding: 1.5rem;
  border-radius: 6px;
  margin: 2rem 0;
  text-align: center;
  border-left: 4px solid #28a745;
}

[data-theme="dark"] .success-message {
  background: rgba(212, 237, 218, 0.2);
  color: #8fd19e;
}

/* Contact Info Styles */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-form-container, .contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info {
  background: rgba(178, 200, 231, 0.15);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .contact-info {
  background: rgba(178, 200, 231, 0.1);
}

.contact-info h3 {
  color: var(--color3);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color1);
}

.info-item {
  display: flex;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.info-icon {
  min-width: 40px;
  height: 40px;
  background: var(--color1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: white;
}

.info-content h4 {
  margin-bottom: 0.3rem;
  color: var(--color3);
}

.info-content p {
  margin: 0;
  color: var(--text-dark);
}

[data-theme="dark"] .info-content p {
  color: var(--text-light);
}

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

.hours-list li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed rgba(0,0,0,0.1);
}

[data-theme="dark"] .hours-list li {
  border-bottom: 1px dashed rgba(255,255,255,0.1);
}

.hours-list .day {
  font-weight: 500;
}

.hours-list .time {
  color: var(--color1);
}

/* Map container */
.map-container {
  margin-top: 2rem;
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .form-field {
    flex: 1 1 100%;
  }
  
  .contact-container {
    flex-direction: column;
  }
}

@media (max-width: 600px) { 
  .section {
    padding: 1.5rem;
  }
  
  .contact-info {
    padding: 1.5rem;
  }
}