/* ============================================
   STYLES PAGES CRUISE LINE (SHOW & INDEX)
   ============================================ */

/* Header */
.cruise-line-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.cruise-line-header h1 {
    margin: 0;
}

.cruise-line-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cruise-line-header-content .badge {
    margin-left: 0;
}

.cruise-line-logo-large {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

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

.cruise-line-description {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

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

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

.ships-section h2 {
    margin-bottom: 0.5rem;
}

.ships-count {
    color: #718096;
    margin-bottom: 2rem;
}

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

.ship-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.ship-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.ship-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.ship-info {
    padding: 1.5rem;
}

.ship-info h3 {
    margin: 0 0 1rem 0;
    color: #2d3748;
    font-size: 1.25rem;
}

.ship-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ship-specs span {
    color: #718096;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-to-cruise-lines {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
}

/* Badges for cruise line types */
.badge-luxury {
    background: #f7fafc;
    color: #d4af37;
    border: 1px solid #d4af37;
}

.badge-premium {
    background: #f7fafc;
    color: #667eea;
    border: 1px solid #667eea;
}

.badge-contemporary {
    background: #f7fafc;
    color: #4299e1;
    border: 1px solid #4299e1;
}

.badge-river {
    background: #f7fafc;
    color: #48bb78;
    border: 1px solid #48bb78;
}

.badge-expedition {
    background: #f7fafc;
    color: #ed8936;
    border: 1px solid #ed8936;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    body:has(.cruise-line-header) .user-account-bar {
        top: 144px;
    }

    body:has(.cruise-line-header) .user-account-bar.sticky-scrolled {
        top: 15px;
    }

    body:has(.cruise-line-header) .share-bar {
        top: -9px;
    }

    body:has(.cruise-line-header) .share-bar.sticky-scrolled {
        top: -138px;
    }

    .cruise-line-header {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        margin-top: 80px;
    }

    .cruise-line-header h1 {
        font-size: 2.2rem;
        text-align: center;
        order: -1;
    }

    .cruise-line-header-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
    }

    .cruise-line-header .cruise-line-logo-large,
    .cruise-line-header .cruise-line-icon-large {
        width: 100px;
        height: 100px;
    }

    .cruise-line-header-content .badge {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

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