/* ============================================
   COMPONENTS - Cards, Grids, Hero communs
   Chargé sur toutes les pages via l'entrypoint 'app'
   ============================================ */

/* Hero Section Art Déco */
.hero {
    background: linear-gradient(165deg,
        var(--deep-blue) 0%,
        var(--azur-blue) 50%,
        var(--mint) 100%
    );
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
    overflow: visible;
    border-bottom: 8px solid var(--gold);
    z-index: 100;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.03) 35px, rgba(255,255,255,.03) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(0,0,0,.05) 35px, rgba(0,0,0,.05) 70px);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--cream);
    margin-bottom: var(--spacing-md);
    text-shadow:
        4px 4px 0px var(--deep-red),
        8px 8px 0px rgba(0,0,0,0.2);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(0.8rem, 2vw, 1.5rem);
    color: var(--cream);
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Grids Art Déco */
.destinations-grid,
.activities-grid,
.posts-grid {
    display: grid;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.destinations-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.activities-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.posts-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Cards Art Déco - Destination et Post */
.destination-card,
.post-card {
    background: white;
    border: 4px solid var(--dark-navy);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: var(--shadow-hard);
    display: flex;
    flex-direction: column;
}

.destination-card:hover,
.post-card:hover {
    transform: translate(-6px, -6px);
    box-shadow: var(--shadow-layered);
}

.destination-card::before,
.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--gold), var(--deep-red), var(--azur-blue), var(--gold));
    z-index: 1;
}

.destination-image,
.post-image {
    height: 300px;
    overflow: hidden;
    position: relative;
    border-bottom: 4px solid var(--gold);
}

.destination-image::after,
.post-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.7) 100%);
    pointer-events: none;
}

.destination-image img,
.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.5s ease;
    filter: contrast(1.1) saturate(1.2);
}

.destination-card:hover .destination-image img,
.post-card:hover .post-image img {
    transform: scale(1.1);
}

.destination-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-card .post-content {
    padding: 0.8rem var(--spacing-md) calc(0.8rem - 1rem);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.destination-content h3,
.post-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-navy);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.destination-content p,
.post-card p {
    color: var(--deep-blue);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.post-card .post-content p {
    margin-bottom: calc(var(--spacing-sm) + 1rem);
}

/* Link Arrow - Utilisé dans les cartes */
.link-arrow {
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
    border: 2px solid var(--gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

.link-arrow:hover {
    background-color: var(--gold);
    color: var(--dark-navy);
    transform: translateX(8px);
}

.link-arrow::after {
    content: '→';
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.link-arrow:hover::after {
    transform: translateX(5px);
}

.destination-card .link-arrow,
.post-card .link-arrow {
    margin-top: auto;
    margin-bottom: 0;
    align-self: flex-start;
}

.destination-card .link-arrow:hover,
.post-card .link-arrow:hover {
    transform: none;
}

/* Post Meta */
.post-meta {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.post-category {
    background-color: var(--deep-red);
    color: white;
    padding: 0.4rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    border: 2px solid var(--dark-navy);
    box-shadow: 3px 3px 0px rgba(0,0,0,0.2);
}

.post-date {
    color: var(--deep-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    padding: 0.4rem 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--deep-red) 0%, var(--deep-blue) 100%);
    color: white;
    text-align: center;
    padding: var(--spacing-xl) 0;
    position: relative;
    border-top: 6px solid var(--gold);
    border-bottom: 6px solid var(--gold);
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 50px, rgba(255,255,255,.03) 50px, rgba(255,255,255,.03) 100px);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-content h2 {
    color: white;
    text-shadow: 4px 4px 0px rgba(0,0,0,0.3);
    margin-bottom: var(--spacing-md);
    text-align: center !important;
    width: 100%;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center !important;
    width: 100%;
}

/* Breadcrumb */
.breadcrumb {
    padding: var(--spacing-sm) 0;
    font-size: 0.9rem;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-separator {
    color: var(--gold);
}

.breadcrumb-link {
    color: var(--deep-blue);
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--azur-blue);
}

.breadcrumb-current {
    color: var(--dark-navy);
    font-weight: 600;
}

/* Breadcrumb Mobile */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 1rem 0 0 0;
        font-size: 0.8rem;
        line-height: 1.2;
    }

    .breadcrumb-list {
        gap: 0.15rem 0.25rem;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .breadcrumb-item {
        gap: 0.25rem;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .breadcrumb-link,
    .breadcrumb-current {
        padding: 0;
    }

    .breadcrumb-separator {
        padding: 0 0.1rem;
    }
}

/* Page Navigation */
.page-navigation {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0;
    margin: 2rem 0 0 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.page-navigation-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.page-navigation-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.page-navigation-link {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-decoration: none;
    color: #495057;
    transition: all 0.3s;
}

.page-navigation-link:hover {
    background: var(--azur-blue);
    color: white;
    border-color: var(--azur-blue);
}

/* Navigation par ancres - Réutilisable sur plusieurs pages */
.page-navigation {
    background: white;
    border-top: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
    padding: 1.5rem 0;
    margin-top: 0;
    margin-bottom: 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.page-nav-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.page-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 3px solid var(--dark-navy);
    color: var(--dark-navy);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: var(--font-display);
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.15);
}

.page-nav-link:hover {
    background: var(--gold);
    color: var(--dark-navy);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.2);
}

.page-nav-icon {
    font-size: 1.2rem;
}

.page-nav-label {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .page-navigation {
        padding: 1rem 0;
        position: relative;
    }

    .page-nav-links {
        gap: 0.5rem;
    }

    .page-nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .page-nav-icon {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-nav-link {
        flex: 1;
        justify-content: center;
        min-width: calc(50% - 0.25rem);
    }
}

/* Section footer et boutons larges */
.section-footer {
    text-align: center;
    margin-top: 3rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

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

/* ============================================
   ACTIVITY ITEM COMPONENT
   ============================================ */

.activity-item {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.activity-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

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

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

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

.activity-item p {
    margin: 0 0 1rem 0;
    color: #718096;
    line-height: 1.6;
}

.activity-offerings-count {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #f0fdf4;
    color: #059669;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.75rem;
}

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

.activity-link-arrow {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 24px;
    color: #667eea;
    opacity: 0;
    transition: all 0.3s ease;
}

.activity-item-link:hover .activity-link-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* Activity Item - Verified provider badge */
.activity-item {
    position: relative;
}

.activity-verified-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3);
}

.activity-verified-badge i {
    font-size: 0.8rem;
}

.activity-offerings-count .verified-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    padding: 2px 8px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 10px;
}

.activity-offerings-count .verified-indicator i {
    font-size: 0.65rem;
}

/* ============================================
   COOKIE CONSENT COMPONENT
   ============================================ */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 3px solid var(--azur-blue);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 1.5rem;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-consent-text h3 {
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.cookie-consent-text p {
    color: var(--dark-navy);
    margin: 0;
    line-height: 1.6;
}

.cookie-consent-text a {
    color: var(--azur-blue);
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-modal-header h2 {
    color: var(--dark-navy);
    margin: 0;
    font-size: 1.5rem;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--dark-navy);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 2rem;
    height: 2rem;
}

.cookie-modal-close:hover {
    color: var(--azur-blue);
}

.cookie-modal-body {
    padding: 1.5rem;
}

.cookie-category {
    margin-bottom: 2rem;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-category h3 {
    color: var(--deep-blue);
    font-size: 1.1rem;
    margin: 0;
}

.cookie-category p {
    color: var(--dark-navy);
    line-height: 1.6;
    margin: 0;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-toggle input[type="checkbox"] {
    display: none;
}

.cookie-toggle label {
    position: relative;
    cursor: pointer;
    user-select: none;
}

.cookie-toggle input[type="checkbox"]:disabled + label {
    cursor: not-allowed;
    opacity: 0.6;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
    background: #ccc;
    border-radius: 24px;
    transition: background 0.3s ease;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.cookie-toggle input[type="checkbox"]:checked + label .toggle-switch {
    background: var(--azur-blue);
}

.cookie-toggle input[type="checkbox"]:checked + label .toggle-switch::after {
    transform: translateX(24px);
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Responsive */
@media (max-width: 768px) {
    .destinations-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .activities-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .hero {
        padding: var(--spacing-lg) 0;
    }

    .destination-image,
    .post-image {
        height: 150px;
    }

    .destination-card::before,
    .post-card::before {
        display: none;
    }

    .section-footer {
        margin-top: 0.8rem;
    }

    .section-footer .link-arrow {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }

    .page-navigation {
        padding: 1rem;
    }

    .page-navigation-links {
        gap: 0.5rem;
    }

    .page-navigation-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    /* Cookie consent responsive */
    .cookie-consent-content {
        flex-direction: column;
        gap: 1rem;
    }

    .cookie-consent-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-consent-buttons .btn {
        width: 100%;
    }

    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .cookie-modal-footer {
        flex-direction: column;
    }

    .cookie-modal-footer .btn {
        width: 100%;
    }
}

/* ============================================
   ACTIVITY TYPES SECTION
   ============================================ */

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

.activity-types .activity-item {
    text-align: center;
}

.activity-icon-wrapper {
    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;
    margin: 0 auto 1rem;
}

.activity-icon-wrapper i {
    color: white;
}

/* ============================================
   IMAGE PLACEHOLDER COMPONENT
   ============================================ */

.image-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-placeholder__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: white;
    text-align: center;
    padding: 1rem;
}

.image-placeholder__content i {
    opacity: 0.9;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.image-placeholder__label {
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    max-width: 80%;
    word-wrap: break-word;
}

.image-placeholder__pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.1) 10px,
            rgba(255, 255, 255, 0.1) 20px
        );
    z-index: 1;
}

.image-placeholder:hover .image-placeholder__content i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.image-placeholder:hover .image-placeholder__pattern {
    opacity: 0.15;
    transition: opacity 0.3s ease;
}

.image-placeholder--small {
    min-height: 100px;
}

.image-placeholder--medium {
    min-height: 200px;
}

.image-placeholder--large {
    min-height: 300px;
}

.image-placeholder--hero {
    min-height: 400px;
}

.image-placeholder--ship:hover,
.image-placeholder--port:hover,
.image-placeholder--country:hover,
.image-placeholder--cruise_line:hover {
    filter: brightness(1.05);
}

/* ============================================
   CRUISE IMAGE PATCHWORK
   ============================================ */

.cruise-image-patchwork {
    position: relative;
    width: 100%;
    height: 220px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4px;
    background: #e2e8f0;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.patchwork-main {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.patchwork-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cruise-card:hover .patchwork-main img {
    transform: scale(1.05);
}

.patchwork-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 1rem;
    text-align: center;
}

.patchwork-placeholder i {
    font-size: 3rem;
    opacity: 0.4;
    margin-bottom: 0.5rem;
}

.patchwork-placeholder span {
    font-size: 0.9rem;
    opacity: 0.7;
    font-weight: 500;
}

.patchwork-logo {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: white;
    padding: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    max-width: 80px;
    max-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.cruise-image-patchwork .badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.cruise-image-patchwork .badge-featured {
    background: rgba(239, 68, 68, 0.9);
    color: white;
}

.cruise-image-patchwork .badge-bestseller {
    background: rgba(251, 191, 36, 0.9);
    color: #78350f;
    top: 3rem;
}

.patchwork-grid {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
}

.patchwork-item {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.patchwork-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cruise-card:hover .patchwork-item img {
    transform: scale(1.1);
}

.patchwork-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    padding: 0.5rem 0.4rem 0.3rem 0.4rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cruise-card:hover .patchwork-item-overlay {
    opacity: 1;
}

.port-name {
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.patchwork-placeholder-small {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0.3;
}

.patchwork-placeholder-small i {
    font-size: 2rem;
}

/* ============================================
   SHIP CALENDAR COMPONENT
   ============================================ */

.ship-calendar {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.ship-calendar h2 {
    margin: 0 0 2rem 0;
    color: var(--dark-navy);
    font-size: 2rem;
    text-align: center;
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 2px solid #e2e8f0;
}

.legend-color.low {
    background: #bee3f8;
}

.legend-color.medium {
    background: #4299e1;
}

.legend-color.high {
    background: #2b6cb0;
}

.no-ships {
    text-align: center;
    padding: 2rem;
    color: #718096;
    font-size: 1.1rem;
}

.calendar-container {
    max-width: 100%;
}

.calendar-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #e2e8f0;
}

.calendar-tab {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--dark-navy);
    color: var(--dark-navy);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-display);
    text-transform: capitalize;
    box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.1);
}

.calendar-tab:hover {
    background: #f7fafc;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.15);
}

.calendar-tab.active {
    background: var(--gold);
    color: var(--dark-navy);
    border-color: var(--dark-navy);
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
}

.calendar-month-content {
    display: none;
}

.calendar-month-content.active {
    display: block;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.calendar-day {
    position: relative;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-day:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.calendar-day.low {
    background: linear-gradient(135deg, #bee3f8 0%, #90cdf4 100%);
    border-color: #4299e1;
}

.calendar-day.medium {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    border-color: #2b6cb0;
    color: white;
}

.calendar-day.medium .day-number,
.calendar-day.medium .day-name,
.calendar-day.medium .ship-count {
    color: white;
}

.calendar-day.high {
    background: linear-gradient(135deg, #2b6cb0 0%, #2c5282 100%);
    border-color: #1e4e8c;
    color: white;
}

.calendar-day.high .day-number,
.calendar-day.high .day-name,
.calendar-day.high .ship-count {
    color: white;
}

.calendar-day.today {
    border: 3px solid var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.day-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 0.25rem;
}

.day-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4a5568;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.ship-count {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-navy);
}

.ship-tooltip {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 2px solid var(--dark-navy);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    min-width: 250px;
    max-width: 350px;
    z-index: 1000;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.ship-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--dark-navy);
}

.calendar-day:hover .ship-tooltip {
    display: block;
}

.ship-tooltip strong {
    display: block;
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.ship-tooltip ul {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
}

.ship-tooltip li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    color: #2d3748;
}

.ship-tooltip li:last-child {
    border-bottom: none;
}

.ship-tooltip small {
    color: #718096;
    font-size: 0.85rem;
}

/* Component-specific responsive overrides */
@media (max-width: 768px) {
    .activity-types .activities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .image-placeholder--hero {
        min-height: 300px;
    }

    .image-placeholder__label {
        font-size: 1rem;
    }

    .cruise-image-patchwork {
        height: 180px;
    }

    .patchwork-logo {
        max-width: 60px;
        max-height: 30px;
        padding: 0.35rem;
    }

    .cruise-image-patchwork .badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }

    .ship-calendar {
        padding: 1.5rem;
    }

    .ship-calendar h2 {
        font-size: 1.5rem;
    }

    .calendar-tabs {
        gap: 0.5rem;
    }

    .calendar-tab {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        flex: 1;
        min-width: calc(50% - 0.25rem);
    }

    .calendar-days {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 0.75rem;
    }

    .calendar-day {
        padding: 0.75rem;
    }

    .day-number {
        font-size: 1.5rem;
    }

    .ship-tooltip {
        position: fixed;
        bottom: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 90vw;
    }

    .ship-tooltip::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .image-placeholder--hero {
        min-height: 250px;
    }

    .image-placeholder--large {
        min-height: 250px;
    }

    .calendar-tab {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        min-width: calc(50% - 0.25rem);
    }

    .calendar-days {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 0.5rem;
    }

    .calendar-legend {
        gap: 1rem;
    }

    .legend-item {
        font-size: 0.85rem;
    }

    .legend-color {
        width: 20px;
        height: 20px;
    }
}

/* ============================================
   CUSTOM SELECT - Remplace les selects natifs
   ============================================ */

.search-field select,
.filter-select {
    display: none;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #2d3748;
    cursor: pointer;
    transition: border-color 0.2s ease;
    height: 42px;
    box-sizing: border-box;
}

.custom-select-trigger:focus,
.custom-select-trigger.active {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.custom-select-trigger i {
    color: #667eea;
    transition: transform 0.2s ease;
}

.custom-select-trigger.active i {
    transform: rotate(180deg);
}

.custom-select-trigger .placeholder {
    color: #a0aec0;
}

/* Modal overlay */
.custom-select-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.custom-select-modal.open {
    display: flex;
}

.custom-select-content {
    background: white;
    width: 90%;
    max-width: 400px;
    max-height: 70vh;
    border-radius: 12px;
    overflow: hidden;
    animation: customSelectFadeIn 0.2s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

@keyframes customSelectFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.custom-select-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    background: #f7fafc;
}

.custom-select-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #2d3748;
    text-transform: none;
    letter-spacing: normal;
}

.custom-select-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #718096;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.custom-select-close:hover {
    color: #2d3748;
}

.custom-select-options {
    overflow-y: auto;
    max-height: calc(70vh - 60px);
    padding: 0.5rem 0;
}

.custom-select-option {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    color: #2d3748;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.custom-select-option:last-child {
    border-bottom: none;
}

.custom-select-option:hover,
.custom-select-option:focus {
    background: #f7fafc;
}

.custom-select-option.selected {
    background: #667eea;
    color: white;
}

.custom-select-optgroup {
    padding: 0.75rem 1.25rem 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #667eea;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #f7fafc;
}

/* Custom Select Mobile */
@media (max-width: 768px) {
    .custom-select-modal {
        align-items: flex-end;
    }

    .custom-select-content {
        width: 100%;
        max-width: 100%;
        border-radius: 16px 16px 0 0;
        animation: customSelectSlideUp 0.3s ease;
    }

    @keyframes customSelectSlideUp {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }

    .custom-select-trigger {
        padding: 0.75rem;
        font-size: 1rem;
    }

    .custom-select-option {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
}
