/* Style global */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #fafafa;
    color: #333333;
    line-height: 1.7;
    margin: 0;
    padding: 0;
}

/* Titres */
h1, h2, h3, h4, h5, h6 {
    color: #1f1f1f;
    margin-bottom: 1rem;
}

/* Navbar */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0.75rem 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #000000;
    transition: color 0.3s ease;
}

.navbar-brand:hover {
    color: #28a745;
}

.navbar-nav .nav-link {
    color: #4d4d4d;
    font-weight: 500;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #28a745;
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #ffffff;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    z-index: -1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero .btn {
    background-color: #ffffff;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    color: #28a745;
    transition: background-color 0.3s ease;
}

.hero .btn:hover {
	background-color: #ececec;
    color: #218838;
}

/* Services Section */
#services {
    background-color: #ffffff;
    padding: 4rem 0;
}

#services .card {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
}

#services .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

#services .card-title {
    color: #1f1f1f;
    font-weight: 600;
    font-size: 1.25rem;
}

#services .card-text {
    color: #555555;
}

.btn-link {
    color: #4d4d4d;
    text-decoration: none;
    font-weight: bold;
}

.btn-link:hover {
    color: #28a745;
    text-decoration: none;
}

/* About Section */
#about {
    padding: 4rem 0;
    background-color: #f4f4f4;
}

/* Portfolio Section */
#portfolio {
    padding: 4rem 0;
    background-color: #ffffff;
}

#portfolio .portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#portfolio .portfolio-item img {
    transition: transform 0.3s ease;
    width: 100%;
    height: 280px;
	background-color: #E0E0E0;
	object-fit: contain;
}

#portfolio .portfolio-item:hover img {
    transform: scale(1.05);
}

#portfolio .portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

#portfolio .portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

#portfolio .portfolio-overlay h5 {
	padding: 10px;
	text-align: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
}

/* Contact Modal */
.modal-content {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 2rem;
}

.input-group-text {
    background-color: #28a745;
    color: #ffffff;
    border: none;
    border-radius: 0 5px 5px 0;
}

.form-control {
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 5px rgba(40, 167, 69, 0.5);
}

.invalid-feedback {
    font-size: 0.875rem;
    color: #dc3545;
}

.btn-success {
    background-color: #28a745;
    border: none;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-success:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: #ffffff;
    padding: 2rem 0;
    color: #555555;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

footer .list-inline-item a {
    color: #555555;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

footer .list-inline-item a:hover {
    color: #28a745;
}

/* Responsivité */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .navbar-nav .nav-link {
        font-size: 0.9rem;
    }
	
	#about img {
		display: block;
        margin: 0 auto;
        width: 125px !important;
        height: 125px !important;
    }
	.portfolio-item {
		margin-bottom: 2rem;
	}
}
