:root {
    --primary: #2a5bd7;
    --primary-dark: #1e4bbd;
    --secondary: #ff6b00;
    --dark: #2c3e50;
    --light: #f8f9fa;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #fd7e14;
    --font-main: 'Open Sans', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--dark);
    line-height: 1.6;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

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

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: white;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-primary.btn-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

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

.btn-secondary:hover {
    background-color: #e05d00;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.btn-danger {
    background-color: var(--danger);
    color: white;
}

.btn-danger:hover {
    background-color: #c82333;
}

.btn-logout {
    background-color: var(--gray);
    color: white;
    margin-top: 2rem;
}

/* Header */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--dark);
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

nav ul li a:hover:after {
    width: 100%;
}

.hero {
    background: linear-gradient(135deg, rgba(42,91,215,0.9) 0%, rgba(74,123,255,0.9) 100%);
    padding: 8rem 0 6rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: rgba(255,255,255,0.9);
}

/* Services Preview */
.services-preview {
    padding: 4rem 0;
}

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

.service-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.service-arrow {
    color: var(--primary);
    font-size: 1.25rem;
}

/* Sections communes */
.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--light-gray);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 600;
}

.section-badge i {
    font-size: 1rem;
}

/* Tableau de réparations */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.modern-table th, .modern-table td {
    padding: 1.25rem 1rem;
    text-align: left;
}

.modern-table th {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
}

.modern-table th .th-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modern-table tr:nth-child(even) {
    background-color: var(--light-gray);
}

.modern-table tr:hover {
    background-color: #e2e8f0;
}

.model-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.model-cell i {
    color: var(--primary);
    font-size: 1.25rem;
}

.price-tag {
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
}

/* Produits */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #f8f9fa;
}

.product-image img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    display: none;
}

.product-badge.new {
    background-color: var(--success);
}

.product-content {
    padding: 1.5rem;
}

.product-header {
    margin-bottom: 0.75rem;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.product-rating {
    color: var(--warning);
    font-size: 0.9rem;
}

.product-description {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--primary);
}

.price-label {
    font-size: 0.8rem;
    color: var(--gray);
    display: block;
}

.btn-contact {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-contact:hover {
    background-color: var(--primary-dark);
}

/* Section Contact */
.contact-section {
    background-color: var(--light);
}

.contact-grid {
    display: flex;
    justify-content: center;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
}


.contact-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.contact-info h3 {
    margin-bottom: 0.5rem;
}

.contact-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--primary);
}

.schedule {
    margin-top: 0.5rem;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.day {
    font-weight: 600;
}
/* footer */

/* Footer Styles */
.site-footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 3rem 0 0;
    font-family: 'Open Sans', sans-serif;
}

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

.footer-section {
    margin-bottom: 1.5rem;
}

.footer-title {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    font-family: 'Montserrat', sans-serif;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #2a5bd7;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-item i {
    margin-right: 0.75rem;
    color: #2a5bd7;
    margin-top: 3px;
}

.contact-item a {
    color: #fff;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #2a5bd7;
}

.opening-hours {
    margin-top: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.day {
    font-weight: 600;
}

.hours {
    color: #ecf0f1;
}

.closed {
    color: #e74c3c;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #2a5bd7;
    transform: translateY(-3px);
}

.newsletter p {
    margin-bottom: 0.75rem;
    color: #ecf0f1;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: 'Open Sans', sans-serif;
}

.btn-newsletter {
    background-color: #2a5bd7;
    color: white;
    border: none;
    padding: 0 1rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-newsletter:hover {
    background-color: #1e4bbd;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.copyright {
    margin-bottom: 1rem;
    color: #bdc3c7;
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a {
    color: #bdc3c7;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #2a5bd7;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}


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

.admin-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background-color: var(--primary);
    color: white;
}

.admin-card:hover h2 {
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 1rem;
    }
    
    nav ul li {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .hero-features {
        flex-wrap: wrap;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

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

.section {
    animation: fadeIn 0.6s ease forwards;
}







/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), url('../images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 91, 215, 0.8) 0%, rgba(114, 9, 183, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-title-main {
    display: block;
    font-weight: 700;
    color: white;
}

.hero-title-sub {
    display: block;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

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

.hero-features {
    margin: 3rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeInRight 0.8s ease forwards;
}

.feature-item:nth-child(1) { animation-delay: 0.4s; }
.feature-item:nth-child(2) { animation-delay: 0.6s; }
.feature-item:nth-child(3) { animation-delay: 0.8s; }

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.feature-text h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: white;
}

.feature-text p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-hero {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
}

/* Repairs Section */
.repairs-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.repairs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.repair-model-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.repair-model-card.animate {
    animation: fadeInUp 0.6s ease forwards;
}

.repair-model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.model-header {
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.model-header i {
    font-size: 1.5rem;
}

.model-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.repairs-list {
    padding: 1.5rem;
}

.repair-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.repair-item:last-child {
    border-bottom: none;
}

.repair-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    color: #333;
}

.repair-info p {
    margin: 0;
    font-size: 0.8rem;
    color: #666;
}

.repair-price {
    font-weight: 700;
    font-size: 1.25rem;
    color: #4361ee;
}

.repair-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Products Section */
.products-section {
    padding: 5rem 0;
}

.products-section.bg-light {
    background-color: #f8f9fa;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}

.product-card.animate {
    animation: fadeInUp 0.6s ease forwards;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #4361ee;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.product-badge.new {
    background: #f72585;
}

.product-image {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.product-image img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 1.5rem;
}

.product-header {
    margin-bottom: 1rem;
}

.product-title {
    font-size: 1.25rem;
    margin: 0;
    color: #333;
}

.product-description {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-weight: 700;
    color: #4361ee;
}

.price-amount {
    font-size: 1.25rem;
}

.price-label {
    font-size: 0.8rem;
    color: #666;
    display: block;
}

.btn-contact {
    background: #4361ee;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-contact:hover {
    background: #3a56d4;
    transform: translateY(-2px);
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.contact-details p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.contact-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: white;
    font-size: 0.9rem;
    text-decoration: underline;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.contact-link:hover {
    opacity: 1;
}

.opening-hours {
    margin-top: 0.5rem;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.hours {
    opacity: 0.9;
}

.closed {
    color: #f72585;
}

.contact-form {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
}

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

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        padding: 6rem 0;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin-bottom: 1rem;
    }
}


/* Boutons Hero - Nouvelle version harmonisée */
.btn-hero {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
}

/* Bouton principal */
.btn-primary.btn-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary.btn-hero:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #1a3a9e 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(42, 91, 215, 0.3);
}

/* Bouton secondaire */
.btn-secondary.btn-hero {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(5px);
}

.btn-secondary.btn-hero:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

/* Icônes des boutons */
.btn-hero i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-hero:hover i {
    transform: translateX(3px);
}

/* Pour les écrans mobiles */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-hero {
        width: 100%;
        justify-content: center;
    }
}


/* Dans votre fichier CSS */
.modern-repair-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.9em;
    min-width: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.modern-repair-table thead tr {
    background-color: var(--primary);
    color: #ffffff;
    text-align: left;
    font-weight: bold;
}

.modern-repair-table th,
.modern-repair-table td {
    padding: 12px 15px;
}

.modern-repair-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.modern-repair-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.modern-repair-table tbody tr:last-of-type {
    border-bottom: 2px solid var(--primary);
}

.modern-repair-table tbody tr:hover {
    background-color: rgba(67, 97, 238, 0.05);
}

.model-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.model-cell i {
    color: var(--primary);
}

.price-cell {
    text-align: right;
    font-weight: 600;
    color: var(--primary);
}

.repair-table-container {
    overflow-x: auto;
}

.repair-notes {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary);
    border-radius: 4px;
}

/* Style pour le tableau des réparations */
.repairs-table-container {
    overflow-x: auto;
    margin: 2rem 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1rem;
}

.repairs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.repairs-table th {
    background-color: var(--primary);
    color: white;
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
}

.repairs-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #f1f1f1;
    vertical-align: middle;
}

.repairs-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.repairs-table tr:hover {
    background-color: #f1f1f1;
}

.model-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.model-cell i {
    color: var(--primary);
}

.price-cell {
    text-align: right;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.repair-guarantee {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary);
    border-radius: 4px;
    font-size: 0.9rem;
}

.repair-guarantee i {
    color: var(--primary);
    font-size: 1.25rem;
}


/* Boutique Filter */
.boutique-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.boutique-filter .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

.boutique-filter .btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.boutique-filter .btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Product Badges */
.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    z-index: 2;
}

.product-badge.sceaux {
    background-color: var(--primary);
}

.product-badge.denfert {
    background-color: var(--secondary);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 2rem;
    color: var(--gray);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.empty-state h3 {
    margin-bottom: 0.5rem;
}





















/* ===================== */
/* HERO SECTION - ACCUEIL */
/* ===================== */

.home-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    max-height: 1200px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #2a5bd7; /* Fallback color */
}

.home-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: opacity 0.5s ease;
}

.home-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 91, 215, 0.9) 0%, rgba(114, 9, 183, 0.85) 100%);
    z-index: 1;
}

.home-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    margin: 0 auto;
    color: white;
    text-align: center;
    animation: fadeInUp 1s ease both;
}

.home-hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.home-hero-title-main {
    display: block;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.home-hero-title-sub {
    display: block;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
}

.home-hero-text {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.home-hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 3rem auto;
    max-width: 800px;
}

.home-feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    animation: fadeIn 0.8s ease both;
}

.home-feature-item i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.home-feature-item:nth-child(1) { animation-delay: 0.3s; }
.home-feature-item:nth-child(2) { animation-delay: 0.5s; }
.home-feature-item:nth-child(3) { animation-delay: 0.7s; }

.home-hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn-hero {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.btn-hero i {
    font-size: 1.2rem;
}

.home-hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .home-hero {
        min-height: 600px;
        height: auto;
        padding: 6rem 0;
    }
    
    .home-hero-content {
        padding: 2rem 1rem;
    }
    
    .home-hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .home-hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}


/* Conteneur du filtre boutique */
.boutique-filter-container {
    width: 100%;
    padding: 1rem 0;
    background-color: var(--light-gray);
    margin: 2rem 0;
}

/* Contenu centré */
.boutique-filter-centered {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Adaptation responsive */
@media (max-width: 768px) {
    .boutique-filter-centered {
        flex-direction: column;
        align-items: center;
    }
    
    .boutique-filter-centered .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  margin: 2rem auto;
  font-family: 'Segoe UI', sans-serif;
}

.contact-form h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #222;
  font-size: 1.6rem;
}

.contact-form .form-group {
  margin-bottom: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  background: #f9f9f9;
  transition: border-color 0.3s, box-shadow 0.3s;
  color: #333;
}

/* Placeholder stylé */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
  font-style: italic;
  transition: opacity 0.2s ease;
}

/* Fade out placeholder on focus */
.contact-form input:focus::placeholder,
.contact-form textarea:focus::placeholder {
  opacity: 0.4;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #4e9cff;
  box-shadow: 0 0 0 3px rgba(78, 156, 255, 0.2);
}

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

.contact-form button[type="submit"] {
  width: 100%;
  padding: 1rem;
  background-color: #4e9cff;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form button[type="submit"]:hover {
  background-color: #357de6;
  transform: translateY(-2px);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 91, 215, 0.03) 0%, rgba(114, 9, 183, 0.03) 100%);
    z-index: 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.contact-info-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-content: start;
}

.contact-info-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-header i {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-info-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--dark);
}

.contact-info-card p {
    margin: 0.5rem 0 0 0;
    padding-left: 3.2rem;
    color: var(--gray);
}

.contact-info-card a {
    color: var(--primary);
    transition: color 0.3s ease;
}

.contact-info-card a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.opening-hours {
    margin-top: 1rem;
    padding-left: 3.2rem;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.hour-item .day {
    font-weight: 600;
    color: var(--dark);
}

.hour-item .hours {
    color: var(--gray);
}

.hour-item .closed {
    color: var(--danger);
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.modern-contact-form {
    display: grid;
    gap: 1.5rem;
}

.modern-contact-form .form-group {
    position: relative;
}

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

.modern-contact-form input,
.modern-contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.modern-contact-form input:focus,
.modern-contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(42, 91, 215, 0.1);
}

.modern-contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .contact-info-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-section {
        padding: 3rem 0;
    }
}

/* Footer modernisé - Structure identique */
.site-footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 3rem 0 1rem;
    font-family: 'Open Sans', sans-serif;
    position: relative;
}

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

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

.footer-section {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer-section:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.footer-title {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #2a5bd7;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    color: #2a5bd7;
    margin-right: 0.8rem;
    font-size: 1rem;
    min-width: 16px;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #2a5bd7;
    text-decoration: none;
}

.opening-hours {
    margin-top: 0.5rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.day {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.hours {
    color: rgba(255, 255, 255, 0.7);
}

.closed {
    color: #ff6b6b;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.copyright {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #2a5bd7;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-section {
        padding: 1.5rem 1rem;
    }
}


/* Style pour la case à cocher et le texte de confidentialité */
.form-group.checkbox-group {
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}

.form-group.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--gray);
    cursor: pointer;
    font-weight: normal;
    line-height: 1.4;
}

.form-group.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    padding: 0;
    min-width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.form-group.checkbox-group a {
    color: var(--primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.form-group.checkbox-group a:hover {
    color: var(--primary-dark);
}

/* Style pour les messages d'erreur de validation */
.form-group.checkbox-group .error-message {
    display: none;
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.form-group.checkbox-group input:invalid ~ .error-message {
    display: block;
}



