/* Global Styles */
:root {
    --primary-white: #ffffff;
    --secondary-white: #f9f9f9;
    --primary-black: #000000;
    --secondary-black: #101010;
    --light-gray: #f5f5f5;
    --medium-gray: #dddddd;
    --dark-gray: #666666;
    --accent-color: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-black);
    background-color: var(--primary-white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
    color: var(--primary-black);
}

.section-subtitle {
    text-align: center;
    color: var(--dark-gray);
    margin-bottom: 50px;
    font-size: 18px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.hero {
    background-color: var(--secondary-white);
    padding: 80px 0;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--dark-gray);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-white);
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--secondary-black);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-black);
    border: 2px solid var(--medium-gray);
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
}

.btn-secondary:hover {
    border-color: var(--primary-black);
    background-color: var(--light-gray);
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

/* Categories Section */
.categories {
    padding: 100px 0;
    background-color: var(--primary-white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: var(--primary-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--medium-gray);
}

.category-image {
    height: 180px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-content {
    padding: 25px;
}

.category-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-black);
}

.category-description {
    color: var(--dark-gray);
    font-size: 14px;
    margin-bottom: 20px;
}

.category-link {
    color: var(--primary-black);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.category-link:hover {
    color: var(--secondary-black);
    gap: 10px;
}

/* Prestataires Section */
.prestataires {
    padding: 100px 0;
    background-color: var(--secondary-white);
}

.prestataires-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.prestataire-card {
    background-color: var(--primary-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.prestataire-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.prestataire-header {
    padding: 25px 25px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.prestataire-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--dark-gray);
    font-weight: 600;
}

.prestataire-info {
    flex: 1;
}

.prestataire-name {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 5px;
}

.prestataire-specialty {
    color: var(--dark-gray);
    font-size: 14px;
    margin-bottom: 8px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stars {
    color: #FFD700;
}

.rating-value {
    font-size: 14px;
    font-weight: 500;
}

.prestataire-services {
    padding: 0 25px 25px;
}

.service-badge {
    display: inline-block;
    background-color: var(--light-gray);
    color: var(--dark-gray);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
}

.prestataire-footer {
    padding: 15px 25px;
    border-top: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prestataire-price {
    font-weight: 600;
    font-size: 18px;
}

.btn-book {
    background-color: var(--accent-color);
    color: var(--primary-white);
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-book:hover {
    background-color: var(--secondary-black);
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background-color: var(--primary-white);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.step {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.step:hover {
    background-color: var(--secondary-white);
    transform: translateY(-5px);
}

.step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: var(--primary-black);
    transition: all 0.3s ease;
}

.step:hover .step-icon {
    background-color: var(--accent-color);
    color: var(--primary-white);
}

.step-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-black);
}

.step-description {
    color: var(--dark-gray);
    font-size: 16px;
}

/* App Download Section */
.app-download {
    padding: 100px 0;
    background-color: var(--secondary-white);
}

.app-download .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.app-content {
    flex: 1;
}

.app-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-black);
}

.app-description {
    font-size: 18px;
    color: var(--dark-gray);
    margin-bottom: 40px;
    max-width: 500px;
}

.app-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.app-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 15px 25px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 180px;
}

.app-badge:hover {
    background-color: var(--secondary-black);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.app-badge i {
    font-size: 32px;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-small {
    font-size: 12px;
    opacity: 0.8;
}

.badge-large {
    font-size: 18px;
    font-weight: 600;
}

.app-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    height: 500px;
    background-color: var(--primary-black);
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background-color: var(--primary-white);
    border-radius: 3px;
    opacity: 0.2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
.footer {
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-description {
    color: #cccccc;
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--primary-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--primary-white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--primary-white);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #cccccc;
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-white);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .app-download .container {
        flex-direction: column;
        text-align: center;
    }
    
    .app-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .app-badges {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .categories, .prestataires, .how-it-works, .app-download {
        padding: 70px 0;
    }
}