/* assets/styles/app.css */

/* Variables de couleur */
:root {
  --primary-color: #3a5a78;
  --secondary-color: #e8a87c;
  --accent-color: #4a6b8a;
  --light-bg: #f8f9fa;
  --darker-bg: #f1f3f5;
  --text-dark: #333;
  --text-light: #f8f9fa;
  --white: #ffffff;
  --black: #000000;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Base styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--light-bg);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary-color);
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 4rem 0;
}

/* Typography */
.section-title {
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--secondary-color);
}

.lead {
  font-size: 1.1rem;
  font-weight: 300;
}

/* Buttons */
.btn {
  border-radius: 4px;
  font-weight: 500;
  transition: var(--transition);
}

.btn-custom {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 0.5rem 1.5rem;
}

.btn-custom:hover {
  background-color: var(--accent-color);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-custom {
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-custom:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Cards */
.card-custom {
  background-color: var(--white);
  border: none;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.card-custom:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Header */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.logo-text {
  color: var(--primary-color);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
}

.nav-link:hover {
  color: var(--secondary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero section */
.hero {
  height: 100vh;
  position: relative;
  color: var(--white);
  display: flex;
  align-items: center;
  text-align: center;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(58, 90, 120, 0.2), rgba(74, 107, 138, 0.4));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Carousel */
.carousel-item {
  height: 500px;
}

.carousel-caption {
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(58, 90, 120, 0.8);
  padding: 1rem;
  border-radius: 0;
}

.carousel-control-prev, .carousel-control-next {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

/* Testimonials */
.testimonial-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.testimonial-card blockquote {
  margin-bottom: 0;
}

.testimonial-card p {
  font-style: italic;
  color: var(--text-dark);
}

.testimonial-card footer {
  color: var(--primary-color);
  font-size: 0.9rem;
}

/* Team */
.team-member {
  transition: var(--transition);
  text-align: center;
  margin-bottom: 2rem;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  border: 3px solid var(--secondary-color);
  border-radius: 50%;
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.team-member h5 {
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.team-member p {
  color: var(--secondary-color);
  margin-bottom: 0;
}

/* FAQ */
.faq-item {
  margin-bottom: 1rem;
  border-radius: 4px;
  overflow: hidden;
}

.accordion-button {
  background-color: var(--white);
  color: var(--primary-color);
  padding: 1rem;
  border-radius: 4px !important;
}

.accordion-button:not(.collapsed) {
  background-color: var(--darker-bg);
  color: var(--primary-color);
}

.accordion-body {
  background-color: var(--darker-bg);
  padding: 1.25rem;
}

/* Contact */
.contact-card {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 2.5rem;
  border-radius: 8px;
  height: 100%;
}

.contact-info {
  margin-bottom: 1.5rem;
}

.contact-info i {
  color: var(--secondary-color);
  margin-right: 1rem;
  font-size: 1.25rem;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.footer a:hover {
  color: var(--secondary-color);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  padding: 0.25rem 0;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.social-icons {
  margin-top: 1rem;
}

.social-icons a {
  color: var(--white);
  font-size: 1.25rem;
  margin: 0 0.5rem;
  transition: var(--transition);
}

.social-icons a:hover {
  color: var(--secondary-color);
  transform: translateY(-3px);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

/* Utility classes */
.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
}

.shadow-custom {
  box-shadow: var(--shadow-sm);
}

.rounded-custom {
  border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.5rem;
  }

  .nav-link {
    padding: 0.5rem 0.75rem;
  }

  .team-member img {
    width: 120px;
    height: 120px;
  }

  section {
    padding: 2rem 0;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 60vh !important;
    background-position: center top !important;
  }
}
