/* ============================================
   PAGES ACTIVITY - Styles spécifiques
   ============================================ */

/* Activity Header */
.activity-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.activity-icon-large {
    font-size: 80px;
    min-width: 100px;
    text-align: center;
}

.activity-header h1 {
    margin: 0 0 1rem 0;
    font-size: 2.5rem;
    color: #2d3748;
}

.activity-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #718096;
}

.activity-location {
    font-weight: 600;
    color: #667eea;
}

.activity-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.badge-category {
    background: #edf2f7;
    color: #667eea;
}

.badge-duration {
    background: #e6fffa;
    color: #319795;
}

.badge-difficulty {
    background: #fff5f5;
    color: #e53e3e;
}

.badge-price {
    background: #fffaf0;
    color: #ed8936;
}

/* Activity Image */
.activity-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

/* Activity Intro */
.activity-intro {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #4a5568;
    margin: 0;
}

/* Activity Content */
.activity-content {
    margin: 3rem 0;
}

.activity-content h2 {
    margin-bottom: 1.5rem;
    color: #2d3748;
}

/* Info Boxes */
.activity-info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.info-box {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-icon {
    font-size: 40px;
}

.info-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: #718096;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-content p {
    margin: 0;
    font-size: 1.1rem;
    color: #2d3748;
    font-weight: 600;
}

/* Activity CTA */
.activity-cta {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
}

/* Related Activities */
.related-activities-section {
    margin: 4rem 0;
    padding-top: 3rem;
    border-top: 2px solid #e2e8f0;
}

.related-activities-section h2 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: #2d3748;
}

.related-activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.related-activity-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.related-activity-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-3px);
}

.related-activity-icon {
    font-size: 48px;
    margin-bottom: 1rem;
}

.related-activity-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: #2d3748;
    font-weight: 600;
}

.related-activity-category {
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0.5rem 0;
}

.related-activity-offerings {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0.5rem 0;
    padding: 0.4rem 0.8rem;
    background: #edf2f7;
    border-radius: 6px;
    width: fit-content;
}

.related-activity-offerings i {
    font-size: 1rem;
}

.related-activity-price {
    color: #ed8936;
    font-weight: 600;
    margin: 0.5rem 0 0 0;
}

/* Service Offerings */
.service-offerings-section {
    margin: 4rem 0;
    padding: 3rem 0;
    border-top: 2px solid #e2e8f0;
}

.service-offerings-section h2 {
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.offerings-grid {
    display: grid;
    gap: 1.5rem;
}

.offering-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: start;
}

.offering-card.has-logo {
    grid-template-columns: 80px 1fr auto;
}

.offering-card:hover {
    border-color: #667eea;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.12);
}

/* Logo column */
.offering-logo {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    flex-shrink: 0;
}

.offering-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
}

/* Main content column */
.offering-main {
    flex: 1;
    min-width: 0;
}

.offering-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    color: #2d3748;
    font-weight: 700;
}

.offering-provider {
    margin: 0 0 0.75rem 0;
    color: #667eea;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.offering-provider i {
    font-size: 0.9rem;
}

.offering-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #718096;
    background: #f7fafc;
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
}

.meta-item i {
    color: #667eea;
    font-size: 0.85rem;
}

/* Sidebar column */
.offering-sidebar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    min-width: 180px;
}

.offering-sidebar .offering-price {
    text-align: center;
    background: #f7fafc;
    padding: 1rem;
    border-radius: 10px;
}

.offering-sidebar .offering-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.offering-sidebar .offering-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Legacy styles for backwards compatibility */
.offering-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.provider-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
    color: #2d3748;
    font-weight: 700;
}

.offering-quick-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.quick-info-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #718096;
}

.quick-info-item i {
    color: #667eea;
    font-size: 1rem;
}

.provider-name {
    margin: 0.5rem 0;
    color: #718096;
    font-size: 0.95rem;
}

.verified-badge {
    color: #48bb78;
    margin-right: 0.3rem;
}

.provider-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-weight: 600;
    color: #2d3748;
}

.review-count {
    color: #718096;
    font-weight: 400;
    font-size: 0.9rem;
}

.offering-price {
    text-align: right;
    min-width: 140px;
}

.offering-price .price-amount {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    line-height: 1;
}

.price-free {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #48bb78;
    line-height: 1;
}

.price-unit {
    display: block;
    font-size: 0.85rem;
    color: #718096;
    margin-top: 0.25rem;
}

.offering-description {
    margin-bottom: 1.5rem;
    color: #4a5568;
    line-height: 1.7;
}

.offering-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f7fafc;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #4a5568;
}

.detail-item i {
    color: #667eea;
}

.featured-badge {
    background: #fff5f5;
    color: #e53e3e;
    font-weight: 600;
}

.featured-badge i {
    color: #e53e3e;
}

.included-services {
    background: #f0fff4;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.included-services strong {
    color: #2f855a;
    display: block;
    margin-bottom: 0.5rem;
}

.included-services ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.included-services li {
    padding: 0.25rem 0;
    color: #2d3748;
}

.included-services li i {
    color: #48bb78;
    margin-right: 0.5rem;
}

.cancellation-policy {
    background: #eff6ff;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #1e40af;
    margin-bottom: 1.5rem;
}

.cancellation-policy i {
    margin-right: 0.5rem;
}

.offering-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.offering-actions .btn {
    background: white;
    color: #667eea;
    border: 0.5px solid rgba(102, 126, 234, 0.4);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.15);
}

.offering-actions .btn:hover {
    background: #667eea;
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-outline {
    background-color: var(--cream);
    color: var(--dark-navy);
    border: 3px solid var(--dark-navy);
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 4px 4px 0px var(--dark-navy);
}

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--dark-navy);
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0px var(--dark-navy);
}

.provider-contact {
    display: flex;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #718096;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.contact-link:hover {
    color: #667eea;
}

.contact-link i {
    font-size: 1rem;
}

/* Modal Styles */
.provider-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.provider-modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f7fafc;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #718096;
    transition: all 0.2s;
    z-index: 1;
}

.modal-close:hover {
    background: #e2e8f0;
    color: #2d3748;
    transform: rotate(90deg);
}

.modal-header {
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 2px solid #e2e8f0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #2d3748;
}

.modal-body {
    padding: 2rem;
}

.modal-notice {
    background: #eff6ff;
    border-left: 4px solid #667eea;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.modal-notice i {
    color: #667eea;
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.modal-notice p {
    margin: 0;
    color: #1e40af;
    line-height: 1.6;
}

.provider-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.provider-name-section h4 {
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.provider-contact-section h5 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-details .contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
    text-decoration: none;
    color: #2d3748;
    font-weight: 500;
    transition: all 0.2s;
}

.contact-details .contact-link:hover {
    background: #edf2f7;
    color: #667eea;
}

.contact-details .contact-link i {
    color: #667eea;
    font-size: 1.2rem;
}

.provider-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Review Modal */
.review-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.review-modal.active {
    display: block;
}

.review-modal-content {
    max-width: 700px;
}

.review-subtitle {
    color: #718096;
    font-size: 1rem;
    margin: 0.5rem 0 0 0;
}

.review-notice {
    background: #fffbeb;
    border-left-color: #f59e0b;
}

.review-notice i {
    color: #f59e0b;
}

.review-notice p {
    color: #92400e;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2d3748;
}

.form-group label.required::after {
    content: ' *';
    color: #e53e3e;
}

.form-group input[type="text"],
.form-group input[type="month"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

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

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: #718096;
    font-size: 0.85rem;
}

/* Autocomplete */
.autocomplete-suggestions {
    position: absolute;
    background: white;
    border: 2px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    width: 100%;
    left: 0;
    top: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
}

.autocomplete-suggestions.show {
    display: block;
}

.autocomplete-suggestion {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.autocomplete-suggestion:hover {
    background: #f7fafc;
}

.autocomplete-suggestion.active {
    background: #667eea;
    color: white;
}

.autocomplete-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #e2e8f0;
}

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

.autocomplete-item:hover,
.autocomplete-item.active {
    background: #667eea;
    color: white;
}

.autocomplete-no-results {
    padding: 0.75rem 1rem;
    color: #718096;
    font-style: italic;
}

/* Ratings Section */
.ratings-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 12px;
}

.ratings-section h4 {
    margin: 0 0 0.5rem 0;
    color: #2d3748;
}

.ratings-help {
    color: #718096;
    font-size: 0.9rem;
    margin: 0 0 1.5rem 0;
}

.rating-group {
    margin-bottom: 1.25rem;
}

.rating-group:last-child {
    margin-bottom: 0;
}

.rating-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #4a5568;
    font-size: 0.95rem;
}

.star-rating {
    display: flex;
    gap: 0.5rem;
}

.star {
    font-size: 2rem;
    cursor: pointer;
    color: #cbd5e0;
    transition: all 0.2s;
    user-select: none;
}

.star:hover,
.star.hover {
    color: #fbbf24;
    transform: scale(1.1);
}

.star.selected {
    color: #f59e0b;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e2e8f0;
}

/* Messages */
.error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.success-message {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Tooltip */
.info-badge {
    display: inline-block;
    position: relative;
    cursor: help;
    margin-left: 0.3rem;
    color: #667eea;
    transition: color 0.2s;
}

.info-badge:hover {
    color: #5568d3;
}

.info-badge i {
    font-size: 0.9rem;
}

.tooltip {
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);
    background: #2d3748;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.4;
    white-space: normal;
    width: 250px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #2d3748;
}

.info-badge:hover .tooltip {
    opacity: 1;
}

/* ============================================
   ACTIVITY CATEGORY PAGE (show.html.twig)
   ============================================ */

/* Breadcrumb Top */
.breadcrumb-container-top {
    padding-top: 0.5rem;
}

.breadcrumb-container-top .breadcrumb {
    margin-bottom: 1rem;
    padding: 0;
}

/* Activity Hero */
.activity-hero {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 3rem;
    margin-top: 60px;
}

/* Desktop - position user et share pour activity category page */
body:has(.blog-page):has(.activity-hero) .user-account-bar {
    top: 175px;
}

body:has(.blog-page):has(.activity-hero) .user-account-bar.sticky-scrolled {
    top: 20px;
}

body:has(.blog-page):has(.activity-hero) .share-bar {
    top: 10px;
}

body:has(.blog-page):has(.activity-hero) .share-bar.sticky-scrolled {
    top: -145px;
}

.activity-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 3rem 0;
}

/* Activity category activities page (with listing) - desktop only */
@media (min-width: 769px) {
    body:has(.activity-hero):has(.activities-listing-section) .activity-hero-overlay {
        margin-top: 40px;
    }

    body:has(.activity-hero):has(.activities-listing-section) .user-account-bar {
        top: 180px;
    }

    body:has(.activity-hero):has(.activities-listing-section) .user-account-bar.sticky-scrolled {
        top: 20px;
    }

    body:has(.activity-hero):has(.activities-listing-section) .share-bar {
        top: 17px;
    }

    body:has(.activity-hero):has(.activities-listing-section) .share-bar.sticky-scrolled {
        top: -145px;
    }
}

.activity-hero-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.activity-hero-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #667eea;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.activity-hero-title h1 {
    margin: 0;
    font-size: 3rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.activity-hero-title .category-path {
    margin: 0.5rem 0 0 0;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.activity-hero-title .category-path a {
    color: white;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.activity-hero-title .category-path a:hover {
    text-decoration: underline;
}

/* Activity Detail Header (no hero) */
.activity-detail-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.activity-detail-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    flex-shrink: 0;
}

.activity-detail-title h1 {
    margin: 0;
    font-size: 2.5rem;
    color: #2d3748;
}

.category-path {
    margin: 0.5rem 0 0 0;
    color: #718096;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-path a {
    color: #667eea;
    text-decoration: none;
}

.category-path a:hover {
    text-decoration: underline;
}

/* Activity Description */
.activity-description {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.activity-description .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #4a5568;
    margin: 0;
}

/* Subcategories Section */
.subcategories-section {
    margin-bottom: 3rem;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 3rem calc(50vw - 50%);
    background: white;
}

.subcategories-section h2 {
    margin-bottom: 1.5rem;
    color: #2d3748;
}

.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.subcategory-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.subcategory-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.subcategory-card h3 {
    margin: 0 0 0.75rem 0;
    color: #2d3748;
    font-size: 1.25rem;
}

.subcategory-card p {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.subcategory-meta {
    margin: 0.75rem 0 1rem 0;
}

.subcategory-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: #4a5568;
}

.subcategory-stats .stat-item strong {
    color: #2d3748;
    font-weight: 600;
}

.subcategory-stats .stat-separator {
    color: #a0aec0;
    font-weight: 400;
}

.subcategory-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

.activities-count-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f0f4ff;
    color: #667eea;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.activities-count-link:hover {
    background: #667eea;
    color: white;
}

.activities-count-link i {
    font-size: 1rem;
}

/* Related Section */
.related-section {
    margin-bottom: 3rem;
    padding-top: 3rem;
    border-top: 2px solid #e2e8f0;
}

.related-section h2 {
    margin-bottom: 1.5rem;
    color: #2d3748;
}

.related-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
}

.related-card h4 {
    margin: 0 0 0.5rem 0;
    color: #2d3748;
}

.related-card p {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Back to Activities */
.back-to-activities {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
}

/* ============================================
   ACTIVITY INDEX PAGE (index.html.twig)
   ============================================ */

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

/* Responsive */
@media (max-width: 768px) {
    .activity-icon-large {
        margin-bottom: -10px;
    }

    .activity-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 60px;
    }

    .activity-header h1 {
        font-size: 2rem;
        margin-top: -15px;
    }

    .activity-meta {
        justify-content: center;
    }

    .activity-badges {
        justify-content: center;
    }

    .activity-info-boxes {
        grid-template-columns: 1fr;
    }

    .related-activities-grid {
        grid-template-columns: 1fr;
    }

    .activity-intro {
        padding: 1rem;
        margin: 1rem 0;
    }

    .activity-content {
        margin: 1.5rem 0;
    }

    .activity-info-boxes {
        margin: 1.5rem 0;
    }

    .service-offerings-section {
        margin: 2rem 0;
        padding: 1.5rem 0;
    }

    .service-offerings-section h2 {
        font-size: 1.7rem;
        text-align: center;
    }

    .service-offerings-section .section-intro {
        text-align: center;
    }

    .related-activities-section {
        margin: 2rem 0;
        padding-top: 1.5rem;
    }

    .ratings-section {
        margin: 1.5rem 0;
        padding: 1rem;
    }

    .offering-card {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .offering-card.has-logo {
        grid-template-columns: 1fr;
    }

    .offering-logo {
        width: 60px;
        height: 60px;
    }

    .offering-sidebar {
        min-width: auto;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 1rem;
    }

    .offering-sidebar .offering-price {
        flex: 1;
        min-width: 120px;
    }

    .offering-sidebar .offering-actions {
        flex: 1;
        min-width: 200px;
    }

    .offering-header {
        flex-direction: column;
        gap: 1rem;
    }

    .offering-price {
        text-align: left;
    }

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

    .provider-contact {
        flex-direction: column;
        gap: 0.75rem;
    }

    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .modal-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-notice {
        flex-direction: column;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .form-actions .btn {
        width: 100%;
    }

    .tooltip {
        width: 200px;
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
    }

    /* Activity Category Page Responsive */
    .activity-hero-overlay {
        margin-top: 32px;
    }

    .activity-hero {
        height: 300px;
    }

    .activity-hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .activity-hero-title h1 {
        font-size: 2rem;
    }

    .activity-detail-header {
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.75rem !important;
    }

    .activity-detail-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 24px !important;
        border-radius: 10px !important;
    }

    .activity-detail-title h1 {
        font-size: 1.3rem !important;
    }

    .subcategories-grid,
    .related-cards {
        grid-template-columns: 1fr;
    }

    /* Activity Index Page Responsive */
    .activities-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Activity Index Page - titre et barres */
    .activity-index-page h1 {
        padding-top: 20px;
    }

    body:has(.activity-index-page) .user-account-bar {
        top: 148px;
    }

    body:has(.activity-index-page) .share-bar {
        top: -7px;
    }

    body:has(.activity-index-page) .share-bar.sticky-scrolled {
        top: -136px;
    }

    /* Activity page - user and share bars */
    body:has(.activity-hero) .user-account-bar {
        top: 140px !important;
    }

    body:has(.activity-hero) .user-account-bar.sticky-scrolled {
        top: 8px !important;
    }

    body:has(.activity-hero) .share-bar {
        top: -14px !important;
    }

    body:has(.activity-hero) .share-bar.sticky-scrolled {
        top: -145px !important;
    }

    .activity-hero {
        margin-top: 30px;
    }

    /* Activity detail page (destination-page without port-show-page) */
    body:has(.destination-page):not(:has(.port-show-page)):not(:has(.country-page)) .user-account-bar {
        top: 148px !important;
    }

    body:has(.destination-page):not(:has(.port-show-page)):not(:has(.country-page)) .user-account-bar.sticky-scrolled {
        top: 8px !important;
    }

    body:has(.destination-page):not(:has(.port-show-page)):not(:has(.country-page)) .share-bar {
        top: -9px !important;
    }

    body:has(.destination-page):not(:has(.port-show-page)):not(:has(.country-page)) .share-bar.sticky-scrolled {
        top: -145px !important;
    }

    /* Activity CTA button */
    .activity-cta {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .activity-cta .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        font-size: 0.9rem;
    }
}