/* Import des variables globales */
@import url('variables.css');

/* Styles généraux de base */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--secondary);
  background-color: #f8f9fa;
}

/* Hero Section */
.contact-hero {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/img/young-uber-driver-car-interior.jpg');
  background-size: cover;
  background-position: center;
  padding: 6rem 2rem;
  margin-bottom: 0;
  text-align: center;
  color: var(--light);
  overflow: hidden;
}

.contact-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
}

.contact-hero-content {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  z-index: 2;
}

.contact-hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-hero-content h1 span {
  color: var(--primary);
}

.contact-hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Main Contact Section */
.contact-main {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.contact-container {
  width: 85%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Contact Info Wrapper */
.contact-info-wrapper {
  background-color: var(--light);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-heading {
  margin-bottom: 2rem;
  position: relative;
}

.contact-heading h2 {
  font-size: 2.2rem;
  color: var(--secondary);
  margin-bottom: 0.8rem;
}

.heading-underline {
  width: 80px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.contact-intro {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* Contact Methods */
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.contact-method-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eaeaea;
}

.contact-method-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-method-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--primary);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(255, 204, 0, 0.2);
}

.contact-method-content h3 {
  font-size: 1.3rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.contact-method-content p {
  color: #666;
  margin-bottom: 0.7rem;
}

.contact-link {
  text-decoration: none;
}

.contact-highlight {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
  transition: color 0.3s ease;
}

.contact-link:hover .contact-highlight {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Hours Section */
.hours-info {
  background-color: var(--secondary);
  padding: 2rem;
  border-radius: 10px;
  color: var(--light);
  margin-top: 2rem;
}

.hours-info h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hours-grid {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.8rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}

.hours-row:last-child {
  border-bottom: none;
}

.day {
  font-weight: 600;
}

.time {
  color: var(--primary);
  font-weight: 600;
}

.hours-note {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1rem;
}

.hours-note i {
  color: var(--primary);
  margin-top: 0.3rem;
}

/* Contact Reasons Section */
.contact-reasons-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.reasons-card {
  background-color: var(--light);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.reasons-card h3 {
  font-size: 1.8rem;
  color: var(--secondary);
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.reasons-card h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.reasons-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.reasons-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.reason-icon {
  width: 2.8rem;
  height: 2.8rem;
  background-color: rgba(255, 204, 0, 0.15);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.reason-content h4 {
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom: 0.4rem;
}

.reason-content p {
  color: #666;
  font-size: 0.95rem;
}

/* CTA Section */
.contact-cta {
  background: linear-gradient(45deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 4rem 2rem;
  text-align: center;
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.cta-content h2 {
  color: var(--secondary);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(34, 34, 34, 0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background-color: var(--secondary);
  color: var(--light);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  background-color: #333;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
    width: 90%;
  }
  
  .contact-hero-content h1 {
    font-size: 2.5rem;
  }
  
  .contact-hero {
    padding: 5rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .contact-hero-content h1 {
    font-size: 2rem;
  }
  
  .contact-hero-content p {
    font-size: 1.1rem;
  }
  
  .contact-info-wrapper, 
  .reasons-card {
    padding: 2rem;
  }
  
  .contact-method-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .contact-method-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.3rem;
  }
  
  .cta-button {
    width: 100%;
    justify-content: center;
  }
  
  .cta-content h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hours-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
  
  .contact-highlight {
    font-size: 1.2rem;
  }
  
  .contact-method-content h3 {
    font-size: 1.2rem;
  }
  
  .reasons-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
}
