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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header and Navigation */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.nav-logo {
    position: absolute;
    left: 20px;
    margin-top: 65px;
}

.nav-logo h2 {
    color: #c52233;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    color: #c52233;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 1rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1.5rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
}

.dropdown-menu a:hover {
    background-color: #f8fafc;
    color: #c52233;
}

.emergency-contact {
    display: flex;
    align-items: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Google Rating Banner */
.google-rating-banner {
    background: #f5f5dc;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e5e5;
    width: 100%;
}

.rating-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.rating-content:hover {
    opacity: 0.8;
    text-decoration: none;
}

.google-logo {
    height: 20px;
    width: 20px;
}

.rating-score {
    font-weight: 700;
    color: #333;
    font-size: 1rem;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars i {
    color: #fbbf24;
    font-size: 0.9rem;
}

.rating-count {
    color: #666;
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    font-size: 0.95rem;
}

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

.btn-primary:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: #c52233;
    color: white;
}


/* Hero Section */
.hero {
    background: url('imgs/strasbourg-city.jpg') center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 140px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    color: white;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.hero-content h1 {
    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: 1rem;
    color: white;
    font-weight: 600;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.feature i {
    font-size: 2rem;
    color: #fbbf24;
}

.feature span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: #f8fafc;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.2rem;
    color: #64748b;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid #c52233;
}

.service-icon i {
    font-size: 2rem;
    color: #c52233;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    padding: 0.5rem 0;
    color: #475569;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Emergency Section */
.emergency {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.emergency-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.emergency-content > p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.emergency-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.emergency-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.emergency-item i {
    font-size: 1.5rem;
    color: #fbbf24;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #c52233;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-content p {
    font-style: italic;
    color: #475569;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 1rem;
}

.author-info {
    text-align: left;
}

.author-info h4 {
    color: #c52233;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.author-info span {
    color: #64748b;
    font-size: 0.9rem;
    display: block;
}

.rating {
    color: #fbbf24;
    display: flex;
    gap: 2px;
    align-items: center;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: #c52233;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-info > p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 2rem;
}

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

.contact-item i {
    font-size: 1.2rem;
    color: #c52233;
    margin-top: 0.25rem;
}

.contact-item .fa-map-marker-alt {
    font-size: 1.4rem;
}

.contact-item h4 {
    color: #c52233;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #c52233;
    text-decoration: underline;
}

.contact-item div p {
    color: #333 !important;
    font-weight: 600;
}

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

.contact-form h3 {
    color: #c52233;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c52233;
}

/* Footer */
.footer {
    background: #1f2937;
    color: #e5e7eb;
    padding: 1rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #f9fafb;
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-emergency {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(75, 85, 99, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.footer-emergency i {
    color: #e5e7eb;
}

.footer-bottom {
    text-align: center;
    opacity: 0.8;
}

.footer-mobile {
    display: none;
}

.footer-desktop {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .emergency-contact {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .footer-bottom p {
        margin: 0;
    }
    
    .footer-desktop {
        display: none;
    }
    
    .footer-mobile {
        display: block;
    }

    .emergency-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

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

@media (max-width: 480px) {
    .hero-features {
        grid-template-columns: 1fr;
    }

    .nav-container {
        padding: 1rem 10px;
    }

    .container {
        padding: 0 10px;
    }
}

/* Mentions Légales Page */
.mentions-legales-page {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: calc(100vh - 160px);
    background-color: #f8f9fa;
}

.mentions-content {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.mentions-content h1 {
    color: #c52233;
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 3px solid #c52233;
    padding-bottom: 15px;
    line-height: 1.1;
}

.mentions-section {
    margin-bottom: 30px;
}

.mentions-section h2 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.mentions-section p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 5px;
}

.back-link {
    margin-top: 40px;
    text-align: center;
}

.back-link .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #c52233;
    color: #fff;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.back-link .btn-primary:hover {
    background: #a01d2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197, 34, 51, 0.3);
}

/* Sitemap page specific styles */
.services .section-header h1 {
    color: #005EA8;
}

.services .service-card h3 {
    font-size: 1.3rem;
}

/* Responsive design for mentions légales */
@media (max-width: 768px) {
    .mentions-legales-page {
        padding-top: 80px;
        padding-bottom: 40px;
    }
    
    .mentions-content {
        padding: 30px 20px;
        margin: 0 20px;
    }
    
    .mentions-content h1 {
        font-size: 2rem;
        margin-bottom: 25px;
    }
    
    .mentions-section h2 {
        font-size: 1.2rem;
    }
}


/* File Upload Styles */
.file-upload-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    background-color: #f8fafc;
    cursor: pointer;
    transition: all 0.3s;
    color: #475569;
    font-weight: 500;
}

.file-upload-label:hover {
    border-color: #c52233;
    background-color: #f1f5f9;
    color: #c52233;
}

.file-upload-label i {
    font-size: 1.2rem;
    color: #64748b;
}

.file-upload-label:hover i {
    color: #c52233;
}

.file-input {
    display: none;
}

.file-upload-hint {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.5rem;
    font-style: italic;
}