/* Enhanced contact.css with modern styling based on automation/applications patterns */

/* Root variables for consistent theming */
:root {
  --primary-color: #4361ee;
  --primary-light: #4895ef;
  --primary-lighter: #4cc9f0;
  --accent-color: #8021e0;
  --dark-bg: #111111;
  --card-bg: rgba(25, 25, 25, 0.7);
  --text-light: #ffffff;
  --text-muted: #a0a0a0;
  --success-color: #2ecc71;
  --warning-color: #f39c12;
  --danger-color: #e74c3c;
}

body {
  background-color: var(--dark-bg);
  color: var(--text-light);
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Hero section with enhanced styling */
.contact-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)), url('/assets/img/delivery.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  position: relative;
  display: flex;
  align-items: center;
}

@media only screen and (min-width: 768px) {
  .contact-hero {
    background-attachment: fixed !important;
  }
}

/* Featured tag styling */
.featured-tag {
  display: inline-block;
  background: rgba(67, 97, 238, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 0.8rem;
  color: var(--primary-lighter);
  border: 1px solid rgba(67, 97, 238, 0.3);
}

.featured-tag i {
  margin-right: 0.5rem;
  color: var(--primary-lighter);
}

/* Gradient text styling */
.gradient-text {
  background: linear-gradient(90deg, var(--primary-light), var(--primary-lighter));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  /* color: var(--text-muted); */
  margin-bottom: 2rem;
  line-height: 1.8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact methods section */
.contact-methods-section {
  padding: 3rem 0;
}

.contact-method-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-method-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(67, 97, 238, 0.2);
}

.contact-method-card.active {
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.15) 0%, rgba(76, 201, 240, 0.1) 100%);
  border-color: rgba(67, 97, 238, 0.3);
}

.method-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: white;
}

.method-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.method-description {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.method-link {
  display: inline-block;
  color: var(--primary-lighter);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.method-link:hover {
  color: var(--primary-light);
  transform: translateY(-3px);
}

/* Contact form section */
.contact-form-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.08) 0%, rgba(76, 201, 240, 0.05) 100%);
}

.contact-card-container {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.contact-card-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.contact-sidebar {
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.2) 0%, rgba(128, 33, 224, 0.2) 100%);
  height: 100%;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.contact-sidebar::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(67, 97, 238, 0.3) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
  z-index: 0;
}

.contact-sidebar::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(128, 33, 224, 0.2) 0%, transparent 70%);
  bottom: -75px;
  left: -75px;
  border-radius: 50%;
  z-index: 0;
}

.sidebar-content {
  position: relative;
  z-index: 1;
}

.sidebar-content h3 {
  color: var(--text-light);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
}

.service-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--text-light);
  font-weight: 500;
  transition: all 0.3s ease;
}

.service-list li:hover {
  transform: translateX(5px);
}

.service-list li i {
  color: var(--primary-lighter);
  margin-right: 1rem;
  font-size: 1.2rem;
}

.testimonial {
  background: rgba(15, 15, 15, 0.6);
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
}

.quote-mark {
  position: absolute;
  top: -15px;
  left: 15px;
  color: var(--primary-lighter);
  font-size: 2rem;
}

.quote-text {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.quote-author {
  color: var(--primary-lighter);
  font-weight: 600;
  text-align: right;
}

.contact-form-wrapper {
  padding: 3rem;
  background: var(--dark-bg);
}

.contact-form-wrapper h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  font-weight: 700;
}

.form-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

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

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

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

.form-col {
  flex: 1;
}

.form-control {
  width: 100%;
  padding: 1rem 1.2rem;
  background: rgba(30, 30, 30, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-light);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

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

.form-submit {
  margin-top: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  color: white;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.4);
}

.btn-large {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
}

.btn i {
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
}

.btn:hover i {
  transform: translateX(3px);
}

/* Locations section */
.locations-section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-lighter));
  margin: 1rem auto;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 1rem auto 0;
  line-height: 1.6;
}

.location-card {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.location-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(67, 97, 238, 0.2);
}

.location-header {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  padding: 1.5rem;
  color: white;
  text-align: center;
}

.location-header h3 {
  font-size: 1.5rem;
  margin: 0.5rem 0 0;
  font-weight: 700;
}

.location-header i {
  font-size: 2rem;
}

.location-body {
  padding: 1.5rem;
}

.location-body address {
  font-style: normal;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.location-phone, .location-hours {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.location-phone i, .location-hours i {
  color: var(--primary-lighter);
  margin-right: 0.8rem;
  width: 20px;
  text-align: center;
}

/* Connect section */
.connect-section {
  padding: 4rem 0;
}

.connect-card {
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.15) 0%, rgba(128, 33, 224, 0.1) 100%);
  border-radius: 16px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(67, 97, 238, 0.2);
}

.connect-card::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(67, 97, 238, 0.3) 0%, transparent 70%);
  top: -150px;
  right: -150px;
  border-radius: 50%;
  z-index: 0;
}

.connect-card::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(128, 33, 224, 0.2) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  border-radius: 50%;
  z-index: 0;
}

.connect-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  position: relative;
  z-index: 1;
}

.connect-text {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 0;
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.connect-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.connect-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(15, 15, 15, 0.7);
  border-radius: 12px;
  padding: 1rem;
  min-width: 100px;
  text-align: center;
  text-decoration: none;
  color: var(--text-light);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.connect-link:hover {
  transform: translateY(-5px);
  background: rgba(67, 97, 238, 0.15);
  color: var(--primary-lighter);
  border-color: rgba(67, 97, 238, 0.3);
}

.connect-link i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-lighter);
}

/* Back to top button */
#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  border: none;
  outline: none;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  cursor: pointer;
  padding: 1rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

#myBtn:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-lighter));
  transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .gradient-text {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .connect-title {
    font-size: 2rem;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .connect-links {
    margin-top: 2rem;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .gradient-text {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .contact-hero {
    min-height: auto;
    padding: 6rem 0;
  }
  
  .contact-form-wrapper {
    padding: 1.5rem;
  }
  
  .contact-form-wrapper h2 {
    font-size: 1.8rem;
  }
  
  .service-list li {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
}