/* Home : styles exclusifs à index.html (HeroBanner, About, ContactUs, Footer, Catégories) */

/* Custom overrides */
#HeroBanner .hero-content h2 {
    color: #fff;
}

#MainContainer h1 {
	font-size: 40px;
	font-weight: bold;
	line-height: 1.2;
	margin: 0 0 20px;
}
#MainContainer h2 {
	font-size: 32px;
	font-weight: bold;
	line-height: 1.2;
	margin: 0 0 15px;
}
#MainContainer h3 {
	font-size: 28px;
	font-weight: bold;
	line-height: 1.2;
	margin: 0 0 10px;
}
#MainContainer h4 {
	font-size: 20px;
	font-weight: bold;
	line-height: 1.5;
	margin: 0;
}
#MainContainer h5 {
	font-size: 18px;
	font-weight: bold;
	line-height: 1.5;
	margin: 0;
}
#MainContainer p {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	margin: 0 0 15px;
}

/* Banner */
#HeroBanner {
	display: table;
	width: 100%;
	height: calc(100vh - 70px);
	margin-top: 70px;
	background: url(../images/banner.jpg) no-repeat 0 0 / cover;
	background-attachment: fixed;
}
#HeroBanner .hero-content {
	display: table-cell;
	background-color: rgba(10,40,60,0.7);
	text-align: center;
	vertical-align: middle;
	padding: 0 15px;
}
#HeroBanner .hero-content h1 {
	font-size: 48px;
	color: #fff;
	text-transform: uppercase;
	margin: 0 0 20px;
}
#HeroBanner .hero-content p {
	font-size: 28px;
	color: #fff;
	margin: 0 0 30px;
}
#HeroBanner .hero-content .hero-cta {
	font-size: 22px;
	color: #fff;
	text-decoration: none;
	border: 2px solid #fff;
	border-radius: 0;
	display: inline-block;
	padding: 10px 20px;
	transition: all 0.3s ease-in-out;
}
#HeroBanner .hero-content .hero-cta:hover {
	background-color: #3f8ec1;
	border: 2px solid #3f8ec1;
	transition: all 0.3s ease-in-out;
}

/* About */
#About {
	position: relative;
}
#About .about-wrapper {
	padding: 80px 50px 80px 10px;
}
#About .about-wrapper p:last-child {
	margin: 0;
}
#About:after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	background: url("../images/about-us.jpg") no-repeat center / cover;
	width: 50%;
	height: 100%;
}

/* Contact */
#ContactUs {
	padding: 70px 0;
}
#ContactUs .contact-title {
	font-size: 30px;
	color: #000;
	text-align: center;
	margin: 0 0 30px;
}
#ContactUs .contact-outer-wrapper {
	width: 100%;
	height: auto;
	display: table;
	margin: 0 auto;
}
#ContactUs .address-block {
	width: 50%;
	height: 100%;
	display: table-cell;
	color: #333;
	position: relative;
	padding: 40px;
}
#ContactUs .address-block::after {
	position: absolute;
	content: "";
	right: 3%;
	width: 1px;
	height: 80%;
	background: #ccc;
	top: 10%;
}
#ContactUs .c-detail {
	margin-bottom: 20px;
}
#ContactUs .c-detail:last-child {
	margin-bottom: 0;
}
#ContactUs .c-detail .c-icon {
	width: 8%;
	display: inline-block;
	font-size: 20px;
	vertical-align: top;
}
#ContactUs .c-detail .c-info {
	width: 90%;
	display: inline-block;
	vertical-align: top;
}

/* Footer */
#Footer {
	background-color: rgba(0, 0, 0, 0.9);
	padding: 50px 0;
}
#Footer .footer-logo-wrap {
	width: 100%;
	font-size: 12px;
	color: #fff;
	text-align: center;
}
#Footer .footer-logo-wrap a {
	color: #3f8ec1;
	outline: 0;
}
#Footer .social-share {
	width: 100%;
	margin-bottom: 30px;
}
#Footer .social-share ul {
	text-align: center;
	list-style: none;
	padding: 0;
}
#Footer .social-share ul li {
	display: inline-block;
	vertical-align: middle;
}
#Footer .social-share ul li a {
	font-size: 22px;
	color: #fff;
	padding: 0 10px;
}
#Footer .social-share ul li a:hover .fa-facebook {
	color: #3b5998;
}
#Footer .social-share ul li a:hover .fa-instagram {
	color: #fb3958;
}

/* Section Catégories */
.section-categories {
    padding: 60px 0;
    background: #fcfcfc;
}

.section-title-center {
    text-align: center;
    margin-bottom: 50px;
}

.section-title-center h2 {
    font-size: 2.2rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
    color: #222;
}

.section-title-center h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #3f8ec1;
    border-radius: 2px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    border-color: #3f8ec1;
}

.category-card-icon {
    font-size: 3rem;
    padding: 40px 20px 20px;
    color: #3f8ec1;
}

.category-card-body {
    padding: 20px;
    flex-grow: 1;
}

.category-card-body h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.category-card-body p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

.btn-category {
    background: #333;
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.category-card:hover .btn-category {
    background: #3f8ec1;
}

/* Responsive */
@media (max-width: 575px) {
    #HeroBanner { height: auto; margin-top: 0; }
    #HeroBanner .hero-content { display: block; padding: 100px 15px 40px; }
    #HeroBanner .hero-content h1 { font-size: 28px; }
    #HeroBanner .hero-content p { font-size: 20px; }
    #HeroBanner .hero-content a { font-size: 18px; }
    #About .about-wrapper {
        width: 100%;
        text-align: center;
        padding: 50px 0;
    }
    #About:after { display: none; }
    #ContactUs { padding: 50px 0; }
    #ContactUs .contact-outer-wrapper { display: block; }
    #ContactUs .address-block {
        display: block;
        width: 100%;
        border-bottom: 1px solid #ccc;
        padding: 0 0 30px;
    }
    #ContactUs .address-block::after { display: none; }
    #ContactUs .form-wrap {
        display: block;
        width: 100%;
        padding: 30px 0 0;
    }
    #ContactUs .form-wrap .floating-label { width: 100%; }
    #ContactUs .form-wrap .fname,
    #ContactUs .form-wrap .contact { margin-right: 0; }
    #ContactUs .contact-title { margin: 0 0 20px; }
    #ContactUs .add-title { text-align: center; margin: 0 0 30px; }
}

@media (min-width: 576px) and (max-width: 767px) {
    #HeroBanner { height: auto; margin-top: 0; }
    #HeroBanner .hero-content { display: block; padding: 100px 15px 40px; }
    #HeroBanner .hero-content h1 { font-size: 28px; }
    #HeroBanner .hero-content p { font-size: 20px; }
    #HeroBanner .hero-content a { font-size: 18px; }
    #About .about-wrapper {
        width: 100%;
        text-align: center;
        padding: 80px 0;
    }
    #About:after { display: none; }
    #ContactUs { padding: 50px 0; }
    #ContactUs .contact-outer-wrapper { display: block; }
    #ContactUs .address-block {
        display: block;
        width: 100%;
        border-bottom: 1px solid #ccc;
        padding: 0 0 30px;
    }
    #ContactUs .address-block::after { display: none; }
    #ContactUs .form-wrap {
        display: block;
        width: 100%;
        padding: 30px 0 0;
    }
    #ContactUs .form-wrap .floating-label { width: 100%; }
    #ContactUs .form-wrap .fname,
    #ContactUs .form-wrap .contact { margin-right: 0; }
    #ContactUs .contact-title { margin: 0 0 20px; }
    #ContactUs .add-title { text-align: center; margin: 0 0 30px; }
}

@media (min-width: 768px) and (max-width: 991px) {
    #HeroBanner .hero-content h1 { font-size: 28px; }
    #HeroBanner .hero-content p { font-size: 20px; }
    #HeroBanner .hero-content a { font-size: 18px; }
    #ContactUs .contact-outer-wrapper { display: block; }
    #ContactUs .address-block {
        display: block;
        width: 100%;
        border-bottom: 1px solid #ccc;
        padding: 0 0 30px;
    }
    #ContactUs .address-block::after { display: none; }
    #ContactUs .form-wrap {
        display: block;
        width: 100%;
        padding: 30px 0 0;
    }
    #ContactUs .c-detail .c-icon { width: 6%; }
    #ContactUs .c-detail .c-info { width: 92%; }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #ContactUs .c-detail .c-icon { width: 10%; }
    #ContactUs .c-detail .c-info { width: 87%; }
}
