/* General Styles */
/* Styles de base */
body {
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Section titres */
h2 {
    font-weight: bold;
    color: #024a93;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Navigation */
.navbar {
    padding: 1rem 0;
}

.navbar-custom {
    background: linear-gradient(90deg, #171718, #024a93);
}

/* Section background */
.bg-gray-light {
    background: linear-gradient(90deg, #171718, #024a93);
}

/* Section titre */
.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
}

/* Service Blocks */
.service-block {
    background: linear-gradient(135deg, #D3D3D3, #B0C4DE); /* Gris clair (#D3D3D3) à bleu pâle (#B0C4DE) */
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.service-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service-block h4 {
    color: #030303;
    font-size: 1.25rem;
}

.service-block p {
    font-size: 1rem;
    color: #444;
    text-align: justify;
    margin-bottom: 0;
}

.service-list {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.service-list li {
    position: relative;
    padding-left: 2rem;
    font-size: 1rem;
}

.service-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #007bff;
    font-size: 1.2em;
    line-height: 1.2;
}

/* Portfolio Section */
.portfolio-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

#demande-devis {
    display: none; /* Cacher la section par défaut */
}

/* Footer */
.footer {
    background: linear-gradient(90deg, #004080, #1e3853); /* Dégradé bleu */
    margin: 0;
    font-size: 14px;
}

.footer a {
    color: #c0c0c0;
}

.footer a:hover {
    color: #ffffff;
}

.footer i {
    font-size: 1.2rem;
    transition: color 0.3s ease-in-out;
}

.footer i:hover {
    color: #007bff;
}

/* Form Controls */
.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #ced4da;
}

.form-control:focus, .form-select:focus {
    border-color: #024a93;
    box-shadow: none;
}

.btn-primary {
    background-color: #024a93;
    border-color: #024a93;
    border-radius: 8px;
}

.btn-primary:hover {
    background-color: #0a66a3;
    border-color: #0a66a3;
}
/* Style du bouton */
.custom-btn {
    font-size: 1.5rem;          /* Augmente la taille du texte */
    padding: 1rem 2rem;         /* Ajoute du padding pour agrandir le bouton */
    background-color: #4617de;  
    border: none;               /* Supprime les bordures par défaut */
    border-radius: 50px;        /* Bordures arrondies pour un look plus moderne */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Ombre pour faire ressortir le bouton */
    transition: all 0.3s ease;  /* Transition pour un effet hover doux */
    color: #fff;                /* Texte blanc */
    text-transform: uppercase;  /* Texte en majuscule pour plus d'impact */
    font-weight: bold;          /* Texte gras */
}

.custom-btn:hover {
    background-color: #4617de;  
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3); /* Augmente l'ombre au survol */
    transform: translateY(-3px); /* Légère élévation au survol */
}

/* Section Services */
#services {
    margin-top: 0; /* Supprimer la marge supérieure */
}

/* Section Demande de Devis */
#demande-devis {
    margin-top: 0; /* Supprimer l'espace blanc entre les sections */
    padding-top: 30px;
    background: url('images/Desig.png') no-repeat center center/cover;
}

.py-5 {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Correction pour espacement entre sections */
.mt-5 {
    margin-top: 0 !important; /* Supprimer la marge excessive entre les sections */
}

.mt-0 {
    margin-top: 0; /* Garantit l'absence de marge supérieure */
}
