:root {
    --primary-color: #2c3e50;
    --secondary-color: #3b5998;
    --accent-color: #e73600;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    margin: auto;
    padding-top: 55px;
}

/* Boutons flottants latéraux */
.floating-buttons {
    position: fixed;
    top: 40%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.floating-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #3b5998;
    color: white;
    text-decoration: none;
    font-size: 24px;
    border-radius: 5px 0 0 5px;
    transition: background 0.3s;
}

.floating-buttons a.whatsapp {
    background-color: #25D366;
}

.floating-buttons a.phone {
    background-color: var(--secondary-color);
}

.floating-buttons a:hover {
    filter: brightness(1.2);
}

/* Barre de navigation */
.navbar {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
    color: white !important;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
}


.section1 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 55px 0 55px;
    text-align: center;
}

.section1 h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.section1 p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 12px 30px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #c0392b;
    border-color: #c0392b;
    transform: translateY(-2px);
}

section {
    scroll-margin-top: 55px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.custom-img {
    max-width: 70%;
    width: 70%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* Carrousel */
img.uniform-size {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.carrousel {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: auto;
  overflow: hidden;
}
.slide {
  display: none;
  width: 100%;
}
.slide.active {
  display: block;
}
button.prev,
button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}
button.prev {
  left: 10px;
}
button.next {
  right: 10px;
}


/* Avis */
.avis {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.avis p {
    margin-bottom: 0;
    margin-top: 0;
}

#pagination {
    --bs-pagination-active-bg: var(--secondary-color) !important;
    --bs-pagination-active-border-color: var(--secondary-color) !important;
}

/* Contact */
.map-container {
    width: 100%;
    height: 400px;
    margin: 40px 0;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
}

.contact-box {
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 20px 30px;
    min-width: 250px;
    text-align: center;
}

.contact-box h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.contact-box i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.contact-link {
    color:black;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.contact-link:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
    text-decoration: none;
}

@media (max-width: 768px) {
    .contact-box {
        width: 100%;
    }
}


/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding-top: 40px;
    padding-bottom: 1px;
    margin-top: 50px;
}

.contact-btn {
    background: transparent;
    border: none;
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.contact-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: scale(1.05);
    text-decoration: none;
}

.footer-text a {
    color: white;
    text-decoration: none;
    transition: text-decoration 0.3s;
}

.footer-text a:hover {
    text-decoration: underline;
}

.page-section {
    padding: 60px 0;
}

.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }
}