/*!
Theme Name: iiv_wp_theme
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: iiv_wp_theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready


*/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: Arial, sans-serif;
}

body {
	line-height: 1.6;
	color: #333;
}

header {
	background: #c62828;
	color: white;
	padding: 20px;
}

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo-container {
	width: 100px;
	height: 100px;

}

.logo-img {
	width: 100px;
	height: 100px;
	border-radius: 50%;

}

.logo {
	font-size: 28px;
	font-weight: bold;
}

.hero {
	background:
		linear-gradient(rgba(0, 0, 0, 0.65),
			rgba(0, 0, 0, 0.65)),
		url("./assets/img/Flyer1.jpg") no-repeat center center/cover;
	background-size: cover;
	background-position: center;
	height: 500px;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: white;
}

.hero-content {
	background: rgba(0, 0, 0, 0.6);
	padding: 30px;
	border-radius: 10px;
}

.hero h1 {
	font-size: 3rem;
	margin-bottom: 15px;
}

.btn {
	display: inline-block;
	background: #c62828;
	color: white;
	padding: 12px 25px;
	text-decoration: none;
	border-radius: 5px;
	margin-top: 15px;
}

section {
	padding: 60px 10%;
}

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

.card {
	background: #f5f5f5;
	padding: 25px;
	border-radius: 10px;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card h3 {
	color: #c62828;
	margin-bottom: 10px;
}

.about {
	background: #fafafa;
}

.contact {
	background: #222;
	color: white;
	text-align: center;
}

footer {
	background: #111;
	color: white;
	text-align: center;
	padding: 15px;
}


/* Tablettes */
@media screen and (max-width: 1024px) {

    .topbar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 15px;
    }

    header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero {
        flex-direction: column;
        height: auto;
    }

    .hero-left,
    .hero-right {
        width: 100%;
        padding: 40px 30px;
    }

    .hero h1 {
        font-size: 42px;
        line-height: 1.2;
    }

    .services {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px;
    }

    .about {
        grid-template-columns: 1fr;
    }
}

/* Smartphones */
@media screen and (max-width: 768px) {

    .logo {
        font-size: 28px;
        text-align: center;
    }

    nav {
        flex-direction: column;
        align-items: center;
    }

    nav a {
        margin: 8px 0;
    }

    .btn {
        display: inline-block;
        width: 100%;
        text-align: center;
    }

    .hero {
        text-align: center;
    }

    .hero-left,
    .hero-right {
        padding: 25px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .services {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .card {
        padding: 20px;
    }

    .about {
        padding: 20px;
    }

    .contact {
        padding: 20px;
    }

    footer {
        padding: 15px;
        font-size: 14px;
    }
}

/* =========================
   Responsive FireProtect
   ========================= */

/* Petits smartphones */
@media screen and (max-width: 480px) {

    .topbar {
        font-size: 13px;
    }

    .logo {
        font-size: 22px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero p {
        font-size: 14px;
    }

    .btn {
        padding: 12px;
        font-size: 14px;
    }

    .card h3 {
        font-size: 18px;
    }

    .card p {
        font-size: 14px;
    }
}