/*
Theme Name: Astra Child - SOS Panne Batterie
Description: Thème enfant Astra pour SOS Panne Batterie
Author: SOS Panne Batterie
Template: astra
Version: 1.0.0
*/

/* Import du thème parent Astra */
@import url("../astra/style.css");

/* CSS personnalisé pour SOS Panne Batterie */

/* Variables CSS */
:root {
    --sos-orange: #FF6B35;
    --sos-blue: #1E3A8A;
    --sos-yellow: #FCD34D;
    --sos-gray: #6B7280;
    --sos-light: #F8FAFC;
    --sos-dark: #1F2937;
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header personnalisé */
.custom-header {
    background: linear-gradient(135deg, var(--sos-blue) 0%, #2563EB 100%);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.logo {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: white;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-number {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--sos-yellow);
}

/* Section héro */
.hero-section {
    background: linear-gradient(135deg, var(--sos-blue) 0%, #1E40AF 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.feature-icon {
    font-size: 3rem;
    color: var(--sos-yellow);
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--sos-orange) 0%, #FF8A65 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--sos-blue);
}

/* Sections de contenu */
.content-section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--sos-dark);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--sos-gray);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Grille de services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    color: var(--sos-orange);
    margin-bottom: 1rem;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--sos-dark);
}

.service-description {
    color: var(--sos-gray);
    line-height: 1.6;
}

/* Section marques */
.brands-section {
    background: var(--sos-light);
    padding: 60px 0;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
}

.brand-logo {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.brand-logo img {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
}

/* Formulaire de contact */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--sos-dark);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--sos-orange);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.custom-footer {
    background: var(--sos-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--sos-orange);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #D1D5DB;
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: var(--sos-orange);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9CA3AF;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .custom-header {
        position: relative;
    }
    
    .hero-section {
        padding: 60px 0 40px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Styles pour les éléments WordPress/Astra */
.ast-container {
    max-width: 1200px;
}

/* Masquer le header Astra par défaut */
.ast-header-wrap {
    display: none;
}

/* Ajuster l'espacement du contenu principal */
.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single {
    margin: 0;
    padding: 0;
}

.site-content {
    padding: 0;
}

