/* services.css */

/* Bouton calendrier flottant */
.calendar-button-float {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 1000;
}

.calendar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-size: 12px;
    text-align: center;
}

.calendar-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: white;
}

.calendar-btn i {
    font-size: 18px;
    margin-bottom: 4px;
}

.calendar-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* Hero section */
.services-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.services-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.services-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Filtres - style identique au portfolio */
.services-filters {
    background: #f8f9fa;
    padding: 30px 0;
    border-bottom: 1px solid #e9ecef;
}

.services-filters-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.services-filters-list li {
    margin: 0;
}

.services-filters-list .filter {
    padding: 12px 24px;
    background: white;
    color: #495057;
    text-decoration: none;
    border-radius: 25px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
}

.services-filters-list .filter:hover,
.services-filters-list .filter.active,
.services-filters-list li.active .filter {
    background: #667eea;
    color: white;
    border-color: #667eea;
    text-decoration: none;
}

/* Grille des services */
.services-grid {
    padding: 60px 0;
}

.services-container {
    display: grid;
    gap: 30px;
}

.service-type-title {
    font-size: 2rem;
    color: #343a40;
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
    display: inline-block;
}

.service-type-title:first-child {
    margin-top: 0;
}

.service-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0;
}

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

.service-image {
    width: 200px;
    height: 100%;
    min-height: 200px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-content h3 {
    font-size: 1.5rem;
    color: #343a40;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    min-height: 135px;
}

.service-details {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.service-duration,
.service-price {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #495057;
    font-weight: 500;
}

.service-duration i,
.service-price i {
    color: #667eea;
}

.service-actions {
  display: flex;
  gap: 7px;
  flex-wrap: nowrap; /* Ne laisse pas les boutons aller à la ligne */
  overflow-x: auto;
  align-items: center;
}

.btn {
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
}

.btn-primary {
    background: #667eea;
    color: white;
    border: 2px solid #667eea;
}

.btn-primary:hover {
    background: #5a6fd8;
    border-color: #5a6fd8;
    text-decoration: none;
    color: white;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: 2px solid #6c757d;
}

.btn-secondary:hover {
    background: #5a6268;
    border-color: #5a6268;
    text-decoration: none;
    color: white;
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    text-decoration: none;
}

/* CTA Section */
.services-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.services-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.services-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.no-services {
    text-align: center;
    font-size: 1.2rem;
    color: #6c757d;
    padding: 60px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .services-hero h1 {
        font-size: 2rem;
    }

    .services-filters-list {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .services-filters-list .filter {
        white-space: nowrap;
        min-width: fit-content;
    }

    .service-card {
        grid-template-columns: 1fr;
    }

    .service-image {
        width: 100%;
        height: 200px;
        min-height: auto;
    }

    .service-content {
        padding: 20px;
    }

    .service-actions {
        flex-direction: column;
    }

    .services-cta h2 {
        font-size: 2rem;
    }

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

    .calendar-button-float {
        right: 15px;
    }

    .calendar-btn {
        width: 60px;
        height: 60px;
    }

    .calendar-btn i {
        font-size: 16px;
    }

    .calendar-btn span {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .services-hero {
        padding: 60px 0;
    }

    .services-grid {
        padding: 40px 0;
    }

    .service-type-title {
        font-size: 1.5rem;
    }
}
