/* Component Styles */

/* Buttons */
.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
    background-color: #22333B;
}

.btn-primary {
    background-color: white;
    color: #22333B;
}

.btn-primary:hover {
    background-color: #f0f0f0;
}

.btn-outline {
    border: 2px solid #22333B;
    color: white;
}

.btn-outline:hover {
    background-color: white;
    color: black;
}

/* Service Cards */
.service-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 500px;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-content {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-detail{
    margin-top:5rem;
    margin-bottom:5rem;

}
.service-detail h1{
    margin-bottom:2rem;
}
.service-detail h2{
    margin-top: 3rem;
    margin-bottom: 2rem;
    
}

.list-services{
    padding-left: 3rem;
}

.list-services li {
    position: relative;
    
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
    padding-left:3rem;
}

.list-services li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: #090a08   ;
    border-radius: 50%;
    
}

/* Team Members */
.team-member {
    text-align: center;
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    object-fit: cover;
    margin: 0 auto 1rem;
}

.team-member h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: #666;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
}

.newsletter-form button {
    padding: 0.5rem 1rem;
    background-color: #22333B;
    color: white;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #4e6068;
}

/* Footer Links */
.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: #2563eb;
}

/* Navbar Container */
.navbar {
    position: fixed;
    top: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    width: 100%;
}

/* Flexbox for alignment */
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.navbar .logo img {
    height: 50px;
    width: auto;
}
/*animation de rotatino du logo*/
.logo img:hover {
    transform: rotateY(360deg);
    transition: transform 0.8s ease-in-out;
}


/* Menu */
.navbar .menu {
    display: flex;
}

.navbar .menu ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.navbar .menu ul li {
    margin: 0 15px;
}

.navbar .menu ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: color 0.3s;
}

.navbar .menu ul li a:hover {
    color: #22333B;
}

/* Hamburger Menu */
.navbar .hamburger {
    display: none; /* Hidden by default for desktop */
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    height: 24px;
    width: 30px;
}

.navbar .hamburger span {
    display: block;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.about-us, .location, .team{
    padding: 5rem 20px;
    background-color: #f9f9f9;
}
.our-services {
    padding: 60px 20px;
    background-color: #ffffff;
}


.about-us-block, .services-block {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.about-us-block .text, .services-block .text {
    flex: 1;
    text-align: left;
}

.about-us-block .image, .services-block .image {
    flex: 1;
}

.about-us-block .image img, .services-block .image img {
    width: 100%;
    border-radius: 8px;
}

.container .btn-block{
    margin-top:2em;
}



.location-content{
    /* margin-top: 3em; */
    text-align: center;
    position: relative;
    display: flex;
    
    flex-direction: column;
    align-items: center;
    
}


/* Parallax Section */
.parallax-section {
    position: relative;
    height: 400px; /* Ajustez selon vos besoins */
    background-image: url('/assets/img/parallax.jpeg'); /* Lien vers votre image */
    background-attachment: fixed; /* Effet parallaxe */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

/* Parallax Content */
.parallax-content {
    z-index: 1; /* Pour placer le texte au-dessus de l'image */
}

.parallax-content h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.parallax-content p {
    font-size: 18px;
    margin-bottom: 20px;
}


/* Optional: Overlay Effect for Better Text Visibility */
.parallax-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Assombrit l'image pour mieux lire le texte */
    z-index: 0; /* Place l'overlay sous le contenu */
}

/* Contact Banner */
.contact-banner {
    position: relative;
    width: 100%;
    height: 70vh; /* Ajustez la hauteur de la bannière */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay sombre */
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-banner .banner-content {
    position: relative;
    color: #fff;
    text-align: center;
    z-index: 1;
}

.contact-banner .banner-content h1 {
    font-size: 36px;
    margin: 0;
    font-weight: bold;
}

.contact-banner .banner-content p {
    font-size: 18px;
    margin-top: 10px;
}

/* Text-Image Block */
.text-image-block {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.text-image-block .container {
    display: flex;
    flex-wrap: wrap; /* Pour gérer les écrans plus petits */
    max-width: 1200px;
    width: 100%;
}

.text-image-block .row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.text-image-block .text-column,
.text-image-block .image-column {
    flex: 1;
    width: 50%; /* Chaque colonne prend 50% */
    padding: 20px;
    box-sizing: border-box;
}

.text-image-block .text-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.text-image-block .text-column h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.text-image-block .text-column p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.text-image-block .image-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-image-block .image-column img {
    max-width: 100%;
    border-radius: 10px; /* Optionnel : ajoute un effet arrondi */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optionnel : effet d'ombre */
    filter: saturate(0.3);
}
