/*
Theme Name: SDAR Child
Template: astra
Description: Thème enfant personnalisé pour https://s-dar.com
Author: Votre nom
Version: 1.0
*/

/* Import du CSS d'Astra */
@import url('../astra/style.css');

/* ====== Styles personnalisés ===== */

/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

.container {
    max-width: 1400px;
}

/* Navbar personnalisée */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    background-color: white;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar .navbar-brand img {
    width: 180px;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.navbar .navbar-brand img:hover {
    filter: brightness(1);
}

.navbar .nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar .nav-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.navbar .btn-primary {
    background-color: #2c3e50;
    color: white;
    font-weight: 600;
    padding: 0.7rem 2rem;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.navbar .btn-primary:hover {
    transform: scale(1.05);
    background-color: #212f3d;
}

/* Responsive pour le bouton "Demandez un devis" */
@media (max-width: 992px) {
    .navbar .btn-primary {
        margin-top: 1rem;
        margin-left: 0;
    }
}

/* Hero Section */
.hero {
    background-image: url('https://s-dar.com/wp-content/uploads/2025/04/piclumen-1744725210014-1.png');
    background-size: cover;
    background-position: center;
    min-height: 800px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.hero .btn-primary {
    background-color: #ff6b35;
    border-color: #ff6b35;
    padding: 1rem 3rem;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.hero .btn-primary:hover {
    transform: scale(1.05);
    background-color: #e65100;
}

/* Services Cards */
.services-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.services-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.services-card img {
    width: 80px;
    height: auto;
    margin-bottom: 1.5rem;
}

.services-card h5 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Pourquoi choisir */
.why-choose-bg {
    background-image: url('https://s-dar.com/wp-content/uploads/2025/04/piclumen-1744726937693-1.png');
    background-size: cover;
    padding: 7rem 0;
    position: relative;
}

.why-choose-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
}

.why-choose-bg h2 {
    font-size: 3rem;
    margin-bottom: 4rem;
    color: white;
}

.why-choose-bg img {
    width: 70px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.why-choose-bg img:hover {
    transform: rotate(5deg);
}

/* Footer */
footer {
    background-color: #2c3e50;
    padding: 3rem 0;
    color: white;
}

footer a {
    color: white;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ff6b35;
}

.footer-icons img {
    filter: grayscale(100%);
    transition: all 0.3s ease;
    width: 24px;
}

.footer-icons img:hover {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .services-card {
        margin-bottom: 1.5rem;
    }
    
    .why-choose-bg h2 {
        font-size: 2.5rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}